开发者

When I link to Google Maps on a website, Mobile Safari opens the Maps app but doesn't zoom correctly

This is a follow up to another question. Issue is I link to something like http://maps.goog开发者_高级运维le.com/?daddr=49.89793,-97.20494 and the location is passed correctly however the map is fully zoomed out so I see all of North and South America. I have tried adding a couple different parameters to the URL but none seem to be working. "z=13" sets the zoom to 13 but not on mobile, only a full URL like http://maps.google.com/?daddr=49.89793,-97.20494&z=13


Zoom seams to work on a mobile in combination with the q-Parameter, only:

http://maps.google.com/?q=49.89793,-97.20494&z=13

Since using daddr (Destination Address) is waiting for a saddr (Start Address) to determine the zoom level.


At least in Mobile Safari, you can pass

saddr=Current+Location
and Google Maps will use the current location to provide routing options and set the map scale.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜