Data Bound Feature
Class for a Feature bounded to a DataRenderer.
In order to create a new one use DataRenderer.addFeature. Any change on a DataBoundFeature properties will trigger a redraw of the DataRenderer associated. Or you can use methods like setStyleProperties or DataRenderer.redrawAfter in order to have more control over when those redraw happens.
Properties
Compute the bounds of this feature
the original GeoJSON Feature bounded to the DataRenderer
Opacity associated with this feature (Polygon geometry only)
Named anchor position for this icon (Point geometry only). Default IconAnchor.Bottom. Combine with iconOffset to realise arbitrary pixel anchors.
Pixel offset (x, y) applied to the anchored icon. Default 0f to 0f.
Icon opacity, clamped to 0.0..1.0 (Point geometry only). Default 1.0.
Alignment for this icon (Point geometry only). Default PointAlignment.Viewport.
Icon rotation in degrees clockwise (Point geometry only). Default 0.0.
Toggle this feature response to click
Color of the label associated with this feature (Point geometry only)
Color of the label text halo associated with this feature (Point geometry only)
Weight of the label text associated with this feature (Point geometry only)
Outline color associated with this feature (Polygon and LineString geometry only)
Outline opacity associated with this feature (Polygon and LineString geometry only)
Outline weight associated with this feature (Polygon and LineString geometry only)
Symbol stacking order; higher draws on top (Point geometry only). Default 0.0.