From 687abda9fbb3252960301ce6c6888e241c8ce62f Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Thu, 15 May 2014 20:56:09 +0200 Subject: [PATCH] Need to be more specific about the coordinate format now. --- examples/geolocation-orientation.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/geolocation-orientation.js b/examples/geolocation-orientation.js index f1ef9fb80a..093c4e08a8 100644 --- a/examples/geolocation-orientation.js +++ b/examples/geolocation-orientation.js @@ -36,7 +36,8 @@ map.addOverlay(marker); // LineString to store the different geolocation positions. This LineString // is time aware. // The Z dimension is actually used to store the rotation (heading). -var positions = new ol.geom.LineString([], 'XYZM'); +var positions = new ol.geom.LineString([], + /** @type {ol.geom.GeometryLayout} */ ('XYZM')); // Geolocation Control var geolocation = new ol.Geolocation(/** @type {olx.GeolocationOptions} */ ({