Seitenhierarchie
Zum Ende der Metadaten springen
Zum Anfang der Metadaten

URL: https://123.123.123.123/map_module/mapeditors/saveIcon.json?angular=true

Methode: POST

Response: JSON


JSON for inserting map icons via REST API
{
	"action": "add_or_edit",
    "Mapicon":{
		"map_id": $MAP_ID,
		"x":"137",
		"y":"51",
		"z_index": 0,
		"icon":"icon.png"
	}
}



Response on successful API call
{
	"Mapicon":{
		"Mapicon":{
			"id":1,
			"map_id":5,
			"x":655,
			"y":58,
			"icon":"icon.png",
			"z_index":"0",
			"display":true
		}
	}
}








  • Keine Stichwörter