Hi,
is there a way to register for the
OpenLayers.Layer.events
?
I need this to show that a slow WMS Layer is still loading.
Regards
Daniel
Hi,
is there a way to register for the
OpenLayers.Layer.events
?
I need this to show that a slow WMS Layer is still loading.
Regards
Daniel
Hi,
Unless somebody else has implemented it, there isn’t no loading related event hooks for the server side. If you are not afraid of a small Vaadin-GWT-JSNI-OpenLayers exercise, you could check out the code from project page. Else, I’d suggest to fill an issue report about missing feature. There is currently quite active development going on by Eiko, so I wouldn’t be surprised if loading listeners would be implemented sooner more than later.
cheers,
matti
Sounds interesting … if no other absolutely like to implement I can take a look at it. But I can’t promise how fast you got a solution
I had added a issue to the project page.
Kind regards,
Eiko
Hi,
I have no experience in developing vaadin components, but some time on Friday. So I will give it a try. Can one lend me a hand an write short at which points I have to hook in the code?
There is already Map.events mapped I’ve seen. Can I do it just like this for the Layer class?
Regards
Daniel
Hi Daniel,
yesterday, I had viewed the code for this issue. Unfortunately there are a lot of different layer classes that are affected. My idea is to add a new base class for layer related classes. All layer event related things can be placed there. At first I will change the class hierarchy for WebFeatureServiceLayer class. If it works a simply hierarchy change will also extend the other layers.
Btw. I’m also new in vaadin and their component development - for me the vopenlayers project is a fine place to come into this world. Be invited to the project website, check out the source code and play around with it. If you need some help with it, use the issue and comment functions there.
Kind regards,
Eiko
Hi Daniel,
take a look at the current add-on source. In version r183 I had committed the loadstart,loadend and visibilitychanged events for OpenStreetMapLayer, WebMapServiceLayer and WebFeatureServiceLayer.
Kind regards,
Eiko
Hi Eiko,
I’ve seen it this morning when I checked out the code to see if I can do it. Thanks! It’s exactly what I needed and it just works for me.
Regards
Daniel
Hi Daniel,
do you work with public gis servers (WMS, WFS)? The examples I had added are really poor. To improve and have more test cases available I’m always looking for public servers. If you have a good publicly accessible example, please let me know.
Kind regards,
Eiko
Hi Eiko,
sorry for the late response… I don’t work with public gis servers yet, since our is not ready to be public. But I could set up some example data if that would help. Just send me an email: dve (at) vergien.net
Regards
Daniel