API point fixed (using ADVANCED compilation)
This commit is contained in:
@@ -32,10 +32,10 @@ ol.geom.point = function(opt_arg){
|
|||||||
projection = opt_arg[3];
|
projection = opt_arg[3];
|
||||||
|
|
||||||
} else if (goog.isObject(opt_arg)) {
|
} else if (goog.isObject(opt_arg)) {
|
||||||
x = opt_arg.x;
|
x = opt_arg['x'];
|
||||||
y = opt_arg.y;
|
y = opt_arg['y'];
|
||||||
z = opt_arg.z;
|
z = opt_arg['z'];
|
||||||
projection = opt_arg.projection;
|
projection = opt_arg['projection'];
|
||||||
} else {
|
} else {
|
||||||
throw new Error('ol.geom.point');
|
throw new Error('ol.geom.point');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user