开发者

Google Maps: Put Marker on Top Left of The Map

开发者 https://www.devze.com 2023-03-25 20:31 出处:网络
just like the title s开发者_开发知识库ay, I know how to add marker on specific lat,lon. Now I want to add marker and put it on top left or top right of the map. How to accomplish this using javascript

just like the title s开发者_开发知识库ay, I know how to add marker on specific lat,lon. Now I want to add marker and put it on top left or top right of the map. How to accomplish this using javascript api v3 ?


http://code.google.com/apis/maps/documentation/javascript/reference.html#MapCanvasProjection

fromDivPixelToLatLng(pixel:Point)

Computes the geographical coordinates from pixel coordinates in the div that holds the draggable map.

0

精彩评论

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