[Users] geoext.popup - position problem
richard hanssen
semska at gmail.com
Wed Jun 2 10:09:04 CEST 2010
Hi all,
I use the geoext popup to display information from features in the map.
My problem is that the positioning of the anchored popup is done
before all the content is rendered.
The content in the popups html element consists of both text an
images. The height of the popup is set before the images is fully
loaded, and this leads the popups position/anchor to point below the
actual feature when the image loads.
My popup def:
popupInstance= new GeoExt.Popup({
title: 'Title',
feature: feature,
width: width,
html: 'content with both text and images',
maximizable: false,
collapsible: false,
unpinnable: false
});
Any ideas? Any events that can be called when all content is rendered?
I have earlier used OpenLayers' framedCload popup, en the positioning
of this was not problematic.
Please help.
semska
More information about the Users
mailing list