Minor apidoc updates

This commit is contained in:
Frederic Junod
2013-10-08 09:04:50 +02:00
parent aca022df6e
commit 307e2d936c
3 changed files with 5 additions and 5 deletions

View File

@@ -7,12 +7,12 @@
/**
* @typedef {Object} ol.DeviceOrientationOptions
* @property {boolean|undefined} tracking Tracking.
* @property {boolean|undefined} tracking Start tracking. Default is false.
*/
/**
* @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 {ol.proj.ProjectionLike} projection Projection.
*/

View File

@@ -182,7 +182,7 @@ ol.Geolocation.prototype.positionError_ = function(error) {
/**
* 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() {
return /** @type {number|undefined} */ (
@@ -210,7 +210,7 @@ goog.exportProperty(
/**
* Get the altitude accuracy of the position.
* @return {number|undefined} Altitude accuracy.
* @return {number|undefined} Altitude accuracy in meters.
*/
ol.Geolocation.prototype.getAltitudeAccuracy = function() {
return /** @type {number|undefined} */ (

View File

@@ -136,7 +136,7 @@ ol.MapProperty = {
* });
*
* 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
* @extends {ol.Object}