Correct the formatPoint test to use API methods.

This commit is contained in:
Marc Jansen
2012-06-25 23:03:01 +02:00
parent ca5b06f108
commit 29b684f916

View File

@@ -1,7 +1,7 @@
describe("ol.geom.multilinestring", function() {
var mls,
formatPoint = function(p){
return p.getX() + ',' + p.getY();
return p.x() + ',' + p.y();
},
linestringNPointN = function(mls, i, j) {
return formatPoint(mls.linestrings()[i].vertices()[j]);