OCreate map pictures with markers and geometries
The Static Maps API lets you create map images in PNG or JPG format. Once created, these images can be added to webpages or printed on paper. With the Static Maps API, you can choose from a wide variety of map styles, add markers to a map, and draw lines and shapes on it.
The Static Maps API can be used to generate big-size and high-resolution map pictures. The API supports JPEG and PNG image formats.
You can get a map of up to 4096 x 4096 pixels with the standard API endpoints. We can also
provide you with bigger sizes upon request.
To your map images, you can add geometries (circles, rectangles, lines, and polygons). So you can highlight areas and draw routes.
You can specify the fill color and opacity for shapes and stroke width, line style, and
more. Read more details about the drawing options on the Static Maps API documentation >>.
We use OpenStreetMap as a base for our maps, so you can cache, store and redistribute the generated maps at no extra cost.
However, it is necessary to credit OpenStreetMap and other contributors by providing appropriate
attributions properly. Learn more about attributions on our documentation page >>
Geoapify Static Map API allows the creation of high-resolution map images. You can increase the resolution of the map up to 8 times with the scaleFactor parameter. So you can generate high-quality pictures for print media
https://maps.tmaps.tn/v1/staticmap?style=toner&width=800&height=600¢er=lonlat:-0.113019,51.503962&zoom=15.0858&apiKey=YOUR_API_
essayer
You can add a single geometry or multiple geometries to the map - circles, rectangles, polylines, polygons. Here is an example of a URL with a polygon:
No scaleFactor specified
https://maps.tmaps.tn/v1/staticmap?style=positron&width=800&height=600&geometry=polygon:2.303309440612793,48.87913539780315,2.305
essayer
The following Static Map URL example shows how to add a geometry as a GeoJSON:
No scaleFactor specified
https://maps.tmaps.tn/v1/staticmap?style=positron&width=800&height=600&geojson=%7B%22type%22%3A%22FeatureCollection%22%2C%22featu
essayer