Table Of Contents

Previous topic

Next topic

class, recordType)
Data reader class to create an array of objects from an OpenLayers.Protocol.Response object for use in a object.

Example Use

Typical usage in a store:

var store = new{
    reader: new{}, [
        {name: 'name', type: 'string'},
        {name: 'elevation', type: 'float'}

Public Methods

Public methods in addition to those listed for

Parameter:featuresArray(OpenLayers.Feature.Vector) List of features for creating records
Returns:Object An object with records and totalRecords properties.

Create a data block containing objects from an array of features.