@UiThread public class FillExtrusionLayer extends Layer
Constructor | Description |
---|---|
FillExtrusionLayer(java.lang.String layerId,
java.lang.String sourceId) |
Creates a FillExtrusionLayer.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
finalize() |
|
PropertyValue<java.lang.Float> |
getFillExtrusionBase() |
Get the FillExtrusionBase property
|
TransitionOptions |
getFillExtrusionBaseTransition() |
Get the FillExtrusionBase property transition options
|
PropertyValue<java.lang.String> |
getFillExtrusionColor() |
Get the FillExtrusionColor property
|
int |
getFillExtrusionColorAsInt() |
The base color of the extruded fill.
|
TransitionOptions |
getFillExtrusionColorTransition() |
Get the FillExtrusionColor property transition options
|
PropertyValue<java.lang.Float> |
getFillExtrusionHeight() |
Get the FillExtrusionHeight property
|
TransitionOptions |
getFillExtrusionHeightTransition() |
Get the FillExtrusionHeight property transition options
|
PropertyValue<java.lang.Float> |
getFillExtrusionOpacity() |
Get the FillExtrusionOpacity property
|
TransitionOptions |
getFillExtrusionOpacityTransition() |
Get the FillExtrusionOpacity property transition options
|
PropertyValue<java.lang.String> |
getFillExtrusionPattern() |
Get the FillExtrusionPattern property
|
TransitionOptions |
getFillExtrusionPatternTransition() |
Get the FillExtrusionPattern property transition options
|
PropertyValue<java.lang.Float[]> |
getFillExtrusionTranslate() |
Get the FillExtrusionTranslate property
|
PropertyValue<java.lang.String> |
getFillExtrusionTranslateAnchor() |
Get the FillExtrusionTranslateAnchor property
|
TransitionOptions |
getFillExtrusionTranslateTransition() |
Get the FillExtrusionTranslate property transition options
|
PropertyValue<java.lang.Boolean> |
getFillExtrusionVerticalGradient() |
Get the FillExtrusionVerticalGradient property
|
Expression |
getFilter() |
Get a single expression filter.
|
java.lang.String |
getSourceId() |
Get the source id.
|
java.lang.String |
getSourceLayer() |
Get the source layer.
|
protected void |
initialize(java.lang.String layerId,
java.lang.String sourceId) |
|
void |
setFillExtrusionBaseTransition(TransitionOptions options) |
Set the FillExtrusionBase property transition options
|
void |
setFillExtrusionColorTransition(TransitionOptions options) |
Set the FillExtrusionColor property transition options
|
void |
setFillExtrusionHeightTransition(TransitionOptions options) |
Set the FillExtrusionHeight property transition options
|
void |
setFillExtrusionOpacityTransition(TransitionOptions options) |
Set the FillExtrusionOpacity property transition options
|
void |
setFillExtrusionPatternTransition(TransitionOptions options) |
Set the FillExtrusionPattern property transition options
|
void |
setFillExtrusionTranslateTransition(TransitionOptions options) |
Set the FillExtrusionTranslate property transition options
|
void |
setFilter(Expression filter) |
Set a single expression filter.
|
void |
setSourceLayer(java.lang.String sourceLayer) |
Set the source layer.
|
FillExtrusionLayer |
withFilter(Expression filter) |
Set a single expression filter.
|
FillExtrusionLayer |
withProperties(PropertyValue<?>... properties) |
Set a property or properties.
|
FillExtrusionLayer |
withSourceLayer(java.lang.String sourceLayer) |
Set the source 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
public FillExtrusionLayer(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 set@NonNull public FillExtrusionLayer withSourceLayer(java.lang.String sourceLayer)
sourceLayer
- the source layer to set@NonNull public java.lang.String getSourceId()
@NonNull public java.lang.String getSourceLayer()
public void setFilter(@NonNull Expression filter)
filter
- the expression filter to set@NonNull public FillExtrusionLayer withFilter(@NonNull Expression filter)
filter
- the expression filter to set@Nullable public Expression getFilter()
@NonNull public FillExtrusionLayer withProperties(@NonNull PropertyValue<?>... properties)
properties
- the var-args properties@NonNull public PropertyValue<java.lang.Float> getFillExtrusionOpacity()
@NonNull public TransitionOptions getFillExtrusionOpacityTransition()
public void setFillExtrusionOpacityTransition(@NonNull TransitionOptions options)
options
- transition options for Float@NonNull public PropertyValue<java.lang.String> getFillExtrusionColor()
public int getFillExtrusionColorAsInt()
java.lang.RuntimeException
- thrown if property isn't a value@NonNull public TransitionOptions getFillExtrusionColorTransition()
public void setFillExtrusionColorTransition(@NonNull TransitionOptions options)
options
- transition options for String@NonNull public PropertyValue<java.lang.Float[]> getFillExtrusionTranslate()
@NonNull public TransitionOptions getFillExtrusionTranslateTransition()
public void setFillExtrusionTranslateTransition(@NonNull TransitionOptions options)
options
- transition options for Float[]@NonNull public PropertyValue<java.lang.String> getFillExtrusionTranslateAnchor()
@NonNull public PropertyValue<java.lang.String> getFillExtrusionPattern()
@NonNull public TransitionOptions getFillExtrusionPatternTransition()
public void setFillExtrusionPatternTransition(@NonNull TransitionOptions options)
options
- transition options for String@NonNull public PropertyValue<java.lang.Float> getFillExtrusionHeight()
@NonNull public TransitionOptions getFillExtrusionHeightTransition()
public void setFillExtrusionHeightTransition(@NonNull TransitionOptions options)
options
- transition options for Float@NonNull public PropertyValue<java.lang.Float> getFillExtrusionBase()
@NonNull public TransitionOptions getFillExtrusionBaseTransition()
public void setFillExtrusionBaseTransition(@NonNull TransitionOptions options)
options
- transition options for Float@NonNull public PropertyValue<java.lang.Boolean> getFillExtrusionVerticalGradient()