-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tom Chance wrote: | Hello, | | I can't see an obvious way to do this, maybe I just need to dig around in | the code behind the export tab, but is it possible to already do something | similar to the Google static maps feature, i.e. allow people to just | specify a URL in an img tag and have the static image with optional marker | automatically created? | | http://code.google.com/apis/maps/documentation/staticmaps/ | | If not, how much work would it be & how hard? | | Sorry if this has come up already, it came up in a conversation with the | owner of www.suttonactive.co.uk as a good opportunity to swap OSM maps in | to replace a work-in-progress Google feature.
Surely the easiest solution is just to use the export feature, and upload the result to your website as a completely normal image. This is exatly what OSM (especially with the export feature), and none of the competing web maps can do. You'd need to attribute copyright appropriately - just putting "Map courtesy OpenStreetMap.org", on the page, along with a link to the license /may/ be enough. Otherwise, if you can link to a specific set of tiles, that would be much better than linking to the export feature directly. Something like: <p> <img src="http://a.tile.openstreetmap.org/9/255/170.png" /> <img src="http://a.tile.openstreetmap.org/9/256/170.png" /> <br /> <img src="http://a.tile.openstreetmap.org/9/255/171.png" /> <img src="http://a.tile.openstreetmap.org/9/256/171.png" /> </p> But you're a bit limited in where you can draw the edges of your maps, unless you do CSS things to hide them under other elements (which is how openlayers does it). Robert (Jamie) Munro -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIEe3Tz+aYVHdncI0RAjAUAJ98y5rfGDLqFeZ4g55cp55XFULnfACeMoJR 7jyqW1fBeiXLmgdg1C3llOA= =t9P/ -----END PGP SIGNATURE----- _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

