[OpenLayers-Users] FramedCloud popup autosizing with images

Erik Uzureau euzuro at gmail.com
Fri Apr 4 12:08:20 EDT 2008


also note that if you preload the images, it should work.

this may or may not be easy to do, but if you look at the
examples/popupMatrix.html example,
you will see that the four images it uses are preloaded (offscreen) in
the body of the html

erik


On Fri, Apr 4, 2008 at 11:59 AM, Christopher Schmidt
<crschmidt at metacarta.com> wrote:
> On Fri, Apr 04, 2008 at 04:32:32PM +0100, Xin wrote:
> > Is it possible to have FramedCloud popups autosize with images without
> > specifying img width/height?
>
> No. A ticket is filed for 2.7: http://trac.openlayers.org/ticket/1469
>
> This should have enough description to work with, I believe.
>
> > The images I am using do not all have the same size. It would be great if it
> > did autosize.
>
> Sure.
>
> > If not, is there a work around? Or any advice on how to change the existing
> > code would also be appreciated.
>
> Ticket above should help.
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list