简体   繁体   中英

Open Google Maps with labels

I am trying to open google maps application from my application to show directions to users.

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

But when GoogleMaps application open up it converts the above labels into addresses. I want GoogleMaps to just show labels instead of addresses. How can I do that? Example url

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

I want icy Curls in the destination instead of its address

Thanks

选中此选项以获取绘制了折线的确切路线,我们只能通过传递完整地址来做到这一点。

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM