Opened 13 years ago

Closed 12 years ago

#66 closed enhancement (fixed)

Add Transition Effects

Reported by: markvolzlyoncounty Owned by: jimk
Priority: trivial Milestone: 2.6.1
Component: GeoMOOSE/JS Version: 2.6
Keywords: Cc:

Description

Consider adding layer transition effects

http://dev.openlayers.org/releases/OpenLayers-2.11/examples/transition.html

In 2.2 This was done by adding the following code to compiled.js

if (services[i].getAttribute('transition_effect')==undefined) {

transition_Effect = 'null'
} else {
transition_Effect = services[i].getAttribute('transition_effect')
}

var options = {

singleTile: tiled,
isBaseLayer: false,
transitionEffect: transition_Effect

};

Change History (5)

comment:1 by theduckylittle, 13 years ago

Milestone: 2.6Future
Version: 2.62.6.1

comment:2 by EliL, 12 years ago

Milestone: Future2.6.1
Version: 2.6.12.6

comment:3 by jimk, 12 years ago

Owner: set to jimk
Status: newassigned

comment:4 by jimk, 12 years ago

Status: assignedtesting

Implemented for WMS (MapServer) and TMS (XYZ) layer types.

New CONFIGURATION parameters set the defaults for all map-sources

<param name="layer_options.buffer">0</param> // integer # of tiles to load past viewport (tiled only)
<param name="layer_options.ratio">1</param> // float ratio of image request size to viewport (singleTile only)
<param name="layer_options.transitionEffect">[null|resize]</param>

Also, added per layer options to override the global setting. (Note: as before buffer applies to OpenLayers buffer or ratio depending on the state of tiled.)

<map-source ..... tiled="true|false" buffer="4" transitionEffect="null|resize"/>

Implemented in r945.

comment:5 by theduckylittle, 12 years ago

Resolution: fixed
Status: testingclosed
Note: See TracTickets for help on using tickets.