public abstract class Layer extends Object
Modifier | Constructor and Description |
---|---|
|
Layer() |
protected |
Layer(long nativePtr) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkThread()
Validates if layer interaction is happening on the UI thread
|
protected void |
finalize() |
String |
getId() |
float |
getMaxZoom() |
float |
getMinZoom() |
long |
getNativePtr() |
PropertyValue<String> |
getVisibility() |
boolean |
isDetached() |
protected JsonElement |
nativeGetFilter() |
protected String |
nativeGetId() |
protected float |
nativeGetMaxZoom() |
protected float |
nativeGetMinZoom() |
protected String |
nativeGetSourceId() |
protected String |
nativeGetSourceLayer() |
protected Object |
nativeGetVisibility() |
protected void |
nativeSetFilter(Object[] filter) |
protected void |
nativeSetLayoutProperty(String name,
Object value) |
protected void |
nativeSetMaxZoom(float zoom) |
protected void |
nativeSetMinZoom(float zoom) |
protected void |
nativeSetPaintProperty(String name,
Object value) |
protected void |
nativeSetSourceLayer(String sourceLayer) |
void |
setDetached() |
void |
setMaxZoom(float zoom) |
void |
setMinZoom(float zoom) |
void |
setProperties(PropertyValue<?>... properties) |
protected void checkThread()
public void setProperties(PropertyValue<?>... properties)
public String getId()
public PropertyValue<String> getVisibility()
public float getMinZoom()
public float getMaxZoom()
public void setMinZoom(float zoom)
public void setMaxZoom(float zoom)
protected void finalize() throws Throwable
protected String nativeGetId()
protected Object nativeGetVisibility()
protected void nativeSetFilter(Object[] filter)
protected JsonElement nativeGetFilter()
protected void nativeSetSourceLayer(String sourceLayer)
protected String nativeGetSourceLayer()
protected 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()
© 2015–2018 Mapbox. All rights reserved.