Please help: lat lon to x y
Please, does anyone know how to convert latitude, longitude, zoom to x,y
i need a function fimilar to googles fromLatLngToContainerPixel or fromLatLngToPixel that can return x and y from given data:
map center (lat0, lon0) >> (45.541531,18.683195)
point (lat, lon)
map zoom (15)
map dimensions w,h (560, 410) px
Please i'm desperate....
If you look through the code from here you'll most likely find what you're looking for.
nop, i looked up google groups and apis, but nothing... i need a algorithm for translating the mercator projection on to a rectangular grid....
still no luck....
The project I linked to has the code necessary to achieve what you want if you dig through it. All google maps projects must ultimately convert a lat/long to an x/y or else they wouldn't be able to display tiles
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks