Package com.pointrlabs.core.map.models
Class PTRMapLayer
-
- All Implemented Interfaces:
public abstract class PTRMapLayer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
PTRMapLayer.Companion
-
Field Summary
Fields Modifier and Type Field Description private Float
minZoom
private Float
maxZoom
private Boolean
isVisible
private final String
internalIdentifier
private final String
identifier
public final static PTRMapLayer.Companion
Companion
-
Constructor Summary
Constructors Constructor Description PTRMapLayer(String identifier)
-
Method Summary
Modifier and Type Method Description Float
getMinZoom()
Unit
setMinZoom(Float minZoom)
Float
getMaxZoom()
Unit
setMaxZoom(Float maxZoom)
final Boolean
isVisible()
param indicates is layer is visible or not final Unit
setVisible(Boolean isVisible)
param indicates is layer is visible or not final String
getInternalIdentifier()
to get mapbox layer from the style<p>must be called once while adding the layer</p> String
getIdentifier()
-
-
Constructor Detail
-
PTRMapLayer
PTRMapLayer(String identifier)
-
-
Method Detail
-
getMinZoom
Float getMinZoom()
-
setMinZoom
Unit setMinZoom(Float minZoom)
-
getMaxZoom
Float getMaxZoom()
-
setMaxZoom
Unit setMaxZoom(Float maxZoom)
-
setVisible
final Unit setVisible(Boolean isVisible)
param indicates is layer is visible or not
-
getInternalIdentifier
final String getInternalIdentifier()
to get mapbox layer from the style
<p>must be called once while adding the layer</p>
-
getIdentifier
String getIdentifier()
-
-
-
-