From 80ab5d5161cbb15cdfea043fad1bb095e8192937 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sun, 4 Mar 2012 20:45:42 -0700 Subject: [PATCH] Resize on zoom (would that it were the default). --- examples/utfgrid-geography-class.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/utfgrid-geography-class.js b/examples/utfgrid-geography-class.js index 6dfcf9299d..3cc7ce4cd5 100644 --- a/examples/utfgrid-geography-class.js +++ b/examples/utfgrid-geography-class.js @@ -5,7 +5,8 @@ var osm = new OpenLayers.Layer.XYZ( "http://otile2.mqcdn.com/tiles/1.0.0/osm/${z}/${x}/${y}.png", "http://otile3.mqcdn.com/tiles/1.0.0/osm/${z}/${x}/${y}.png", "http://otile4.mqcdn.com/tiles/1.0.0/osm/${z}/${x}/${y}.png" - ] + ], + {transitionEffect: "resize"} ); var utfgrid = new OpenLayers.Layer.UTFGrid({