Merge pull request #946 from tschaub/control-options
Remove map from ControlOptions.
This commit is contained in:
@@ -45,10 +45,6 @@ ol.control.Control = function(options) {
|
||||
*/
|
||||
this.listenerKeys = [];
|
||||
|
||||
if (goog.isDef(options.map)) {
|
||||
this.setMap(options.map);
|
||||
}
|
||||
|
||||
};
|
||||
goog.inherits(ol.control.Control, ol.Object);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user