Mozilla Demo Studio

  • 送出一個 Demo

Metakaolin

Draw on maps anywhere — laptop, iOS or Android!

建立方法 SVG, 多點觸控, IndexedDB, Mobile, 離線支援

  • 186 個檢視數
  • 0 條回應

作者所寫的更多關於此 Demo 的資訊

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

此 demo 係以 BSD 條款進行授權。

natevw 的更多作品