Hi there, I’m trying to import markers and other features from geojson file to the map.
Markers work, Lines work, Polygones work - but no Multimarker Feature
Here the dummy .json file with different kinds of features - for background information see also https://en.wikipedia.org/wiki/GeoJSON
{
“type”: “FeatureCollection”,
“features”: [
{"type":"Feature","geometry":
{"type":"LineString","coordinates":[[8,47],[8,48],[10,50]]},
"properties": {"name": "Linestring"}},
{"type":"Feature","geometry":
{ "type": "Polygon", "coordinates": [
[[12.5, 50], [15, 45], [13, 45], [10, 45], [12.5, 50]]]},
"properties": {"name": "Polygon"}},
{"type": "Feature","geometry":
{"type": "Point","coordinates": [15, 50]},
"properties": {"name": "Marker"}},
{"type":"Feature","geometry":
{"type":"MultiPoint","coordinates":[[9,48],[11,48],[10,48]]},
"properties": {"name": "Multipoint"}}
]}
imported in the app it looks like this:
on geojson.io it shows all features:
I didn’t find any deeper description to the geojson implementation whats supported and might need a different syntax?
Best Michael