Change WMS server in examples
This commit is contained in:
@@ -9,11 +9,9 @@ goog.require('ol.source.TileWMS');
|
|||||||
var layers = [
|
var layers = [
|
||||||
new ol.layer.Tile({
|
new ol.layer.Tile({
|
||||||
source: new ol.source.TileWMS({
|
source: new ol.source.TileWMS({
|
||||||
url: 'http://vmap0.tiles.osgeo.org/wms/vmap0',
|
url: 'http://demo.opengeo.org/geoserver/wms',
|
||||||
params: {
|
params: {
|
||||||
'VERSION': '1.1.1',
|
'LAYERS': 'ne:NE1_HR_LC_SR_W_DR'
|
||||||
'LAYERS': 'basic',
|
|
||||||
'FORMAT': 'image/jpeg'
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
+2
-4
@@ -14,11 +14,9 @@ var map = new ol.Map({
|
|||||||
layers: [
|
layers: [
|
||||||
new ol.layer.Tile({
|
new ol.layer.Tile({
|
||||||
source: new ol.source.TileWMS({
|
source: new ol.source.TileWMS({
|
||||||
url: 'http://vmap0.tiles.osgeo.org/wms/vmap0',
|
url: 'http://demo.opengeo.org/geoserver/wms',
|
||||||
params: {
|
params: {
|
||||||
'VERSION': '1.1.1',
|
'LAYERS': 'ne:NE1_HR_LC_SR_W_DR'
|
||||||
'LAYERS': 'basic',
|
|
||||||
'FORMAT': 'image/jpeg'
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user