public class CircleLayer extends Layer
| Constructor and Description |
|---|
CircleLayer(long nativePtr)
Creates a CircleLayer.
|
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
|
PropertyValue<java.lang.String> |
getCircleColor()
Get the CircleColor property
|
int |
getCircleColorAsInt()
The fill color of the circle.
|
PropertyValue<java.lang.Float> |
getCircleOpacity()
Get the CircleOpacity property
|
PropertyValue<java.lang.String> |
getCirclePitchScale()
Get the CirclePitchScale property
|
PropertyValue<java.lang.Float> |
getCircleRadius()
Get the CircleRadius property
|
PropertyValue<java.lang.String> |
getCircleStrokeColor()
Get the CircleStrokeColor property
|
int |
getCircleStrokeColorAsInt()
The stroke color of the circle.
|
PropertyValue<java.lang.Float> |
getCircleStrokeOpacity()
Get the CircleStrokeOpacity property
|
PropertyValue<java.lang.Float> |
getCircleStrokeWidth()
Get the CircleStrokeWidth property
|
PropertyValue<java.lang.Float[]> |
getCircleTranslate()
Get the CircleTranslate property
|
PropertyValue<java.lang.String> |
getCircleTranslateAnchor()
Get the CircleTranslateAnchor property
|
protected void |
initialize(java.lang.String layerId,
java.lang.String sourceId) |
void |
setFilter(Filter.Statement filter)
Set a single filter.
|
void |
setSourceLayer(java.lang.String sourceLayer)
Set the source layer.
|
CircleLayer |
withFilter(Filter.Statement filter)
Set a single filter.
|
CircleLayer |
withProperties(PropertyValue<?>... properties)
Set a property or properties.
|
CircleLayer |
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 CircleLayer(long nativePtr)
nativePtr - pointer used by corepublic 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 setpublic CircleLayer withSourceLayer(java.lang.String sourceLayer)
sourceLayer - the source layer to setpublic void setFilter(Filter.Statement filter)
filter - the filter to setpublic CircleLayer withFilter(Filter.Statement filter)
filter - the filter to setpublic CircleLayer withProperties(PropertyValue<?>... properties)
properties - the var-args propertiespublic PropertyValue<java.lang.Float> getCircleRadius()
public PropertyValue<java.lang.String> getCircleColor()
public int getCircleColorAsInt()
java.lang.RuntimeException - thrown if property isn't a valuepublic PropertyValue<java.lang.Float> getCircleBlur()
public PropertyValue<java.lang.Float> getCircleOpacity()
public PropertyValue<java.lang.Float[]> getCircleTranslate()
public PropertyValue<java.lang.String> getCircleTranslateAnchor()
public PropertyValue<java.lang.String> getCirclePitchScale()
public PropertyValue<java.lang.Float> getCircleStrokeWidth()
public PropertyValue<java.lang.String> getCircleStrokeColor()
public int getCircleStrokeColorAsInt()
java.lang.RuntimeException - thrown if property isn't a valuepublic PropertyValue<java.lang.Float> getCircleStrokeOpacity()