我刚刚创建了一个页面来使用 gmap api 显示谷歌地图,并且地图在 pc 上显示良好,但是当我将此链接http://ratebol.com/statmap_v3.php发送到移动地图时没有显示。
请给我在手机上显示地图的解决方案...
我刚刚创建了一个页面来使用 gmap api 显示谷歌地图,并且地图在 pc 上显示良好,但是当我将此链接http://ratebol.com/statmap_v3.php发送到移动地图时没有显示。
请给我在手机上显示地图的解决方案...
在 iPhone 上,您可以调用以下任一方法。我建议您使用方法 #2,因为它适用于移动或非移动设备。
方法#1
<a href="maps:q=Austin, TX">Austin, Map</a>
方法#2
<a href="http://maps.google.com/maps?hl=en&q=austin,+tx">Austin, Map</a>
此方法 (#2) 会在您单击链接时进行解析。iPhone 和其他设备会看到“maps.google.com”并且知道如果设备安装并支持 Google 地图应用程序就会启动。否则它将在浏览器中打开。