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

erwin nindl nine-ol-users at wirdorange.org
Fri Oct 12 03:25:33 PDT 2012


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


More information about the Users mailing list