Minor apidoc updates
This commit is contained in:
@@ -7,12 +7,12 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} ol.DeviceOrientationOptions
|
* @typedef {Object} ol.DeviceOrientationOptions
|
||||||
* @property {boolean|undefined} tracking Tracking.
|
* @property {boolean|undefined} tracking Start tracking. Default is false.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} ol.GeolocationOptions
|
* @typedef {Object} ol.GeolocationOptions
|
||||||
* @property {boolean|undefined} tracking Tracking.
|
* @property {boolean|undefined} tracking Start Tracking. Default is false.
|
||||||
* @property {GeolocationPositionOptions|undefined} trackingOptions Tracking options.
|
* @property {GeolocationPositionOptions|undefined} trackingOptions Tracking options.
|
||||||
* @property {ol.proj.ProjectionLike} projection Projection.
|
* @property {ol.proj.ProjectionLike} projection Projection.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ ol.Geolocation.prototype.positionError_ = function(error) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the accuracy of the position in meters.
|
* Get the accuracy of the position in meters.
|
||||||
* @return {number|undefined} accuracy in meters.
|
* @return {number|undefined} Position accuracy in meters.
|
||||||
*/
|
*/
|
||||||
ol.Geolocation.prototype.getAccuracy = function() {
|
ol.Geolocation.prototype.getAccuracy = function() {
|
||||||
return /** @type {number|undefined} */ (
|
return /** @type {number|undefined} */ (
|
||||||
@@ -210,7 +210,7 @@ goog.exportProperty(
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the altitude accuracy of the position.
|
* Get the altitude accuracy of the position.
|
||||||
* @return {number|undefined} Altitude accuracy.
|
* @return {number|undefined} Altitude accuracy in meters.
|
||||||
*/
|
*/
|
||||||
ol.Geolocation.prototype.getAltitudeAccuracy = function() {
|
ol.Geolocation.prototype.getAltitudeAccuracy = function() {
|
||||||
return /** @type {number|undefined} */ (
|
return /** @type {number|undefined} */ (
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ ol.MapProperty = {
|
|||||||
* });
|
* });
|
||||||
*
|
*
|
||||||
* The above snippet creates a map with a MapQuest OSM layer on a 2D view and
|
* The above snippet creates a map with a MapQuest OSM layer on a 2D view and
|
||||||
* renders it to a DOM element with the id 'map'.
|
* renders it to a DOM element with the id `map`.
|
||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
* @extends {ol.Object}
|
* @extends {ol.Object}
|
||||||
|
|||||||
Reference in New Issue
Block a user