To create graphic layer with POIs, use the command render/create_poi_layer:
svc=render/create_poi_layer¶ms={"layerName":<text>, "flags":<uint>, "pois":[ { "resourceId":<long>, "poiId":[<long>] } ]}
Name | Description |
---|---|
layerName | layer name |
flags | flags: 0x1 - show POI names; 0x2 - group POIs |
pois | array of POIs |
resourceId | resource ID |
poiId | POI ID |
{ "name":<text>, /* layer name */ "bounds":[ <double>, /* minimal latitude */ <double>, /* minimal longitude */ <double>, /* maximal latitude */ <double> /* maximal longitude */ ] }
See also Get tiles of graphic layers.