Hi everyone.

I'm trying to build uMap on my own server and experiment with it for educational purposes. Really great software. I'm a bit confused about dependencies, and have spent some hours trying lots of things: What Leaflet and Leaflet.Editable versión should I use?

Examining the compressed .js in online examples (i.e. http://umap.fluv.io/static/CACHE/js/28e5f8d7eaae.js), all of them seem to use Leaflet 0.7.2. However, building the 'reqs' dir for Leaflet-Storage package I get 1.0 version for Leaflet by default and some js errors occur in leaflet.storage.controls.js and leaflet.storage.js.

In 'no-compressing' mode all static files are published and every resource is available (no 404 errors). In order to discard any other possible problem, just replacing my first Django compressed .js with the 28e5f8d7eaae.js file found on examples everything run OK.

Thank you in advance!

asked 13 Oct '15, 11:20

jesus_'s gravatar image

accept rate: 0%

uMap is an unstable state at this moment, waiting for Leaflet 1.0 to be released.

Basically, you need to use master of uMap, django-leaflet-storage, Leaflet, Leaflet.Storage, Leaflet.Editable OR to use last stable tag from each of those.

Also, some Leaflet plugins (Leaflet.Toolbar, Leaflet.Label) have a dedicated branch to use with Leaflet master, and you whould use them if you go the unstable way.

Raise up on #umap on Freenode or https://gitter.im/umap-project/umap to get help. :)

permanent link

answered 13 Oct '15, 11:37

ybon's gravatar image

accept rate: 40%


Thank you ybon! Looking forward to Leaflet 1.0 and uMap stable.

(13 Oct '15, 11:55) jesus_
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 13 Oct '15, 11:20

question was seen: 2,552 times

last updated: 13 Oct '15, 12:23

powered by OSQA