Geolocation tracking with orientation example

This commit is contained in:
Pierre GIRAUD
2014-03-14 11:55:09 +01:00
parent 84463f59d4
commit 8e9ffb377e
13 changed files with 1028 additions and 16 deletions

View File

@@ -15,7 +15,7 @@ goog.require('ol.geom.flat.simplify');
* @constructor
* @extends {ol.geom.SimpleGeometry}
* @param {ol.geom.RawLinearRing} coordinates Coordinates.
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
* @param {ol.geom.GeometryLayout|string=} opt_layout Layout.
* @todo stability experimental
*/
ol.geom.LinearRing = function(coordinates, opt_layout) {
@@ -34,7 +34,8 @@ ol.geom.LinearRing = function(coordinates, opt_layout) {
*/
this.maxDeltaRevision_ = -1;
this.setCoordinates(coordinates, opt_layout);
this.setCoordinates(coordinates,
/** @type {ol.geom.GeometryLayout|undefined} */ (opt_layout));
};
goog.inherits(ol.geom.LinearRing, ol.geom.SimpleGeometry);