Correct the formatPoint test to use API methods.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
describe("ol.geom.multilinestring", function() {
|
describe("ol.geom.multilinestring", function() {
|
||||||
var mls,
|
var mls,
|
||||||
formatPoint = function(p){
|
formatPoint = function(p){
|
||||||
return p.getX() + ',' + p.getY();
|
return p.x() + ',' + p.y();
|
||||||
},
|
},
|
||||||
linestringNPointN = function(mls, i, j) {
|
linestringNPointN = function(mls, i, j) {
|
||||||
return formatPoint(mls.linestrings()[i].vertices()[j]);
|
return formatPoint(mls.linestrings()[i].vertices()[j]);
|
||||||
|
|||||||
Reference in New Issue
Block a user