From 74aaf479a553dcbf3e6891080737d9de0cba06f7 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 9 Feb 2010 23:01:47 +0000 Subject: [PATCH] Making this closer to a positive assertion. git-svn-id: http://svn.openlayers.org/trunk/openlayers@10037 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/manual/google-resize.html | 35 ++++++++++++++++----------------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/tests/manual/google-resize.html b/tests/manual/google-resize.html index 5b1e94b30b..c1384dfd6e 100644 --- a/tests/manual/google-resize.html +++ b/tests/manual/google-resize.html @@ -10,15 +10,15 @@ var map; function init() { - var mapOptions = { - projection: "EPSG:900913", - displayProjection: new OpenLayers.Projection("EPSG:4326"), //Pour afficher les coord lat long - units: "m", - maxResolution: 156543.0339, - maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34, 20037508.34), - controls: [new OpenLayers.Control.LayerSwitcher()], - numZoomLevels: 20 - }; + var mapOptions = { + projection: "EPSG:900913", + displayProjection: new OpenLayers.Projection("EPSG:4326"), //Pour afficher les coord lat long + units: "m", + maxResolution: 156543.0339, + maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34, 20037508.34), + controls: [new OpenLayers.Control.LayerSwitcher()], + numZoomLevels: 20 + }; map = new OpenLayers.Map('map', mapOptions); var dummy = new OpenLayers.Layer( @@ -40,15 +40,14 @@
-

    -
  1. Click -
  2. -
  3. Open the LayerSwitcher and switch to Google Streets
  4. -
  5. See only a small rectangle with a Google map, not the whole map area
  6. -
- Note: This test also shows another unrelated issue: "Terms of Use" is visible - before the Google layer is selected in the LayerSwitcher. -

+

+

    +
  1. Click +
  2. +
  3. Open the LayerSwitcher and switch to Google Streets
  4. +
  5. Confirm that the whole map area is populated with tiles
  6. +
+