Merge pull request #946 from tschaub/control-options

Remove map from ControlOptions.
This commit is contained in:
Tim Schaub
2013-09-02 05:40:45 -07:00
15 changed files with 10 additions and 38 deletions

View File

@@ -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);