Web basemap

From Tygron Support wiki
Jump to navigation Jump to search

API Base URL: web/basemap

GET png

API Endpoint: web/basemap.png

Parameters:

Name Location Type Default value
maptype Query Map Type MAQUETTE
bbox Query String
width Query int 256
height Query int 256
id Query String -1
timeframe Query int 0
crs Query String EPSG:3857
forcexy Query Boolean
bgcolor Query String
walled Query boolean true
transparent Query Boolean
styles Query String

Examples

Basic Endpoint:

https://engine.tygron.com/web/basemap.png?id=SATELLITE&token=WEB_TOKEN

Query with BBOX (EPSG:3857):

https://engine.tygron.com/web/basemap.png?id=SATELLITE&crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=WEB_TOKEN

Query with width=512 and height=512:

https://engine.tygron.com/web/basemap.png?id=SATELLITE&width=512&height=512&token=WEB_TOKEN

Query for MapType: CURRENT:

https://engine.tygron.com/web/basemap.png?id=SATELLITE&maptype=CURRENT&token=WEB_TOKEN

See also