How to assign a marker to a map when using the GeoJSON importer

If you want to assign a marker to a map when using the GeoJSON import feature, you have to add the map ID of the marker in the maps properties-attribute. Example where marker is added to the maps with the ID 1 and 2:

 
{
    "type": "FeatureCollection",
    "features": [
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    "16.372500",
                    "48.208300"
                ]
            },
            "properties": {
                "id": "56",
                "name": "Headquarters",
                "address": "Main Street",
                "zoom": "10.0",
                "icon": "",
                "popup": "This is our company headquarters",
                "link": "",
                "maps": "1,2"
            }
        }
    ]
}

 

If marker should not be assigned to any map when using the GeoJSON importer, please use the value null

1
1
2293
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>