Remove unneeded type cast in examples

This commit is contained in:
Frederic Junod
2018-12-07 09:39:04 +01:00
parent 4ce5379a4b
commit cd3e65e3df
8 changed files with 16 additions and 16 deletions

View File

@@ -36,7 +36,7 @@ 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).
const positions = new LineString([], /** @type {module:ol/geom/GeometryLayout} */ ('XYZM'));
const positions = new LineString([], 'XYZM');
// Geolocation Control
const geolocation = new Geolocation({