-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Description
Hello,
I do a prototype to integrate ol3 in Enyo (http://enyojs.com/) and I have some issue:
- We should directly specify a div id to create the map than we can't prepare the map and create the gui later ...
- With Enyo when I change the layout (click on GoogleEarth) he will destroy and create the dom structure, than I should create an intermediate div (mapnode) because old gets the size on it and if we change de parent he will keep the old one ...
To completely remove the intermediate div the view port node should also be published ! - And also when the don structure change the new size isn't get:
- click on GoogleEarth) => the center became wrong
- resize the window => the center became right
- click on close => we see a white band
To fix that I try to fire resize dom event but without success...
proto: http://prospection-geospatial.demo-camptocamp.com/sbrunner-enyo/debug.html
ol3 integration code: https://github.com/sbrunner/enyo_bootplate/blob/master/source/App.js#L26
Metadata
Metadata
Assignees
Labels
No labels