change feature obj literal property names to match GeoJSON

This commit is contained in:
Mike Adair committed 2012-06-21 03:31:57 -04:00
1 parent 22bffd9d8b
commit f3ab95b051
2 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -38,13 +38,13 @@ describe("ol.feature", function() {
it("should be easy to create a feature from object literals", function() {
var feat = ol.feature({
attrs: {
properties: {
foo: 'bar',
two: 'deux',
size: 3,
flag: true
},
geom: ol.geom.point([56, 22])
geometry: ol.geom.point([56, 22])
});
var geom = feat.geometry();