簡體   English   中英

打開帶有標簽的Google地圖

[英]Open Google Maps with labels

我正在嘗試從我的應用程序打開google maps應用程序以向用戶顯示路線。

http://maps.google.com/maps?saddr=" + sourceLatitude + "," + sourceLongitude 
+ "(" + "label1" + ")&daddr=" + destinationLatitude + "," + 
destinationLongitude + " (" + "label2" + ")";

但是,當GoogleMaps應用程序打開時,它將上述標簽轉換為地址。 我希望GoogleMaps僅顯示標簽而不是地址。 我怎樣才能做到這一點? 示例網址

http://maps.google.com/maps?saddr=28.63382,77.220975&daddr=28.6328878,77.22014879999999(IcyCurls)&dirflg=w

我想要目的地的冰冷卷發,而不是地址

謝謝

選中此選項以獲取繪制了折線的確切路線,我們只能通過傳遞完整地址來做到這一點。

https://www.google.com/maps/dir/?api=1&origin=760+West+Genesee+Street+Syracuse+NY+13204&destination=314+Avery+Avenue+Syracuse+NY+13204

暫無
暫無

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

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