[OpenLayers-Users] OpenLayers.Strategy.BBOX refresh layer issue
erwin nindl
nine-ol-users at wirdorange.org
Fri Oct 12 04:48:48 PDT 2012
Tobias Reinicke wrote on 2012-10-12 12:45:
> 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...
>
hi tobi,
thank you for the fast reply. i had both bbox AND fixed strategy
activated. removing fixed strategy solved my problem.
best regards
erwin
> Toby
>
> On 12 October 2012 11:25, erwin nindl <nine-ol-users at wirdorange.org
> <mailto: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 <mailto:Users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
More information about the Users
mailing list