Remove map from OverlayOptions
This commit is contained in:
@@ -42,7 +42,6 @@ ol.OverlayPositioning = {
|
||||
* Example:
|
||||
*
|
||||
* var popup = new ol.Overlay({
|
||||
* map: map,
|
||||
* element: document.getElementById('popup')
|
||||
* });
|
||||
* popup.setPosition(coordinate);
|
||||
@@ -110,9 +109,6 @@ ol.Overlay = function(options) {
|
||||
if (goog.isDef(options.positioning)) {
|
||||
this.setPositioning(options.positioning);
|
||||
}
|
||||
if (goog.isDef(options.map)) {
|
||||
this.setMap(options.map);
|
||||
}
|
||||
|
||||
};
|
||||
goog.inherits(ol.Overlay, ol.Object);
|
||||
|
||||
Reference in New Issue
Block a user