POIs: detailed information

To get detailed information about specified POIs, use the command resource/get_poi_data:

svc=resource/get_poi_data&params={"itemId":<long>,
				  "col":[<long>]}

:!: You can find an example of this request in the sample Resource.

Parameters

Name Description
itemId resource ID
col array of POIs IDs

Response

[
	{
		"id":<long>,	/* ID  */
		"n":<text>,	/* name */
		"d":<text>,	/* description */
		"y":<double>,	/* latitude */
		"x":<double>,	/* longitude */
		"r":<uint>,	/* radius, m */
		"f":<uint>,	/* flag: 1 - show circle, 0 - hide */
		"c":<uint>,	/* color RGB */
		"tc":<uint>,	/* text color RGB */
		"ts":<uint>,	/* font size */
		"min":<uint>,	/* show on map from this zoom */
		"max":<uint>,	/* show on map till this zoom */
		"t":<double>,	/* aspect ratio of the image */
		"i":<ushort>,	/* check sum of image (CRC16) */
		"icon":<text>,	/* path to icon */
		"path":<text>,	/* short path to default icon */
		"libId":<uint>,	/* id of icon library , 0 - id for default icon library */
		"ct":<uint>,    /* creation time */  
		"mt":<uint>     /* last modification time */
	},
	...
]
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam