new IWGeoJSONStyleFromProperties(defaultValuesPolyline, defaultValuesPolygon)
Creates a new style. Default values for the rendering of polylines and polygons can be provided.
Parameters:
Name | Type | Description |
---|---|---|
defaultValuesPolyline |
object | an object with rendering attributes for polylines |
defaultValuesPolygon |
object | an object with rendering attributes for polygons |
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: