Refactor ol.geom.Point

This commit is contained in:
Tom Payne
2013-11-09 16:05:30 +01:00
parent 6d32756adf
commit a89bf0c329
4 changed files with 114 additions and 21 deletions

View File

@@ -58,7 +58,7 @@ describe('ol.format.GeoJSON', function() {
expect(feature).to.be.an(ol.Feature);
var geometry = feature.getGeometry();
expect(geometry).to.be.an(ol.geom.Point);
expect(geometry.getCoordinate()).to.eql([102.0, 0.5]);
expect(geometry.getCoordinates()).to.eql([102.0, 0.5]);
expect(feature.get('prop0')).to.be('value0');
});