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 <[email protected]> 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
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to