Ticket #56 (closed enhancement: fixed)

Opened 11 months ago

Last modified 11 months ago

Add ability to use mapping for complex objects in FeatureReader

Reported by: bbinet Assigned to:
Priority: major Milestone: 0.5
Component: GeoExt.data.FeatureReader Version:
Keywords: Cc:
State: Commit

Description

Currently, FeatureReader is able to use mapping like that :

reader = new GeoExt.data.FeatureReader({}, [{'name': 'a', 'mapping': 'a_mapped'}]);

But it can't use the following mapping :

reader = new GeoExt.data.FeatureReader({}, [{'name': 'a', 'mapping': 'a_mapped.obj'}]);

The attached patch is adding this functionnality (and associated tests).

Attachments

patch-56-r549-A0.diff (4.2 kB) - added by bbinet on 04/30/09 16:39:31.

Change History

04/30/09 16:39:31 changed by bbinet

  • attachment patch-56-r549-A0.diff added.

04/30/09 16:49:45 changed by elemoine

  • state changed from Review to Commit.

Looks good to me.

05/05/09 13:46:09 changed by elemoine

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

(In [596]) Add ability to use mapping for complex objects in FeatureReader, p=bbinet, r=me (closes #56)