In this example we avail ourselves of the FeaturesDataSource and its setFromGeoJson method to read GeoJSON from a file or from a textarea in the page. A default style is applied for all possible geometry types.
setFromGeoJson
Generated using TypeDoc
In this example we avail ourselves of the FeaturesDataSource and its
setFromGeoJson
method to read GeoJSON from a file or from a textarea in the page. A default style is applied for all possible geometry types.