I cant access extjs button rendered to DIV in openlayers overlay -
i utilize extjs display overlay on wms click openlayers 3 (renderto div container) popup displayed content of popup note active (button form example) followed ol3 illustration showen here :
http://openlayers.org/en/v3.0.0/examples/popup.html
this block of code understund :
container = document.getelementbyid('popup'); content = document.getelementbyid('popup-content'); closer = document.getelementbyid('popup-closer'); overlay = new ol.overlay({element: container, insertfirst:true}); map.addoverlay(overlay); map.beforerender(pan); map.getview().setcenter(evt.coordinate); overlay.setposition(evt.coordinate); = 0; (i = 0; <= ((parsedresponse.features.length - 1)) ; i++) { var accord = ext.create('ext.panel.panel', { title:'pp', items:{ xtype:'propertygrid', title: parsedresponse.features[i].properties.nom, renderto: content, autoscroll: true, sortablecolumns: false, source: parsedresponse.features[i].properties }, });
the poupup displayed can not edit propertugrid or button click event illustration within popup.
any help please. thanks
extjs overlay openlayers-3
No comments:
Post a Comment