Static Map Images
When your don't need a map to be interactive, or just want a map image, you can use the Static Map API.
*Pro Subscription Required
Building the URL
You can retrive an image from the api by building a url with the necessary information for your image. It's made up of the language, latitude, longitude, width, height, and an optional high dpi setting.
Standard Resolution URL
High DPI URL
It is recommended to use the High DPI option to retain the images' sharpness on today's high dpi mobile and desktop displays. High DPI renders the image at 2x it's width and height so that when displayed it retains its clarity without looking squished or shrunk.
| This is a two character code that sets the language used on labels and roads for the map accross the planet. The default language is 'en' for English. You can use 'intl' for international labeling that uses the native language of the region being viewed.
|This is the zoom level, ranging from 0-20. 0 is the whole world, and 20 is house level.
|The latitude of the center of the map you would like show.
|The longitude of the center of the map you would like show.
|Width x Height
|Width and Height in pixels of the image requested, seperated by x. Example '640x480'. High DPI option will return twice the requested size.
|Renders the image at 2 times it's width and height at double the dpi.
|This is the key you created for your site on your account page after you login to Slpy.
Here are some examples to help you get started.
The returned image will be an actual resolution of 1280x960, but we set the css style width and height to 640x480 to achieve the 2x dpi.