new IWGeoJSONStyleFromProperties(defaultValuesPolyline, defaultValuesPolygon, options)
Creates a new style. Default values for the rendering of polylines and polygons can be provided.
Available options are:
- clustering: Show point features as clusters instead of individual markers (default true)
Parameters:
Name | Type | Description |
---|---|---|
defaultValuesPolyline |
object | an object with rendering attributes for polylines |
defaultValuesPolygon |
object | an object with rendering attributes for polygons |
options |
object | an object with additional options |
Extends
Methods
-
getPointLayer()
-
Returns rendering attributes for the POI layer based on the properties of the first feature in a cluster.
- Overrides:
-
getPolygonStyle()
-
Returns rendering attributes for the provided polygon based on the properties of the feature.
- Overrides:
-
getPolylineStyle()
-
Returns rendering attributes for the provided polyline based on the properties of the feature.
- Overrides: