javascript - Clustering Google Maps API V3 -


could please tell me how find pixel co ordinates of marker in google maps api v3?

you first need latitude , longitude marker.getlatlng(). have latlng object. next need transform geographic coordinates pixel coordinates, , map.fromlatlngtocontainerpixel.

so:

var pixelposition = map.fromlatlngtocontainerpixel(marker.getlatlng()); 

Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -