3

I'm building a web app that will use the tiling, zooming, marker and other functionality associated with map applications, however i dont need to use all this Geolocation and other stuff that TileMill requires as my application will be loading medical images not maps. Is it possible to import a custom image into TileMill? If so how? Maybe TileMill is completely unsuited to my specific application, if so could someone suggest an alternative?

4

2 回答 2

2

这是可行的,但 Tilemill 可能是你正在寻找的过度杀伤力。像@thisguyzaphod 提到的那些简单的插件可以解决问题。如果您希望使用最先进的磁贴缩放功能,我会使用 Leaflet.js,它可以专门用于非地理内容,例如此页面文档:

http://omarriott.com/aux/leaflet-js-non-geographical-imagery/

您可能可以在这里找到一些其他有价值的建议: Leaflet 是非地图图像的好工具吗?

祝你好运!

于 2014-01-30T19:22:17.320 回答
2

你看过其中一个吗?

这两个库都包含用于从原始照片生成所有图块的脚本和用于在网页上显示这些图块的 JavaScript 库。

于 2013-01-11T10:19:56.657 回答