Some comments (no changes to code)
This commit is contained in:
@@ -14,6 +14,9 @@ ol.control.ControlOptions;
|
||||
|
||||
|
||||
/**
|
||||
* A thing which is painted over the map to provide a means for interaction
|
||||
* (buttons) of show annotations (status bars).
|
||||
*
|
||||
* @constructor
|
||||
* @extends {goog.Disposable}
|
||||
* @param {ol.control.ControlOptions} controlOptions Control options.
|
||||
@@ -67,6 +70,10 @@ ol.control.Control.prototype.getMap = function() {
|
||||
|
||||
|
||||
/**
|
||||
* Removes the control from its current map and attaches it to the new map.
|
||||
* Subtypes might also wish set up event handlers to get notified about changes
|
||||
* to the map here.
|
||||
*
|
||||
* @param {ol.Map} map Map.
|
||||
*/
|
||||
ol.control.Control.prototype.setMap = function(map) {
|
||||
|
||||
Reference in New Issue
Block a user