English 中文(简体)
谷歌 图一
原标题:Scroll Google Maps in iframe

我将谷歌地图通过我网站上的一环。 此时此刻,我可以使用原机。

是否有办法开发iframe,使谷歌地图网页(搜索栏等)上半部分不再为用户所知?

最佳回答

如果该网页是在同一领域开设的,那么你就可以在iframe.document上使用滚动式和滚动式式。 然而,如果你从遥远的服务器上接收阿戈图,这是不可能的。 你无法通过文字修改儿童框架内容。

即使你能够这样做,这永远是脆弱的解决办法。 如果谷歌地图的结构完全改变,你就必须更新你的滚动。 Top/Left mechansim。 用户仍然能够在框架中点击,赶上滚动框架,甚至使用arrow钥匙。

试图确定滚动位置,从而阻止用户进行滚动,可能会比起更麻烦。

ScrollTop Doc: http://msdn.microsoft.com/en-us/library/ms534618(v=VS.85).aspx

或许,你应努力消除使用APIC的任何障碍。

问题回答

暂无回答




相关问题
How to decide the current point reach on google map?

How to decide the current point reach on google map? I have a list of points (pickup points) of a route that I want to show in my google map with polyline. Now i have to get the current location of ...

Topographical or relief data in Map APIs

I was wondering if anyone knew of any map APIs that offer topographical or relief data? I ve had a quick look at Google and Bing APIs, but could find nothing there. Google allow you to view a map as ...

Using maps on Windows Mobile

I m experimenting with maps on different mobile platforms. Getting Google Maps to work on Android was easy, following this tutorial. Getting the same to work on Windows Mobile is a different matter. ...

Adding a custom icon to a google map

I need a hand adding a custom icon to some Google Maps javascript. Code below for your reference: function populateMap() { var map = new GMap2(document.getElementById("map")); map.setCenter(new ...

RSS to KML Overlay

I m want to display my blog as a Google Map overlay (each post contains geotags). How can I dynamically create a KML overlay from an RSS? Or better, how can I create a loop (PHP) that would display ...

开放街道地图管理员

我需要开放Street的标记管理员。 地图,如山角地图。

热门标签