Merge pull request #2409 from vicb/patch-1

fix: typos in map.js
This commit is contained in:
Marc Jansen
2014-07-20 17:37:16 +02:00
+6 -6
View File
@@ -1103,8 +1103,8 @@ ol.Map.prototype.render = function() {
/** /**
* Remove the given control from the map. * Remove the given control from the map.
* @param {ol.control.Control} control Control. * @param {ol.control.Control} control Control.
* @return {ol.control.Control|undefined} The removed control of undefined * @return {ol.control.Control|undefined} The removed control (or undefined
* if the control was not found. * if the control was not found).
* @api stable * @api stable
*/ */
ol.Map.prototype.removeControl = function(control) { ol.Map.prototype.removeControl = function(control) {
@@ -1138,8 +1138,8 @@ ol.Map.prototype.removeInteraction = function(interaction) {
/** /**
* Removes the given layer from the map. * Removes the given layer from the map.
* @param {ol.layer.Base} layer Layer. * @param {ol.layer.Base} layer Layer.
* @return {ol.layer.Base|undefined} The removed layer or undefined if the * @return {ol.layer.Base|undefined} The removed layer (or undefined if the
* layer was not found. * layer was not found).
* @api stable * @api stable
*/ */
ol.Map.prototype.removeLayer = function(layer) { ol.Map.prototype.removeLayer = function(layer) {
@@ -1152,8 +1152,8 @@ ol.Map.prototype.removeLayer = function(layer) {
/** /**
* Remove the given overlay from the map. * Remove the given overlay from the map.
* @param {ol.Overlay} overlay Overlay. * @param {ol.Overlay} overlay Overlay.
* @return {ol.Overlay|undefined} The removed overlay of undefined * @return {ol.Overlay|undefined} The removed overlay (or undefined
* if the overlay was not found. * if the overlay was not found).
* @api stable * @api stable
*/ */
ol.Map.prototype.removeOverlay = function(overlay) { ol.Map.prototype.removeOverlay = function(overlay) {