Ticket #308 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

add FeatureStore, a helper class for creating stores pre-configured with a FeatureReader

Reported by: elemoine Owned by: elemoine
Priority: major Milestone: 1.1 Release
Component: General.client Version: SVN
Keywords: Cc:
State: Commit

Description (last modified by elemoine) (diff)

This ticket suggests adding mapfish.widgets.data.FeatureStore, a helper class for creating stores pre-configured with a FeatureReader. Example of usage:

var store = new Ext.data.FeatureStore({
    fields: [
        {name: 'name', type: 'string'},
        {name: 'elevation', type: 'float'}
    ]
});
store.loadData(features);

Attachments

patch-MapFish-308-r1340-A0.diff (7.2 kB) - added by elemoine 5 years ago.

Change History

Changed 5 years ago by elemoine

  • description modified (diff)

Changed 5 years ago by elemoine

Changed 5 years ago by elemoine

  • state set to Review

patch-Map Fish?-308-r1340-A0.diff, tests pass, please review.

Changed 5 years ago by pvalsecc

  • state changed from Review to Commit

If you're sure we never need to be able to set the meta parameter, then you can commit.

Changed 5 years ago by pvalsecc

I forgot: don't we need a "require"?

Changed 5 years ago by elemoine

  • status changed from new to closed
  • resolution set to fixed

(In [1360]) add Feature Store?, a helper class for creating stores pre-configured with a Feature Reader?, r=pvalsecc (closes #308)

Note: See TracTickets for help on using tickets.