[OSM-dev] Tile centered on POI... howto?

Morten Kjeldgaard mok at bioxray.dk
Tue Apr 17 09:15:29 BST 2012


Hi,

I'd like to present tiles centered on certain POIs for use on a web  
page. Pretty much like it is done in opestreetmap.org's node browser,  
except I'd like a square image.

Is there a smart way to do this, other than downloading the center  
tile plus the 8 surrounding tiles, assembling the 9 tiles into a 768 x  
768 image, and finally cropping it down to a 256 x 256 tile centered  
on the POI?

Cheers,
Morten




More information about the dev mailing list