update google example to use reproject on overlay, even though we don't
like it much. git-svn-id: http://svn.openlayers.org/trunk/openlayers@4284 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -32,16 +32,11 @@
|
|||||||
"http://labs.metacarta.com/wms/vmap0", {layers: 'basic', 'transparent':true},
|
"http://labs.metacarta.com/wms/vmap0", {layers: 'basic', 'transparent':true},
|
||||||
{isBaseLayer: false} );
|
{isBaseLayer: false} );
|
||||||
layer.setVisibility(false);
|
layer.setVisibility(false);
|
||||||
layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
|
var twms = new OpenLayers.Layer.WMS( "World Map",
|
||||||
"http://labs.metacarta.com/wms/vmap0", {layers: 'basic', 'transparent':true},
|
|
||||||
{isBaseLayer: false} );
|
|
||||||
layer.setVisibility(false);
|
|
||||||
map.addLayer(layer);
|
|
||||||
var twms = new OpenLayers.Layer.WMS( "World Map",
|
|
||||||
"http://world.freemap.in/cgi-bin/mapserv?",
|
"http://world.freemap.in/cgi-bin/mapserv?",
|
||||||
{map: '/www/freemap.in/world/map/factbooktrans.map', transparent:'true',
|
{map: '/www/freemap.in/world/map/factbooktrans.map', transparent:'true',
|
||||||
layers: 'factbook', 'format':'png'} );
|
layers: 'factbook', 'format':'png'}, {'reproject': true} );
|
||||||
map.addLayer(twms);
|
map.addLayer(twms);
|
||||||
markers = new OpenLayers.Layer.Markers("markers");
|
markers = new OpenLayers.Layer.Markers("markers");
|
||||||
map.addLayer(markers);
|
map.addLayer(markers);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user