origo-map / draw-plugin

Draw tool plugin for Origo
MIT License
1 stars 4 forks source link

Required function missing in Origo viewer.js #2

Closed tonnyandersson closed 5 years ago

tonnyandersson commented 5 years ago

The map won't load with this plugin installed because the current Origo viewer.js is missing the required function getUrlParams(). This function will soon be added to Origo viewer.js.

Suggestion for temporary workaround

Comment out the following line:

https://github.com/origo-map/draw-plugin/blob/3ebc26940d34888de78ba2e9f7437c7f640f688e/src/draw.js#L41

This will kill the ability to share drawn objects using the extended sharemap control, which shouldn't be an issue since the extended sharemap control is not a part of Origo yet.

tonnyandersson commented 5 years ago

No longer valid.