Changeset 1389
- Timestamp:
- 08/26/06 21:46:09 (2 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Layer/MultiMap.js (modified) (3 diffs)
- trunk/openlayers/tests/list-tests.html (modified) (1 diff)
- trunk/openlayers/tests/run-tests.html (modified) (1 diff)
- trunk/openlayers/tests/test_Layer_MultiMap.html (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Layer/MultiMap.js
r1370 r1389 238 238 */ 239 239 getOLZoomFromMMZoom: function(mmZoom) { 240 return mmZoom - 1; 240 if (mmZoom) return mmZoom - 1; 241 return null; 241 242 }, 242 243 … … 249 250 */ 250 251 getMMZoomFromOLZoom: function(olZoom) { 251 return olZoom + 1; 252 if (olZoom) return olZoom + 1; 253 return null; 252 254 }, 253 255 … … 327 329 }, 328 330 331 destroy: function() { 332 this.multimap = null; 333 OpenLayers.Layer.EventPane.prototype.destroy.apply(this, arguments); 334 }, 335 329 336 /** @final @type String */ 330 337 CLASS_NAME: "OpenLayers.Layer.MultiMap" trunk/openlayers/tests/list-tests.html
r1369 r1389 20 20 <li>test_Layer_WMS.html</li> 21 21 <li>test_Layer_Google.html</li> 22 <li>test_Layer_MultiMap.html</li> 22 23 <li>test_Tile.html</li> 23 24 <li>test_Tile_Image.html</li> trunk/openlayers/tests/run-tests.html
r1096 r1389 786 786 { 787 787 var test_page=Test.AnotherWay._g_tests_queue[0]; 788 test_page.loading_timeout_milliseconds= 2000;788 test_page.loading_timeout_milliseconds=4000; 789 789 test_page.timeout_id=setTimeout( Test.AnotherWay._loading_timeout, Test.AnotherWay._g_timeout_granularity ); 790 790 test_page.wait_msg=Test.AnotherWay._print_counter_result( test_page.url, "loading...", test_page.loading_timeout_milliseconds, "loading" );
