origo-map / draw-plugin

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

Plugin not working, MenuItem #47

Closed Owemyr closed 3 years ago

Owemyr commented 3 years ago

Draw-plugin not working with latest origo-master. Not sure if plugin or origo-master should be bug-fixed, seems related to "MenuItem" image

jokd commented 3 years ago

Are you using latest draw-plugin as well? Merged a million package updates for the draw plugin the other day hence the question.

Owemyr commented 3 years ago

Yes, using latest from draw-plugin, merged the million packages today :) I also tried with a clean build from origo-master and the draw-plugin.

jokd commented 3 years ago

Seems Origo dispatches the load event before all controls are loaded and that's the reason why it can't find mapMenu. I'll try fix it.

jokd commented 3 years ago

Fixed with https://github.com/origo-map/origo/pull/1346