openlayers trunk version<br><br><div class="gmail_quote">On Tue, Dec 13, 2011 at 1:43 PM, Bart van den Eijnden (OSGIS) <span dir="ltr"><<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Since for vector layers strategies retrieve the data, the strategies<br>
should be responsible for firing loadstart and loadend on the layer.<br>
<br>
The Fixed and the BBOX Strategy already do this.<br>
<br>
What version of OpenLayers are you using?<br>
<br>
Bart<br>
<div class="im"><br>
> On Tue, Dec 13, 2011 at 1:21 PM, Dominik Mikiewicz<br>
> <<a href="mailto:dominikmikiewicz@o2.pl">dominikmikiewicz@o2.pl</a>>wrote:<br>
><br>
>> You can easilly extend vector layer class to make it fire events as<br>
>> needed.<br>
</div>>> ****<br>
>><br>
>> **<br>
<div class="im">>><br>
> how to do this?<br>
> extenting vector layer class to fire events<br>
><br>
> please tell me. I dont have much knowlege in it<br>
><br>
</div>>> **<br>
>><br>
>> *From:* <a href="mailto:openlayers-users-bounces@lists.osgeo.org">openlayers-users-bounces@lists.osgeo.org</a> [mailto:<br>
>> <a href="mailto:openlayers-users-bounces@lists.osgeo.org">openlayers-users-bounces@lists.osgeo.org</a>] *On Behalf Of *Mohammed Rashad<br>
>> *Sent:* Tuesday, December 13, 2011 6:23 AM<br>
>> *To:* <a href="mailto:openlayers-users@lists.osgeo.org">openlayers-users@lists.osgeo.org</a><br>
>> *Subject:* [OpenLayers-Users] loadstart and loadend event not<br>
>> triggering**<br>
>> **<br>
>><br>
>> ** **<br>
>><br>
>> All,****<br>
>><br>
>> openlayers loadstart and loadend event not triggering****<br>
>><br>
>> I register the event to OpenLayers.Layer.Vector****<br>
>><br>
>> ** **<br>
>><br>
>> What I am missing??****<br>
>><br>
>> ** **<br>
>><br>
>> Here is my code****<br>
>><br>
>> function loadStartListener(event)****<br>
>><br>
>> {****<br>
>><br>
>> alert(0); //not reaching here****<br>
>><br>
>> ** **<br>
>><br>
>> }****<br>
>><br>
>> ** **<br>
>><br>
>> ** **<br>
>><br>
>> vectors = new OpenLayers.Layer.Vector(layername_ );****<br>
>><br>
>> map.addLayer(vectors);****<br>
>><br>
>> vectors.events.register("loadstart", '', loadStartListener);****<br>
>><br>
>> ** **<br>
>><br>
>> -- ****<br>
>><br>
>> Regards****<br>
>><br>
>> ** **<br>
>><br>
><br>
><br>
><br>
> --<br>
> Regards,<br>
<div><div></div><div class="h5">> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
><br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,</font></div><div><font face="arial, helvetica, sans-serif"><div><img src="http://upload.wikimedia.org/wikipedia/commons/f/f9/Albert_Einstein_signature.jpg"><br>
</div></font></div><br>