Use map.div as container.
map.layerContainerDiv has a dimension now, but we want a container with the full map viewport. r=elemoine (closes http://trac.osgeo.org/openlayers/ticket/3567)
This commit is contained in:
@@ -513,7 +513,7 @@ OpenLayers.Popup = OpenLayers.Class({
|
||||
this.contentDiv.innerHTML +
|
||||
"</div>";
|
||||
|
||||
var containerElement = (this.map) ? this.map.layerContainerDiv
|
||||
var containerElement = (this.map) ? this.map.div
|
||||
: document.body;
|
||||
var realSize = OpenLayers.Util.getRenderedDimensions(
|
||||
preparedHTML, null, {
|
||||
|
||||
Reference in New Issue
Block a user