Toward natural JavaScript syntax
This commit is contained in:
@@ -183,7 +183,7 @@ ol.geom.MultiPolygon.prototype.getArea = function() {
|
||||
*/
|
||||
ol.geom.MultiPolygon.prototype.getCoordinates = function(opt_right) {
|
||||
var flatCoordinates;
|
||||
if (ol.isDef(opt_right)) {
|
||||
if (opt_right !== undefined) {
|
||||
flatCoordinates = this.getOrientedFlatCoordinates().slice();
|
||||
ol.geom.flat.orient.orientLinearRingss(
|
||||
flatCoordinates, 0, this.endss_, this.stride, opt_right);
|
||||
|
||||
Reference in New Issue
Block a user