Mozilla 演示室

  • 提交演示

Metakaolin

Draw on maps anywhere — laptop, iOS or Android!

建立方法 SVG, 多点触控, IndexedDB, 移动, 离线支持

  • 186 次观看
  • 0 个评论

有关此演示作者的更多信息

Metakaolin is a mouse-and-multitouch compatible feature editor, built on top of an offline capable map and database.

Its interface provides a novel non-modal editing paradigm: just draw whatever kind of shape you like — double tap–drag to extend a point into a line — and it will be converted to the proper GeoJSON geometry.

In the background, data is saved to PouchDB on your local device. This library provides a "masterless replication"–capable document database built on top of IndexedDB (or WebSQL for older browsers). Map tiles are made available offline as well, using the HTML5 Application Cache for efficient cross-browser support.

NOTE: for this static demo certain syncing features have been left out, as well as being limited to only a pre-set sample offline basemap. Check download progress in the app "Setup…" to make sure everything is ready before pulling the plug on your Internets!

还没有评论。

注册登录以添加您自己的评论。

获取源代码

下载源代码 288.69 KB · ZIP 格式

Browse the Source

此演示发布于 BSD 授权之下。

natevw 的更多作品