Class: IWGeoJSONStyleUniColor

IWGeoJSONStyleUniColor

A GeoJSON style which renders all GeoJSON features in the same color. You can specify a CSS color definition like red, #00ff00 or rgba(255,255,0,0.8).

new IWGeoJSONStyleUniColor(color)

Creates a new style.
Parameters:
Name Type Description
color string the color definition, e.g. red, #00ff00 or rgba(255,255,0,0.8)

Extends

Methods


getPointLayer()

Returns a clustered overlay layer for all point features with the specified color.
Overrides:

getPolygonStyle()

Returns rendering attributes for the provided polygon with the specified color.
Overrides:

getPolylineStyle()

Returns rendering attributes for the provided polyline with the specified color.
Overrides: