[OpenLayers-Users] IE7 popup problem with 2.8 rc2
Frank Broniewski
brfr at metrico.lu
Fri May 8 08:53:19 EDT 2009
Ok you can see a minimal example here:
http://www.gis-hosting.lu/ietestcase/ol28.html for the 2.8 rc2 Openlayers
release I downloaded yesterday
http://www.gis-hosting.lu/ietestcase/ol27.html for the stable release
It is just an openstreetmap baselayer and a kml overlay. No stylesheets or
other javascript. Both files share the same data I just adopted the link to
the openlayers library. The server is sometimes somewhat slow though at times
;-)
On Friday 08 May 2009 13:44:00 Christopher Schmidt wrote:
> On Fri, May 08, 2009 at 11:29:43AM +0200, Frank Broniewski wrote:
> > Hi list,
> >
> > I recently tested my maps with the new OL 2.8 rc2 version in order to
> > make the multiple selectcontrol work. I use framed popups in my maps to
> > display the data. However I noticed in IE7 that the popup size is not
> > adapted to the content size, however it is when using OL 2.7.
> > System is Win Xp64, 32bit Browser version.
> >
> > I tried to find the css differences, but there aren't any apparent
> > changes that might cause this behavior, well at least I couldn't find
> > any. If necessary I can provide a test example.
>
> Please do, as minimal as possible.
>
> The only change that seems relevant is
> http://trac.openlayers.org/changeset/8906, and I can't imagine hwy that
> would be an issue. However, I don't have IE handy to test atm, and I
> want to fix any and all regressions in another RC.
>
> > So I am just reporting this issue. Maybe someone else more skilled in JS
> > and CSS is able to find out what's going on.
> >
> > I create my popups as following:
> >
> > var content = '<div style="width:350;height:250;overflow:auto;"> <h4>' +
> > feature.attributes.name+'</h4> <p class="popupcode">' +
> > feature.attributes.description + '</p> </div>';
> >
> > popup = new OpenLayers.Popup.FramedCloud("ptInfoPopup",
> > feature.geometry.getBounds().getCenterLonLat(),
> > null,
> > content,
> > null, true, function (evt) {
> > selectControl.unselect(selectedFeature);
> > });
> > popup.minSize = new OpenLayers.Size(100,150);
> > popup.maxSize = new OpenLayers.Size(400,300);
> > --
> > Frank Broniewski
> >
> > Metrico s.àr.l. ( http://www.metrico.lu )
> > 36, rue des Romains
> > L-5433 Niederdonven
> > Luxembourg
> >
> > Fon: +352 26 74 94 28
> > Fax: +352 26 74 94 99
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
--
Frank Broniewski
Metrico s.àr.l. ( http://www.metrico.lu )
36, rue des Romains
L-5433 Niederdonven
Luxembourg
Fon: +352 26 74 94 28
Fax: +352 26 74 94 99
More information about the Users
mailing list