Class CMDatasetGeoJSON extends CMDatasetVector
CMDatasetGeoJSON Class
Object Functions
Inherited From: CMDatasetVector
Returns | Function | Throws |
---|---|---|
SetGeoJSONFeatures(-) | ||
SetGeoJSON(TheGeoJSONObject, ZoomToBounds) |
Object Functions
SetGeoJSONFeatures(-)
Sets just the features within this dataset.
Parameters:
- TheGeoJSONObject a valid GeoJSON object containing features. The
SetGeoJSON(TheGeoJSONObject, ZoomToBounds)
Set this dataset to match a GeoJSON object. This will replace any existing data
Parameters:
TheGeoJSONObject - A GeoJSON object witha "features" object and optional "properties" object.
ZoomToBounds - optional flag