[OpenLayers-Users] transitionEffect bug?
soatley
shawn at niagarafalls.ca
Wed Jul 29 14:14:23 EDT 2009
I tried some very basic tests with and without the resize option and it does
seem to create a fair number of additional requests.
Here are my results...
With Resize:
Initial Load: 585 requests
+1 Zoom level: 999 requests (+414 for the zoom)
-1 Zoom level: 1096requests (+97 for the zoom)
Without Resize:
Initial Load: 419 requests
+1 Zoom level: 683 requests (+192 for the zoom)
-1 Zoom level: 731 requests (+48 for the zoom)
The site I am testing with has about 5 WMS layers, a couple of vector layers
(shouldn't matter) and about 15 tool buttons on the screen (plus the zoom
bar, pan bar). On the initial load, there are 3 layers turned on. (If this
info helps.....)
For now, I will keep the resize effect turned off because it does seem to
make a decent speed difference.
Shawn
Paul Spencer wrote:
>
> When using the resize option, two images are created for each tile.
> The 'current' image is resized when zooming and the new image is
> loaded in front of it, effectively providing greater (or lesser)
> detail. I don't think it should be making any additional requests for
> a zoom. Could be a bug, or possibly a side effect of using (firebug?)
> to monitor the requests and not having caching turned on in your
> browser?
>
> Paul
>
> On 29-Jul-09, at 6:27 AM, Andrea Di Nora wrote:
>
>> Hi, I have a question on transitionEffect with option 'resize', when
>> i use this effect on a TMS Layer, every time i make a zoom, two
>> request for each single tile have been launched. It is correct or a
>> bug? You can test with tms.html example adding transitionEffect:
>> 'resize', on TMS Layer Options.
>>
>> Thank you for response.
>>
>> Andrea _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
--
View this message in context: http://n2.nabble.com/transitionEffect-bug--tp3348923p3351576.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list