开发者

Google Static Map Problem

开发者 https://www.devze.com 2023-01-23 00:18 出处:网络
I need to obtain static google map by passing latitude and longitude in the URL. this is Where i\'m downloading the map image

I need to obtain static google map by passing latitude and longitude in the URL. this is Where i'm downloading the map image

google return the map image where the coordinates are of the center location of the map. i can down开发者_开发百科load this image using the above URL.

PROBLEM: what i need is to get the X0 and Y0 coordinates of the image map.

are there any equation between pixel value and dgrees in real GPS coordinates??

Thank You


Kindly go through the google api v3 docs. The fromLatLngToContainerPixel(latLng:LatLng) function should address your requirement.

0

精彩评论

暂无评论...
验证码 换一张
取 消