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

Category:

FAQ

Topic:

Import and export

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


Updated on 29 May 2022