Contains convenience methods for protocol manipulation.
mapfish. Protocol | Contains convenience methods for protocol manipulation. |
Functions | |
decorateProtocol | Decorate a protocol. |
decorateProtocol: function( config )
Decorate a protocol.
var protocol = mapfish.Protocol.decorateProtocol({ protocol: protocol, TriggerEventDecorator: { eventListeners: { crudfinished: function() { alert("CRUD operation completed"); } } }, MergeFilterDecorator: null });
config | {Object} Config object specifying how protocol must be decorated, see the above the example. |
{OpenLayers.Protocol} The resulting protocol.
Decorate a protocol.
decorateProtocol: function( config )