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