Skip to content

Examples

Map centered on a location

https://staticmap.maptoolkit.net?maptype=toursprung-terrain&size=750x300&center=48.205,16.398&zoom=10&api_key=YOUR_API_KEY

Map fitted to a bounding box

https://staticmap.maptoolkit.net?maptype=toursprung-terrain&size=750x300&bounds=51,11,50,10&api_key=YOUR_API_KEY

Default marker

https://staticmap.maptoolkit.net?maptype=toursprung-terrain&size=750x300&center=47.3,12.3&zoom=12&marker=center:47.3,12.3|anchor:bottom&api_key=YOUR_API_KEY

Custom marker icon

https://staticmap.maptoolkit.net?maptype=toursprung-terrain&size=750x300&center=47.3,12.3&zoom=12&marker=icon:http://static.maptoolkit.net/images/mtkdemo/marker/wandermap.png|center:47.3,12.3|anchor:bottom&api_key=YOUR_API_KEY

Two markers

https://staticmap.maptoolkit.net?maptype=toursprung-terrain&size=750x300&center=47.3,12.3&zoom=12&marker=center:47.3,12.3|anchor:bottom&marker=center:47.31,12.31&api_key=YOUR_API_KEY

Polyline

https://staticmap.maptoolkit.net?maptype=toursprung-terrain&size=750x300&bounds=47.28852,12.52935,47.21155,12.16843&path=width:3|points:47.21359,12.16856|47.21155,12.16860|47.22167,12.18551|47.22563,12.18671|47.23277,12.19839|47.23571,12.19585|47.24233,12.21152|47.24244,12.21654|47.24664,12.21920|47.24693,12.22783|47.24399,12.22757|47.24419,12.24448|47.23644,12.24632|47.23242,12.24504|47.23134,12.24714|47.23828,12.25392|47.24402,12.26336|47.24533,12.27194|47.25212,12.27336|47.25369,12.27696|47.25372,12.28628|47.25101,12.28508|47.24947,12.28688|47.24923,12.29417|47.25200,12.29641|47.25016,12.30331|47.25296,12.31632|47.25978,12.31834|47.26720,12.33580|47.27093,12.33911|47.27268,12.34790|47.27591,12.35331|47.27524,12.36142|47.27978,12.37425|47.27306,12.37558|47.27871,12.39824|47.27757,12.41674|47.27358,12.42245|47.27792,12.42352|47.27882,12.44373|47.28336,12.45489|47.28307,12.48025|47.28103,12.48150|47.28060,12.48562|47.27786,12.48729|47.27780,12.49296|47.28118,12.50270|47.28051,12.52274|47.28255,12.52695|47.28852,12.52935&api_key=YOUR_API_KEY

GeoJSON MultiLineString

https://staticmap.maptoolkit.net?maptype=toursprung-terrain&size=500x500&geojson=color:ff000066|width:6|geometry:{"type":"MultiLineString","coordinates":[[[16.431427001953125,47.845883513447276],[16.481552124023438,47.821915003877976],[16.495285034179688,47.817304405844226],[16.556396484375,47.832056878293166]],[[16.53511047363281,47.8703015638657],[16.53717041015625,47.85740289465826],[16.5234375,47.83482250011287],[16.513824462890625,47.816382237102744],[16.489105224609375,47.794245273679884],[16.478118896484375,47.77855921633884]]]}&api_key=YOUR_API_KEY

KML polygon

https://staticmap.maptoolkit.net?maptype=toursprung-terrain&size=750x400&center=47.805,13.35&zoom=7&kml=http://static.maptoolkit.net/austria.kml&api_key=YOUR_API_KEY

KML polyline with start marker

https://staticmap.maptoolkit.net?maptype=toursprung-terrain&size=750x300&kml=https://maptoolkit.net/export/ts_demo_tours/_1603292819.kml&marker=icon:http://static.maptoolkit.net/images/mtkdemo/marker/wandermap.png|center:47.2969,13.62383|anchor:bottom&api_key=YOUR_API_KEY