开发者

how can load gmap link on mobile browser

开发者_Python百科

I just created a page to display google map using gmap api and map displaying well on the pc but when i send this link http://ratebol.com/statmap_v3.php to mobile map is not displaying.

Please give me solution to display map on mobile...


On the iPhone you can call either of the methods below. I recommend that you use method #2 since it will work on mobile or non-mobile devices.

Method #1

<a href="maps:q=Austin, TX">Austin, Map</a>

Method #2

<a href="http://maps.google.com/maps?hl=en&amp;q=austin,+tx">Austin, Map</a>

This method (#2) is parsed with you click the link. The iPhone and other devices see "maps.google.com" and know to launch the Google Maps application if installed and supported by the device. Otherwise it will open in the browser.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜