diff --git a/examples/wms-single-image-custom-proj.html b/examples/wms-image-custom-proj.html similarity index 90% rename from examples/wms-single-image-custom-proj.html rename to examples/wms-image-custom-proj.html index e44ca9cf37..78c1b82e4f 100644 --- a/examples/wms-single-image-custom-proj.html +++ b/examples/wms-image-custom-proj.html @@ -41,7 +41,7 @@

Example of two single image WMS layers.

Pixelmap 1:1'000'000 with National Parks overlay using the projection EPSG:21781.

-

See the wms-single-image-custom-proj.js source to see how this is done.

+

See the wms-image-custom-proj.js source to see how this is done.

wms, single image, projection
@@ -52,7 +52,7 @@ - + diff --git a/examples/wms-single-image-custom-proj.js b/examples/wms-image-custom-proj.js similarity index 92% rename from examples/wms-single-image-custom-proj.js rename to examples/wms-image-custom-proj.js index 5313015614..8857bf3af3 100644 --- a/examples/wms-single-image-custom-proj.js +++ b/examples/wms-image-custom-proj.js @@ -4,7 +4,7 @@ goog.require('ol.RendererHints'); goog.require('ol.View2D'); goog.require('ol.layer.Image'); goog.require('ol.proj'); -goog.require('ol.source.SingleImageWMS'); +goog.require('ol.source.ImageWMS'); var projection = ol.proj.configureProj4jsProjection({ @@ -15,7 +15,7 @@ var projection = ol.proj.configureProj4jsProjection({ var extent = [420000, 900000, 30000, 350000]; var layers = [ new ol.layer.Image({ - source: new ol.source.SingleImageWMS({ + source: new ol.source.ImageWMS({ url: 'http://wms.geo.admin.ch/', crossOrigin: 'anonymous', attributions: [new ol.Attribution({ @@ -32,7 +32,7 @@ var layers = [ }) }), new ol.layer.Image({ - source: new ol.source.SingleImageWMS({ + source: new ol.source.ImageWMS({ url: 'http://wms.geo.admin.ch/', crossOrigin: 'anonymous', attributions: [new ol.Attribution({ diff --git a/examples/wms-single-image.html b/examples/wms-image.html similarity index 90% rename from examples/wms-single-image.html rename to examples/wms-image.html index e0382abee3..25d5702159 100644 --- a/examples/wms-single-image.html +++ b/examples/wms-image.html @@ -40,7 +40,7 @@

Single image WMS example

Example of a single image WMS layer.

-

See the wms-single-image.js source to see how this is done.

+

See the wms-image.js source to see how this is done.

wms, image
@@ -49,7 +49,7 @@ - + diff --git a/examples/wms-single-image.js b/examples/wms-image.js similarity index 88% rename from examples/wms-single-image.js rename to examples/wms-image.js index 54b9fa696b..00fa91464d 100644 --- a/examples/wms-single-image.js +++ b/examples/wms-image.js @@ -3,8 +3,8 @@ goog.require('ol.RendererHint'); goog.require('ol.View2D'); goog.require('ol.layer.Image'); goog.require('ol.layer.Tile'); +goog.require('ol.source.ImageWMS'); goog.require('ol.source.MapQuestOpenAerial'); -goog.require('ol.source.SingleImageWMS'); var layers = [ @@ -12,7 +12,7 @@ var layers = [ source: new ol.source.MapQuestOpenAerial() }), new ol.layer.Image({ - source: new ol.source.SingleImageWMS({ + source: new ol.source.ImageWMS({ url: 'http://demo.opengeo.org/geoserver/wms', params: {'LAYERS': 'topp:states'}, extent: [-13884991, -7455066, 2870341, 6338219] diff --git a/examples/wms-no-proj.js b/examples/wms-no-proj.js index 6b836a8426..f85dcbf4d8 100644 --- a/examples/wms-no-proj.js +++ b/examples/wms-no-proj.js @@ -6,7 +6,7 @@ goog.require('ol.RendererHints'); goog.require('ol.View2D'); goog.require('ol.layer.Image'); goog.require('ol.layer.Tile'); -goog.require('ol.source.SingleImageWMS'); +goog.require('ol.source.ImageWMS'); goog.require('ol.source.TileWMS'); @@ -28,7 +28,7 @@ var layers = [ }) }), new ol.layer.Image({ - source: new ol.source.SingleImageWMS({ + source: new ol.source.ImageWMS({ attributions: [new ol.Attribution({ html: '© ' + '