i would load a huge image in my web page (8Mpx x 5Mpx). I thought of creating a simple mechanism on the style of google maps.. But, honestly, I do not have very clear ideas on how to implement it.. any advice on how to structure it?
我将在我的web页面(8Mpx 5Mpx)中加载一个大型图像。我想在谷歌地图的样式上创建一个简单的机制。但是,老实说,我对如何实施这个计划没有很清楚的想法。有什么建议吗?
in particular, I have many doubts about how to handle the drag with the asynchronous loading of the image to vary the portion of the images displayed
特别是,我对于如何处理图像的异步加载来改变显示的图像的部分有很多疑问。
Thank you in advance for your help : )
预先感谢您的帮助:
4 个解决方案
#1
3
An easy answer would to be use Google Maps.
一个简单的答案是使用谷歌映射。
It's a rather advanced topic, but it shouldn't be any harder than doing it by hand.
这是一个相当高级的话题,但不应该比手工做更难。
Here is more information
这里有更多的信息
#2
0
I can only think of some sort of tile's. You break down the image in several parts ( tiles ). Then you only draw the one that are in your viewport.
我只能想到一些瓦片。将图像分解为几个部分(块)。然后你只画在你的视图中的那个。
#3
0
I've used Zoomify's products in the past to accomplish this. I work on a team that manages a few datacenters, so we have some gigantic floor maps (drawn up in CAD, exported as a huge image). I take those maps and convert them to what I consider a "Google style map" using Zoomify Express (free).
我以前用过Zoomify的产品来实现这个目标。我在一个管理一些数据中心的团队工作,所以我们有一些巨大的地面图(在CAD中绘制,作为一个巨大的图像导出)。我将这些地图转换成我认为的“谷歌风格地图”,使用Zoomify Express(免费)。
More info here: http://www.zoomify.com/express.htm
更多信息:http://www.zoomify.com/express.htm
#4
0
I realize this is an old question, but I'd like to suggest http://leafletjs.com/.
我知道这是一个老问题,但我想建议http://leafletjs.com/。
#1
3
An easy answer would to be use Google Maps.
一个简单的答案是使用谷歌映射。
It's a rather advanced topic, but it shouldn't be any harder than doing it by hand.
这是一个相当高级的话题,但不应该比手工做更难。
Here is more information
这里有更多的信息
#2
0
I can only think of some sort of tile's. You break down the image in several parts ( tiles ). Then you only draw the one that are in your viewport.
我只能想到一些瓦片。将图像分解为几个部分(块)。然后你只画在你的视图中的那个。
#3
0
I've used Zoomify's products in the past to accomplish this. I work on a team that manages a few datacenters, so we have some gigantic floor maps (drawn up in CAD, exported as a huge image). I take those maps and convert them to what I consider a "Google style map" using Zoomify Express (free).
我以前用过Zoomify的产品来实现这个目标。我在一个管理一些数据中心的团队工作,所以我们有一些巨大的地面图(在CAD中绘制,作为一个巨大的图像导出)。我将这些地图转换成我认为的“谷歌风格地图”,使用Zoomify Express(免费)。
More info here: http://www.zoomify.com/express.htm
更多信息:http://www.zoomify.com/express.htm
#4
0
I realize this is an old question, but I'd like to suggest http://leafletjs.com/.
我知道这是一个老问题,但我想建议http://leafletjs.com/。