GoogleMaps API v3: convert LatLng object to actual pixels
posted in /home/JavaScript on 2011-01-07 |
It is not so easy as it looks like. You should get the map object's projection and the map's zoom to be able to calculate it.
The function returns Point object, which has .x and .y property - the actual pixels of your map's container.
The function returns Point object, which has .x and .y property - the actual pixels of your map's container.
Delicious