问题描述
我期待复制谷歌地图API的平移(不一定变焦)的效果,但没有图像。从本质上讲,我想一个大坐标系中定位HTML元素,并能够浏览他们身边, preZI 一>风格(虽然没有旋转)。
I am looking to replicate the panning (not necessarily the zooming) effect of the Google Maps API, but without the images. Essentially, I want to position HTML elements in a large coordinate system and be able to navigate around them, Prezi style (though without the rotation).
preferably,我想的元素动态preLOAD通过的jQuery / AJAX的,但如果我要开始装载的一切,我会的。
Preferably, I'd like to preload the elements dynamically through jQuery/AJAX, but if I have to load everything initially, I will.
的库,在那里,让我做到这一点?我可能只是$ C C的东西自己$,但我无法想象还有没有人想到了类似之前。
Any libraries out there that will allow me to do this? I could just code the thing myself, but I can't imagine noone else has thought of something similar before.
可以这样使用谷歌地图API来完成,如果是这样,怎么样?实施GOverlay接口?
Can this be done with the Google Maps API, and if so, how? Implementing the GOverlay interface?
推荐答案
打开图层 - HTTP://www.openlayers。组织/ 是谷歌地图的组成部分,这可能是比你更需要的一个开源实现,但它是一个良好的开端。
Open layers - http://www.openlayers.org/ is an open source implementation of the Google maps component, which might be more than you need, but is a good place to start.
这篇关于与阿贾克斯的HTML层砖滚动/ preloading(谷歌地图的风格)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!