簡體   English   中英

在Google地圖中使用世界坐標代替緯度和經度坐標

[英]Using world Coordinates instead of latitude and longitude coordinates in google maps

我必須使用谷歌地圖顯示一些圖標。 我只有這個圖標的世界坐標,我想知道谷歌地圖API中是否有一種方法可以用來放置這些圖標。

你能舉個例子嗎?

謝謝。

我找到了這個:

  var projection = new MercatorProjection();
  var worldCoordinate = projection.fromLatLngToPoint(chicago);

也許有相反的方法。 來源: https//developers.google.com/maps/documentation/javascript/examples/map-coordinates

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM