Class Layer
java.lang.Object
com.trimblemaps.mapsdk.style.layers.Layer
- Direct Known Subclasses:
BackgroundLayer,CircleLayer,CustomLayer,FillExtrusionLayer,FillLayer,HeatmapLayer,HillshadeLayer,LineLayer,RasterLayer,SymbolLayer
Base class for the different Layer types
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidValidates if layer interaction is happening on the UI threadprotected voidfinalize()getId()floatfloatlongbooleanprotected com.google.gson.JsonElementprotected Stringprotected floatprotected floatprotected Stringprotected Stringprotected Objectprotected voidnativeSetFilter(Object[] filter) protected voidnativeSetLayoutProperty(String name, Object value) protected voidnativeSetMaxZoom(float zoom) protected voidnativeSetMinZoom(float zoom) protected voidnativeSetPaintProperty(String name, Object value) protected voidnativeSetSourceLayer(String sourceLayer) voidvoidsetMaxZoom(float zoom) voidsetMinZoom(float zoom) voidsetProperties(PropertyValue<?>... properties)
-
Constructor Details
-
Layer
protected Layer(long nativePtr) -
Layer
public Layer()
-
-
Method Details
-
checkThread
protected void checkThread()Validates if layer interaction is happening on the UI thread -
setProperties
-
getId
-
getVisibility
-
getMinZoom
public float getMinZoom() -
getMaxZoom
public float getMaxZoom() -
setMinZoom
public void setMinZoom(float zoom) -
setMaxZoom
public void setMaxZoom(float zoom) -
finalize
-
nativeGetId
-
nativeGetVisibility
-
nativeSetLayoutProperty
-
nativeSetPaintProperty
-
nativeSetFilter
-
nativeGetFilter
@Nullable protected com.google.gson.JsonElement nativeGetFilter() -
nativeSetSourceLayer
-
nativeGetSourceLayer
-
nativeGetSourceId
-
nativeGetMinZoom
protected float nativeGetMinZoom() -
nativeGetMaxZoom
protected float nativeGetMaxZoom() -
nativeSetMinZoom
protected void nativeSetMinZoom(float zoom) -
nativeSetMaxZoom
protected void nativeSetMaxZoom(float zoom) -
getNativePtr
public long getNativePtr() -
setDetached
public void setDetached() -
isDetached
public boolean isDetached()
-