@Beta(year=2019,
month=12)
public interface Layer
extends com.tomtom.online.sdk.common.jni.JniNativeHandleOwner
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Returns the ID (a human-readable name) of the layer.
|
float |
getMaxZoom()
Returns the largest zoom value that the layer is visible at.
|
float |
getMinZoom()
Returns the smallest zoom value that the layer is visible at.
|
java.lang.String |
getSourceId()
Returns the ID (a human-readable name) of the source of data for this layer.
|
java.lang.String |
getSourceLayer()
Returns the ID of the source layer of this layer.
|
Visibility |
getVisibility()
Returns the visibility of this layer.
|
void |
resetFilter()
Reset expression used for properties filtering.
|
void |
setFilter(com.tomtom.online.sdk.map.style.expression.Expression expression)
Sets expression used for properties filtering.
|
void |
setMaxZoom(float maxZoom)
Sets the largest zoom value that the layer is visible at.
|
void |
setMinZoom(float minZoom)
Sets the smallest zoom value that the layer is visible at.
|
void |
setSourceLayer(java.lang.String sourceLayer)
Sets the source layer for this layer.
|
void |
setVisibility(Visibility visibility)
Sets the visibility of this layer.
|
@Beta(year=2019,
month=12)
@NonNull
java.lang.String getId()
@Beta(year=2019,
month=12)
@NonNull
java.lang.String getSourceId()
@Beta(year=2019,
month=12)
@NonNull
java.lang.String getSourceLayer()
@Beta(year=2019,
month=12)
void setSourceLayer(@NonNull
java.lang.String sourceLayer)
@Beta(year=2019,
month=12)
@NonNull
Visibility getVisibility()
@Beta(year=2019,
month=12)
void setVisibility(@NonNull
Visibility visibility)
@Beta(year=2019,
month=12)
float getMinZoom()
@Beta(year=2019,
month=12)
float getMaxZoom()
@Beta(year=2019,
month=12)
void setMinZoom(float minZoom)
@Beta(year=2019,
month=12)
void setMaxZoom(float maxZoom)
@Beta(year=2019,
month=12)
void setFilter(@NonNull
com.tomtom.online.sdk.map.style.expression.Expression expression)
expression - Expression with filter definition.@Beta(year=2019,
month=12)
void resetFilter()