mapfish.Protocol

Contains convenience methods for protocol manipulation.

Summary
mapfish.ProtocolContains convenience methods for protocol manipulation.
Functions
decorateProtocolDecorate a protocol.

Functions

decorateProtocol

decorateProtocol: function(config)

Decorate a protocol.

Example of use

var protocol = mapfish.Protocol.decorateProtocol({
    protocol: protocol,
    TriggerEventDecorator: {
        eventListeners: {
            crudfinished: function() {
                alert("CRUD operation completed");
            }
        }
    },
    MergeFilterDecorator: null
});

Parameters

config{Object} Config object specifying how protocol must be decorated, see the above the example.

Returns

{OpenLayers.Protocol} The resulting protocol.

decorateProtocol: function(config)
Decorate a protocol.
Abstract vector layer protocol class.
Close