extjsopenlayerssencha-architect

OpenLayers4 in Sencha Architect


How can I add and use an openlayers4 map in sencha architect? I want to add openlayers map in a container but I have no idea how to do this in sencha architect, so any suggestions would be great!

Thanks in advance


Solution

  • I used OpenLayers4 in Architect the last week, and actually I did exactly as you did @pagep except that: - I displayed the map directly into a component & without a div (I gave the component the id=map). - I'm using the modern package and there's no "render" event, so I used the "painted" event.