Resize transitions by default
This commit is contained in:
@@ -96,16 +96,16 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
||||
* {String} The transition effect to use when the map is zoomed.
|
||||
* Two posible values:
|
||||
*
|
||||
* null - No transition effect (the default).
|
||||
* "resize" - Existing tiles are resized on zoom to provide a visual
|
||||
* effect of the zoom having taken place immediately. As the
|
||||
* new tiles become available, they are drawn over top of the
|
||||
* resized tiles.
|
||||
* resized tiles (this is the default setting).
|
||||
* null - No transition effect.
|
||||
*
|
||||
* Using "resize" on non-opaque layers can cause undesired visual
|
||||
* effects. This is therefore discouraged.
|
||||
* effects. Set transitionEffect to null in this case.
|
||||
*/
|
||||
transitionEffect: null,
|
||||
transitionEffect: "resize",
|
||||
|
||||
/**
|
||||
* APIProperty: numLoadingTiles
|
||||
|
||||
Reference in New Issue
Block a user