[OpenLayers-Users] OpenLayers.Strategy.BBOX refresh layer issue

Tobias Reinicke ramotswa at gmail.com
Fri Oct 12 03:45:54 PDT 2012


Post some code for us to see how you are creating your vector layer.

also, make sure you have got either BBOX strategy OR fixed strategy - not
both...

Toby

On 12 October 2012 11:25, erwin nindl <nine-ol-users at wirdorange.org> wrote:

> hello,
>
> i have a question about *OpenLayers.Strategy.BBOX* on a
> *OpenLayers.Layer.Vector* layer:
>
> the first time, when the browser loads the vector layer, the layer loads
> its data twice: once without the bbox paramenter, i.e. "GET
> locations.json", and subsequently with the bbox parameter, i.e. "GET
>
> locations.josn?bbox=15.42697565579,47.06978087059,15.43519394421,47.072389579528".
>
> the request without bbox parameter is very slow, thus i want solely call
> the request with the bbox parameter.
>
> does somebody know a workaround?
> i am using the latest openlayers 2.12 stable release.
>
> best regards
>  erwin nindl
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121012/bf82a012/attachment.html>


More information about the Users mailing list