Hi everyone, I can't use the dynamic maps from google because i'm using marmalade. So i wanted to simulate that by loading a new image each time when the user scrolls 'out of' the screen. To do that i need to calculate the longitude&latitude of a point at the static map (for example the left top corner). I have this information:
- zoomlevel - image size (static map) - longitude/latitude of the center from the map I tried to calculate the worldcoordinates with mercators formules. After that the pixelcoordinates (pixelcoord = worldcoord * 2^zoomlevel) and then subtract the image height/2 of the pixelcoordinates and calculate back to find the latitude, but i get a number that's not correct (i checked the position on google maps). I hope someone can help me, or get me a better idea to simulate dynamic maps. Regards, Linsy -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-api/-/IU_XwrnEIEIJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
