IE tries to modify dom elements when an undeclared variable is used in a statement and the name of that variable is the id of an element on the page (see 849).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4087 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -132,11 +132,11 @@
|
|||||||
function test_Layer_Google_overlay(t) {
|
function test_Layer_Google_overlay(t) {
|
||||||
// Test for #849.
|
// Test for #849.
|
||||||
t.plan(1);
|
t.plan(1);
|
||||||
map = new OpenLayers.Map( 'map' ,
|
var map = new OpenLayers.Map( 'map' ,
|
||||||
{ controls: [] , 'numZoomLevels':20});
|
{ controls: [] , 'numZoomLevels':20});
|
||||||
|
|
||||||
var satellite = new OpenLayers.Layer.Google( "Google Satellite" , {type: G_SATELLITE_MAP, 'maxZoomLevel':18} );
|
var satellite = new OpenLayers.Layer.Google( "Google Satellite" , {type: G_SATELLITE_MAP, 'maxZoomLevel':18} );
|
||||||
layer = new OpenLayers.Layer.WMS.Untiled( "OpenLayers WMS",
|
var layer = new OpenLayers.Layer.WMS.Untiled( "OpenLayers WMS",
|
||||||
"http://labs.metacarta.com/wms/vmap0", {layers: 'basic', 'transparent':true},
|
"http://labs.metacarta.com/wms/vmap0", {layers: 'basic', 'transparent':true},
|
||||||
{isBaseLayer: false} );
|
{isBaseLayer: false} );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user