From 3a40925a7df5cd7d5552aa00d7a113f1e7869b72 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Fri, 22 Jun 2012 09:36:58 +0200 Subject: [PATCH] API point fixed (using ADVANCED compilation) --- src/api/geom/point.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/geom/point.js b/src/api/geom/point.js index 08d94aea6d..601ea2e047 100644 --- a/src/api/geom/point.js +++ b/src/api/geom/point.js @@ -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'); }