[OpenLayers-Dev] Event used for image layer and resizing of layer

bartvde at osgis.nl bartvde at osgis.nl
Mon Aug 25 03:14:04 EDT 2008


AFAIK the load events are not yet implemented for the Image Layer.

Patches welcome ofcourse. Shouldn't be too hard to implement since the
underlying OpenLayers.Tile.Image has the events.

Best regards,
Bart

> Dear all,
>
> Would anyone know why dont the event work for the Image Layer.
>
> I have something like:
>
>
> graphic.events.register("loadstart", null, onUpdatingMap);
>
> graphic.events.register("loadend", null, onUpdatedMap);
> And none of those events get fired. I tried this on WMS layer and it work
> ok.
>
> Any ideas?
>
> One more question in regards to image layers.
>
> How would i resize the image layer on the page?
>
> Any ideas? Do i resize the map or just the layer?
>
> Thank you for your help in advance.
>
> Cheers
> Dan
>
> --
> Radiceski Dan
> University of Wollongong
> Australia
> SIFE - UOW Chapter - Alumni
> CASUAL ACADEMIC STAFF TEACHING - UOW SITACS
> (School of Information Technology and Computer Science,University of
> Wollongong)
> Univeristy of Wollongong - Alumni
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>





More information about the Dev mailing list