Skip to content

Integration with library like Enyo #536

@sbrunner

Description

@sbrunner

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions