August 10, 2009, 3:11pm
is it possible to create a url to a map with openstreetmap?
IÂ´m thinking of s.th. like the staticmap of googlemaps:
IÂ´m not interested in alle the function of zooming and so on. I just want a static map, depending on lat and lon i set in url.
Thanks an regards.
August 10, 2009, 4:27pm
August 10, 2009, 6:47pm
To get also a pushpin pointer use mlat= and mlon= with openstreetmap requests instead of lat and lon.
August 11, 2009, 8:22am
thanks, but iÂ´ve known these opportunities, yet.
So, the problem is, that all these solutions link finally to an app. What i need is to create dynamically an url to a real picture of a map. JPG woould be nice.
The staticmap-function with a url like this
“ creates a jpg-picture. http://maps.google.com/staticmap?center=43.1,12.3&zoom=2&size=400x400 & google-developer-key & .jpg”
It would be nice, if someone has an idea how to manage this with openstreetmap.
August 11, 2009, 9:59am
I guess you would like to get static maps from some external service instead of setting up your own? Or just exporting image with OSM Export and placing the image on your own web site? I do not know any free alternative but If you are ready to pay for the service you may check the WMS alternative from Geofabrik
August 11, 2009, 10:16am
Hmm, i donÂ´t really want static maps. I want to create a jpg-map via url. The url will depend on values created by an external application. So the created jpg is theoretically dynamic.
I see, it wouldnÂ´t be as easy as using an url like: “http:\www.openstreetmap.org/?lat=14.76&lon15.34253&zoom=9.jpg” and i have to use an external service for this.
Thanks and regards.