Seitenhierarchie
Zum Ende der Metadaten springen
Zum Anfang der Metadaten

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

Methode: POST

Response: JSON


JSON for inserting text via REST API
{
	"action": "add_or_edit",
	"Maptext": {
		"map_id":$MAP_ID,
		"text": "map text",
		"x":"444",
		"y":"292",
		"z_index": 0
	}
}



Response on successful API call
{
	"Maptext":{
		"Maptext":{
			"id":$ID,
			"map_id":$MAP_ID,
			"x":602,
			"y":33,
			"text":"map text",
			"font_size":null,
			"z_index":"0",
			"display":true
		}
	}
}









  • Keine Stichwörter