To get tile of WebGIS map, use the request:
https://{host}/gis_render/<x>_<y>_<z>/<uid>/<tile_name>.png?density=...
Note: {host} is usually hst-api.exmaple.com.
Parameters
Name | Description |
---|---|
x | X-coordinate of tile |
y | Y-coordinate of tile |
z | zoom |
uid | current user ID |
tile_name | any tile name |
density | tile size, optional |
Tile coordinates are calculated according to concept described in Google Custom Map Types.
Density
The param is optional. On default tile size is 256*256.
Value | Tile size | Ratio |
---|---|---|
1 | 256*256 | 1 |
2 | 384*384 | 1.5 |
3 | 512*512 | 2 |
4 | 768*768 | 3 |
5 | 1024*1024 | 4 |
Response
Returns an image in PNG format.