Making this closer to a positive assertion.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10037 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -10,15 +10,15 @@
|
|||||||
var map;
|
var map;
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
var mapOptions = {
|
var mapOptions = {
|
||||||
projection: "EPSG:900913",
|
projection: "EPSG:900913",
|
||||||
displayProjection: new OpenLayers.Projection("EPSG:4326"), //Pour afficher les coord lat long
|
displayProjection: new OpenLayers.Projection("EPSG:4326"), //Pour afficher les coord lat long
|
||||||
units: "m",
|
units: "m",
|
||||||
maxResolution: 156543.0339,
|
maxResolution: 156543.0339,
|
||||||
maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34, 20037508.34),
|
maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34, 20037508.34),
|
||||||
controls: [new OpenLayers.Control.LayerSwitcher()],
|
controls: [new OpenLayers.Control.LayerSwitcher()],
|
||||||
numZoomLevels: 20
|
numZoomLevels: 20
|
||||||
};
|
};
|
||||||
map = new OpenLayers.Map('map', mapOptions);
|
map = new OpenLayers.Map('map', mapOptions);
|
||||||
|
|
||||||
var dummy = new OpenLayers.Layer(
|
var dummy = new OpenLayers.Layer(
|
||||||
@@ -40,15 +40,14 @@
|
|||||||
|
|
||||||
<div id="tags"></div>
|
<div id="tags"></div>
|
||||||
|
|
||||||
<p id="shortdesc"><ol>
|
<p id="shortdesc">
|
||||||
<li>Click
|
<ol>
|
||||||
<button onclick="var m = document.getElementById('map').style; m.height = '400px'; m.width = '800px'; map.updateSize(); return false;">Resize</button></li>
|
<li>Click
|
||||||
<li>Open the LayerSwitcher and switch to Google Streets</li>
|
<button onclick="var m = document.getElementById('map').style; m.height = '400px'; m.width = '800px'; map.updateSize(); return false;">Resize</button></li>
|
||||||
<li>See only a small rectangle with a Google map, not the whole map area</li>
|
<li>Open the LayerSwitcher and switch to Google Streets</li>
|
||||||
</ol>
|
<li>Confirm that the whole map area is populated with tiles</li>
|
||||||
Note: This test also shows another unrelated issue: "Terms of Use" is visible
|
</ol>
|
||||||
before the Google layer is selected in the LayerSwitcher.
|
</p>
|
||||||
</p>
|
|
||||||
|
|
||||||
<div id="map" style="width: 200px; height: 200px"></div>
|
<div id="map" style="width: 200px; height: 200px"></div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user