From OpenStreetMap Wiki
Jump to: navigation, search

staticMapLite ( is one of the options for OpenStreetMap static map images (tools which let you compose a URL to fetch a map image centred at specified location, generating such images and hosting the image at the URL). hosting

The hosted image urls run at Part of the german OSM website. For use on a website <img> StaticMapLite may be the best of the options, the hosting having shown itself to have significant longevity. However it has had some periods of downtime over the years [1]

Example image URL with parameters defining three markers:,-73.998672&zoom=14&size=865x512&maptype=mapnik&markers=40.702147,-74.015794,lightblue1%7C40.711614,-74.012318,lightblue2%7C40.718217,-73.998284,lightblue3

It has a separate 'wizzard' tool for composing image URLs:

Running yourself

The software is open source and you can host a staticMapLite server yourself. If you want to permalink to static map images, then self-hosting is very desirable. The knowledge that you could do self-hosting if the hosted version disappeared, is also valuable.

You need apache, php and imagemagic. With that you simply place the files in your www serving directory.


Source code and issue tracker:

Unmaintained: Despite having good long term hosting on, it seems the maintainers "dfacts" (who also maintain the main deployed instance) are not attending to issue discussions or pull requests [2]