Merge pull request #1859 from pgiraud/geolocation_tracking_orientation

Geolocation tracking with orientation example
This commit is contained in:
Tom Payne
2014-03-24 12:53:53 +01:00
13 changed files with 1028 additions and 16 deletions

View File

@@ -17,12 +17,13 @@ goog.require('ol.math');
* @constructor
* @extends {ol.geom.SimpleGeometry}
* @param {ol.geom.RawMultiPoint} coordinates Coordinates.
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
* @param {ol.geom.GeometryLayout|string=} opt_layout Layout.
* @todo stability experimental
*/
ol.geom.MultiPoint = function(coordinates, opt_layout) {
goog.base(this);
this.setCoordinates(coordinates, opt_layout);
this.setCoordinates(coordinates,
/** @type {ol.geom.GeometryLayout|undefined} */ (opt_layout));
};
goog.inherits(ol.geom.MultiPoint, ol.geom.SimpleGeometry);