API point fixed (using ADVANCED compilation)

This commit is contained in:
Marc Jansen
2012-06-22 09:36:58 +02:00
parent 45917504b0
commit 3a40925a7d

View File

@@ -32,10 +32,10 @@ ol.geom.point = function(opt_arg){
projection = opt_arg[3];
} else if (goog.isObject(opt_arg)) {
x = opt_arg.x;
y = opt_arg.y;
z = opt_arg.z;
projection = opt_arg.projection;
x = opt_arg['x'];
y = opt_arg['y'];
z = opt_arg['z'];
projection = opt_arg['projection'];
} else {
throw new Error('ol.geom.point');
}