@UiThread public class RasterLayer extends Layer
Constructor and Description |
---|
RasterLayer(long nativePtr)
Creates a RasterLayer.
|
RasterLayer(String layerId,
String sourceId)
Creates a RasterLayer.
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
PropertyValue<Float> |
getRasterBrightnessMax()
Get the RasterBrightnessMax property
|
PropertyValue<Float> |
getRasterBrightnessMin()
Get the RasterBrightnessMin property
|
PropertyValue<Float> |
getRasterContrast()
Get the RasterContrast property
|
PropertyValue<Float> |
getRasterFadeDuration()
Get the RasterFadeDuration property
|
PropertyValue<Float> |
getRasterHueRotate()
Get the RasterHueRotate property
|
PropertyValue<Float> |
getRasterOpacity()
Get the RasterOpacity property
|
PropertyValue<Float> |
getRasterSaturation()
Get the RasterSaturation property
|
protected void |
initialize(String layerId,
String sourceId) |
void |
setSourceLayer(String sourceLayer)
Set the source layer.
|
RasterLayer |
withProperties(PropertyValue<?>... properties)
Set a property or properties.
|
RasterLayer |
withSourceLayer(String sourceLayer)
Set the source Layer.
|
getId, getMaxZoom, getMinZoom, getNativePtr, getVisibility, nativeGetId, nativeGetMaxZoom, nativeGetMinZoom, nativeGetVisibility, nativeSetFilter, nativeSetLayoutProperty, nativeSetMaxZoom, nativeSetMinZoom, nativeSetPaintProperty, nativeSetSourceLayer, setMaxZoom, setMinZoom, setProperties
public RasterLayer(long nativePtr)
nativePtr
- pointer used by corepublic void setSourceLayer(String sourceLayer)
sourceLayer
- the source layer to setpublic RasterLayer withSourceLayer(String sourceLayer)
sourceLayer
- the source layer to setpublic RasterLayer withProperties(@NonNull PropertyValue<?>... properties)
properties
- the var-args propertiespublic PropertyValue<Float> getRasterOpacity()
public PropertyValue<Float> getRasterHueRotate()
public PropertyValue<Float> getRasterBrightnessMin()
public PropertyValue<Float> getRasterBrightnessMax()
public PropertyValue<Float> getRasterSaturation()
public PropertyValue<Float> getRasterContrast()
public PropertyValue<Float> getRasterFadeDuration()
© 2015–2017 Mapbox. All rights reserved.