I need the behavior of transitionEffect:'resize' which when you zoom in or out displays an image based on the previous extent until the rendering server returns the image based on the newly zoomed in area.

Comments

tmcw’s picture

Title: need the behavior of transitionEffect:'resize' which displays an image based on the previous extent » Implement transitionEffect on Tile-based layers

This suggests that it might be a good idea to actually subclass layers in order to avoid reimplementing common settings in different places.

zzolo’s picture

Version: 6.x-2.0-alpha7 » 6.x-2.x-dev

Hey @tmcw. Sub-classing should not be a hard thing to do, given that the ctools plugin architecture is all about it. Should the aim of this issue be that, instead of the more specific transitionEffect?

As far as doing the sub-classing/extending, it would just be a matter of ensuring that all options_init and options_form all get values form their parents first.

zzolo’s picture

Title: Implement transitionEffect on Tile-based layers » Abstract out layer types
Version: 6.x-2.x-dev » 7.x-2.x-dev

So, transitionEffect should already be supported, just not in the interface.

I am going to change this issue to be about abstracting out layers. This could be a base layer type and then maybe an abstracted base layer type, or just a sinle abstracted layer type.

zzolo’s picture

Component: Behaviors » OL API
Status: Active » Closed (won't fix)

Closing. We may address something like this in v3.