Google static map tile service - how to display pixels and latitude / longitude?
Google provides a static map service. These are those 256x256 static maps. Do they provide a library that maps latitude, longitude to pixel coordinates and vice versa? I see some implementations of this on the internet, but I wonder if they have an official implementation that can be used.
thank
+3
source to share
1 answer
You can check the method "fromLatLngToDivPixel" https://developers.google.com/maps/documentation/javascript/v2/reference#GMap2.fromLatLngToDivPixel
Requires latlng: GLatLng as an argument and returns a GPoint reference.
-1
source to share