Shared module for overlay positioning enum
This commit is contained in:
@@ -8,6 +8,7 @@ goog.require('ol.MapProperty');
|
||||
goog.require('ol.Object');
|
||||
goog.require('ol.ObjectEventType');
|
||||
goog.require('ol.Overlay');
|
||||
goog.require('ol.OverlayPositioning');
|
||||
goog.require('ol.ViewProperty');
|
||||
goog.require('ol.control.Control');
|
||||
goog.require('ol.coordinate');
|
||||
@@ -123,7 +124,7 @@ ol.control.OverviewMap = function(opt_options) {
|
||||
*/
|
||||
this.boxOverlay_ = new ol.Overlay({
|
||||
position: [0, 0],
|
||||
positioning: ol.Overlay.Positioning.BOTTOM_LEFT,
|
||||
positioning: ol.OverlayPositioning.BOTTOM_LEFT,
|
||||
element: box
|
||||
});
|
||||
this.ovmap_.addOverlay(this.boxOverlay_);
|
||||
|
||||
Reference in New Issue
Block a user