@UiThread public class CircleLayer extends Layer
Constructor and Description |
---|
CircleLayer(java.lang.String layerId,
java.lang.String sourceId)
Creates a CircleLayer.
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
PropertyValue<java.lang.Float> |
getCircleBlur()
Get the CircleBlur property
|
TransitionOptions |
getCircleBlurTransition()
Get the CircleBlur property transition options
|
PropertyValue<java.lang.String> |
getCircleColor()
Get the CircleColor property
|
int |
getCircleColorAsInt()
The fill color of the circle.
|
TransitionOptions |
getCircleColorTransition()
Get the CircleColor property transition options
|
PropertyValue<java.lang.Float> |
getCircleOpacity()
Get the CircleOpacity property
|
TransitionOptions |
getCircleOpacityTransition()
Get the CircleOpacity property transition options
|
PropertyValue<java.lang.String> |
getCirclePitchAlignment()
Get the CirclePitchAlignment property
|
PropertyValue<java.lang.String> |
getCirclePitchScale()
Get the CirclePitchScale property
|
PropertyValue<java.lang.Float> |
getCircleRadius()
Get the CircleRadius property
|
TransitionOptions |
getCircleRadiusTransition()
Get the CircleRadius property transition options
|
PropertyValue<java.lang.Float> |
getCircleSortKey()
Get the CircleSortKey property
|
PropertyValue<java.lang.String> |
getCircleStrokeColor()
Get the CircleStrokeColor property
|
int |
getCircleStrokeColorAsInt()
The stroke color of the circle.
|
TransitionOptions |
getCircleStrokeColorTransition()
Get the CircleStrokeColor property transition options
|
PropertyValue<java.lang.Float> |
getCircleStrokeOpacity()
Get the CircleStrokeOpacity property
|
TransitionOptions |
getCircleStrokeOpacityTransition()
Get the CircleStrokeOpacity property transition options
|
PropertyValue<java.lang.Float> |
getCircleStrokeWidth()
Get the CircleStrokeWidth property
|
TransitionOptions |
getCircleStrokeWidthTransition()
Get the CircleStrokeWidth property transition options
|
PropertyValue<java.lang.Float[]> |
getCircleTranslate()
Get the CircleTranslate property
|
PropertyValue<java.lang.String> |
getCircleTranslateAnchor()
Get the CircleTranslateAnchor property
|
TransitionOptions |
getCircleTranslateTransition()
Get the CircleTranslate property transition options
|
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 |
setCircleBlurTransition(TransitionOptions options)
Set the CircleBlur property transition options
|
void |
setCircleColorTransition(TransitionOptions options)
Set the CircleColor property transition options
|
void |
setCircleOpacityTransition(TransitionOptions options)
Set the CircleOpacity property transition options
|
void |
setCircleRadiusTransition(TransitionOptions options)
Set the CircleRadius property transition options
|
void |
setCircleStrokeColorTransition(TransitionOptions options)
Set the CircleStrokeColor property transition options
|
void |
setCircleStrokeOpacityTransition(TransitionOptions options)
Set the CircleStrokeOpacity property transition options
|
void |
setCircleStrokeWidthTransition(TransitionOptions options)
Set the CircleStrokeWidth property transition options
|
void |
setCircleTranslateTransition(TransitionOptions options)
Set the CircleTranslate property transition options
|
void |
setFilter(Expression filter)
Set a single expression filter.
|
void |
setSourceLayer(java.lang.String sourceLayer)
Set the source layer.
|
CircleLayer |
withFilter(Expression filter)
Set a single expression filter.
|
CircleLayer |
withProperties(PropertyValue<?>... properties)
Set a property or properties.
|
CircleLayer |
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 CircleLayer(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 CircleLayer 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 CircleLayer withFilter(@NonNull Expression filter)
filter
- the expression filter to set@Nullable public Expression getFilter()
@NonNull public CircleLayer withProperties(@NonNull PropertyValue<?>... properties)
properties
- the var-args properties@NonNull public PropertyValue<java.lang.Float> getCircleSortKey()
@NonNull public PropertyValue<java.lang.Float> getCircleRadius()
@NonNull public TransitionOptions getCircleRadiusTransition()
public void setCircleRadiusTransition(@NonNull TransitionOptions options)
options
- transition options for Float@NonNull public PropertyValue<java.lang.String> getCircleColor()
@ColorInt public int getCircleColorAsInt()
java.lang.RuntimeException
- thrown if property isn't a value@NonNull public TransitionOptions getCircleColorTransition()
public void setCircleColorTransition(@NonNull TransitionOptions options)
options
- transition options for String@NonNull public PropertyValue<java.lang.Float> getCircleBlur()
@NonNull public TransitionOptions getCircleBlurTransition()
public void setCircleBlurTransition(@NonNull TransitionOptions options)
options
- transition options for Float@NonNull public PropertyValue<java.lang.Float> getCircleOpacity()
@NonNull public TransitionOptions getCircleOpacityTransition()
public void setCircleOpacityTransition(@NonNull TransitionOptions options)
options
- transition options for Float@NonNull public PropertyValue<java.lang.Float[]> getCircleTranslate()
@NonNull public TransitionOptions getCircleTranslateTransition()
public void setCircleTranslateTransition(@NonNull TransitionOptions options)
options
- transition options for Float[]@NonNull public PropertyValue<java.lang.String> getCircleTranslateAnchor()
@NonNull public PropertyValue<java.lang.String> getCirclePitchScale()
@NonNull public PropertyValue<java.lang.String> getCirclePitchAlignment()
@NonNull public PropertyValue<java.lang.Float> getCircleStrokeWidth()
@NonNull public TransitionOptions getCircleStrokeWidthTransition()
public void setCircleStrokeWidthTransition(@NonNull TransitionOptions options)
options
- transition options for Float@NonNull public PropertyValue<java.lang.String> getCircleStrokeColor()
@ColorInt public int getCircleStrokeColorAsInt()
java.lang.RuntimeException
- thrown if property isn't a value@NonNull public TransitionOptions getCircleStrokeColorTransition()
public void setCircleStrokeColorTransition(@NonNull TransitionOptions options)
options
- transition options for String@NonNull public PropertyValue<java.lang.Float> getCircleStrokeOpacity()
@NonNull public TransitionOptions getCircleStrokeOpacityTransition()
public void setCircleStrokeOpacityTransition(@NonNull TransitionOptions options)
options
- transition options for Float