PDA

View Full Version : Manipulating Javascript objects with ExtJS



yo_haha
14 Oct 2012, 2:25 AM
Hi,
I'd like to manipulate a Javascript object with ExtJS in order to add and remove listeners. Is that possible?
The object in question is an OpenLayers.Map() object, from the OpenLayers 2.12 library.

skirtle
14 Oct 2012, 3:33 PM
I've used OpenLayers and ExtJS 4 together with no real problems. Your question doesn't really make sense though. All ExtJS objects are JavaScript objects, as are OpenLayers objects. You can't use the events systems from the two frameworks interchangeably but it isn't that difficult to wrap one in the other as required.