0

我刚刚创建了一个页面来使用 gmap api 显示谷歌地图,并且地图在 pc 上显示良好,但是当我将此链接http://ratebol.com/statmap_v3.php发送到移动地图时没有显示。

请给我在手机上显示地图的解决方案...

4

1 回答 1

3

在 iPhone 上,您可以调用以下任一方法。我建议您使用方法 #2,因为它适用于移动或非移动设备。

方法#1

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

方法#2

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

此方法 (#2) 会在您单击链接时进行解析。iPhone 和其他设备会看到“maps.google.com”并且知道如果设备安装并支持 Google 地图应用程序就会启动。否则它将在浏览器中打开。

于 2009-11-29T17:56:17.120 回答