BackgroundLayer
, CircleLayer
, CustomLayer
, FillExtrusionLayer
, FillLayer
, HeatmapLayer
, HillshadeLayer
, LineLayer
, RasterLayer
, SymbolLayer
public abstract class Layer
extends java.lang.Object
Modifier | Constructor | Description |
---|---|---|
|
Layer() |
|
protected |
Layer(long nativePtr) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
checkThread() |
Validates if layer interaction is happening on the UI thread
|
protected void |
finalize() |
|
java.lang.String |
getId() |
|
float |
getMaxZoom() |
|
float |
getMinZoom() |
|
long |
getNativePtr() |
|
PropertyValue<java.lang.String> |
getVisibility() |
|
boolean |
isDetached() |
|
protected com.google.gson.JsonElement |
nativeGetFilter() |
|
protected java.lang.String |
nativeGetId() |
|
protected float |
nativeGetMaxZoom() |
|
protected float |
nativeGetMinZoom() |
|
protected java.lang.String |
nativeGetSourceId() |
|
protected java.lang.String |
nativeGetSourceLayer() |
|
protected java.lang.Object |
nativeGetVisibility() |
|
protected void |
nativeSetFilter(java.lang.Object[] filter) |
|
protected void |
nativeSetLayoutProperty(java.lang.String name,
java.lang.Object value) |
|
protected void |
nativeSetMaxZoom(float zoom) |
|
protected void |
nativeSetMinZoom(float zoom) |
|
protected void |
nativeSetPaintProperty(java.lang.String name,
java.lang.Object value) |
|
protected void |
nativeSetSourceLayer(java.lang.String sourceLayer) |
|
void |
setDetached() |
|
void |
setMaxZoom(float zoom) |
|
void |
setMinZoom(float zoom) |
|
void |
setProperties(PropertyValue<?>... properties) |
protected void checkThread()
public void setProperties(@NonNull PropertyValue<?>... properties)
@NonNull public java.lang.String getId()
@NonNull public PropertyValue<java.lang.String> getVisibility()
public float getMinZoom()
public float getMaxZoom()
public void setMinZoom(float zoom)
public void setMaxZoom(float zoom)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
@NonNull protected java.lang.String nativeGetId()
@NonNull protected java.lang.Object nativeGetVisibility()
protected void nativeSetLayoutProperty(java.lang.String name, java.lang.Object value)
protected void nativeSetPaintProperty(java.lang.String name, java.lang.Object value)
protected void nativeSetFilter(java.lang.Object[] filter)
@Nullable protected com.google.gson.JsonElement nativeGetFilter()
protected void nativeSetSourceLayer(java.lang.String sourceLayer)
@NonNull protected java.lang.String nativeGetSourceLayer()
@NonNull protected java.lang.String nativeGetSourceId()
protected float nativeGetMinZoom()
protected float nativeGetMaxZoom()
protected void nativeSetMinZoom(float zoom)
protected void nativeSetMaxZoom(float zoom)
public long getNativePtr()
public void setDetached()
public boolean isDetached()