Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
tmcw CreditAttribution: tmcw commentedThis suggests that it might be a good idea to actually subclass layers in order to avoid reimplementing common settings in different places.
Comment #2
zzolo CreditAttribution: zzolo commentedHey @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.
Comment #3
zzolo CreditAttribution: zzolo commentedSo, 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.
Comment #4
zzolo CreditAttribution: zzolo commentedClosing. We may address something like this in v3.