[OSM-newbies] Converting lat/lon to pixel within a tile

Iván Sánchez Ortega ivan at sanchezortega.es
Wed Apr 30 08:45:02 BST 2008


El Miércoles, 30 de Abril de 2008, Vishwa escribió:
> In other words, how to know the pixel (x,y) *within the center tile* for a 
> given lon,lat value. 

If you're using javascript, please keep in mind that there are OpenLayers 
functions for this.

-- 
----------------------------------
Iván Sánchez Ortega <ivan at sanchezortega.es>

"Anything that is too stupid to be spoken is sung."
 - Voltaire (1694-1778) [poor guy, never knew about rap]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openstreetmap.org/pipermail/newbies/attachments/20080430/0e3e428b/attachment.pgp>


More information about the newbies mailing list