Class RasterLayer
java.lang.Object
com.trimblemaps.mapsdk.style.layers.Layer
com.trimblemaps.mapsdk.style.layers.RasterLayer
Raster map textures such as satellite imagery.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinalize()Get the RasterBrightnessMax propertyGet the RasterBrightnessMax property transition optionsGet the RasterBrightnessMin propertyGet the RasterBrightnessMin property transition optionsGet the RasterContrast propertyGet the RasterContrast property transition optionsGet the RasterFadeDuration propertyGet the RasterHueRotate propertyGet the RasterHueRotate property transition optionsGet the RasterOpacity propertyGet the RasterOpacity property transition optionsGet the RasterResampling propertyGet the RasterSaturation propertyGet the RasterSaturation property transition optionsGet the source id.protected voidinitialize(String layerId, String sourceId) voidSet the RasterBrightnessMax property transition optionsvoidSet the RasterBrightnessMin property transition optionsvoidSet the RasterContrast property transition optionsvoidSet the RasterHueRotate property transition optionsvoidSet the RasterOpacity property transition optionsvoidSet the RasterSaturation property transition optionsvoidsetSourceLayer(String sourceLayer) Set the source layer.withProperties(PropertyValue<?>... properties) Set a property or properties.withSourceLayer(String sourceLayer) Set the source Layer.Methods inherited from class com.trimblemaps.mapsdk.style.layers.Layer
checkThread, getId, getMaxZoom, getMinZoom, getNativePtr, getVisibility, isDetached, nativeGetFilter, nativeGetId, nativeGetMaxZoom, nativeGetMinZoom, nativeGetSourceId, nativeGetSourceLayer, nativeGetVisibility, nativeSetFilter, nativeSetLayoutProperty, nativeSetMaxZoom, nativeSetMinZoom, nativeSetPaintProperty, nativeSetSourceLayer, setDetached, setMaxZoom, setMinZoom, setProperties
-
Constructor Details
-
RasterLayer
Creates a RasterLayer.- Parameters:
layerId- the id of the layersourceId- the id of the source
-
-
Method Details
-
initialize
-
setSourceLayer
Set the source layer.- Parameters:
sourceLayer- the source layer to set
-
withSourceLayer
Set the source Layer.- Parameters:
sourceLayer- the source layer to set- Returns:
- This
-
getSourceId
Get the source id.- Returns:
- id of the source
-
withProperties
Set a property or properties.- Parameters:
properties- the var-args properties- Returns:
- This
-
getRasterOpacity
Get the RasterOpacity property- Returns:
- property wrapper value around Float
-
getRasterOpacityTransition
Get the RasterOpacity property transition options- Returns:
- transition options for Float
-
setRasterOpacityTransition
Set the RasterOpacity property transition options- Parameters:
options- transition options for Float
-
getRasterHueRotate
Get the RasterHueRotate property- Returns:
- property wrapper value around Float
-
getRasterHueRotateTransition
Get the RasterHueRotate property transition options- Returns:
- transition options for Float
-
setRasterHueRotateTransition
Set the RasterHueRotate property transition options- Parameters:
options- transition options for Float
-
getRasterBrightnessMin
Get the RasterBrightnessMin property- Returns:
- property wrapper value around Float
-
getRasterBrightnessMinTransition
Get the RasterBrightnessMin property transition options- Returns:
- transition options for Float
-
setRasterBrightnessMinTransition
Set the RasterBrightnessMin property transition options- Parameters:
options- transition options for Float
-
getRasterBrightnessMax
Get the RasterBrightnessMax property- Returns:
- property wrapper value around Float
-
getRasterBrightnessMaxTransition
Get the RasterBrightnessMax property transition options- Returns:
- transition options for Float
-
setRasterBrightnessMaxTransition
Set the RasterBrightnessMax property transition options- Parameters:
options- transition options for Float
-
getRasterSaturation
Get the RasterSaturation property- Returns:
- property wrapper value around Float
-
getRasterSaturationTransition
Get the RasterSaturation property transition options- Returns:
- transition options for Float
-
setRasterSaturationTransition
Set the RasterSaturation property transition options- Parameters:
options- transition options for Float
-
getRasterContrast
Get the RasterContrast property- Returns:
- property wrapper value around Float
-
getRasterContrastTransition
Get the RasterContrast property transition options- Returns:
- transition options for Float
-
setRasterContrastTransition
Set the RasterContrast property transition options- Parameters:
options- transition options for Float
-
getRasterResampling
Get the RasterResampling property- Returns:
- property wrapper value around String
-
getRasterFadeDuration
Get the RasterFadeDuration property- Returns:
- property wrapper value around Float
-
finalize
-