The current function getLayers() function of the LayerModel does not work with ExtJS 5 as raw of Ext.data.Model is gone. My recommendation would be to replace it with data but im not sure if this fits for all current scenarios...
/**
* Returns the {OpenLayers.Layer} layer object used in this model instance.
*
* @return {OpenLayers.Layer}
*/
getLayer: function() {
return this.raw;
}
The current function
getLayers()function of theLayerModeldoes not work with ExtJS 5 asrawofExt.data.Modelis gone. My recommendation would be to replace it withdatabut im not sure if this fits for all current scenarios...