Show / Hide Table of Contents

Interface ILayer

Namespace:Mapbox.Unity.Map
Assembly:cs.temp.dll.dll
Syntax
public interface ILayer

Properties

IsLayerActive

Boolean for setting the feature layer active or inactive.

Declaration
bool IsLayerActive { get; }
Property Value
Type Description
System.Boolean

LayerSourceId

Gets the source ID for the feature layer.

Declaration
string LayerSourceId { get; }
Property Value
Type Description
System.String

LayerType

Gets the type of feature from the FEATURES section.

Declaration
MapLayerType LayerType { get; }
Property Value
Type Description
MapLayerType

Methods

Initialize()

Declaration
void Initialize()

Initialize(LayerProperties)

Declaration
void Initialize(LayerProperties properties)
Parameters
Type Name Description
LayerProperties properties

Remove()

Declaration
void Remove()

SetLayerSource(String)

Gets the Data Source for the MAP LAYERS section.

Declaration
void SetLayerSource(string source)
Parameters
Type Name Description
System.String source

Update(LayerProperties)

Declaration
void Update(LayerProperties properties)
Parameters
Type Name Description
LayerProperties properties
Back to top © 2017 Mapbox