Rename ol.layer.TileLayer to ol.layer.Tile

This commit is contained in:
Tom Payne
2013-09-09 15:14:45 +02:00
parent 8f6f5e42c6
commit 8f8f94e697
60 changed files with 145 additions and 145 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ goog.require('ol.View2D');
goog.require('ol.control');
goog.require('ol.control.ScaleLine');
goog.require('ol.control.ScaleLineUnits');
goog.require('ol.layer.TileLayer');
goog.require('ol.layer.Tile');
goog.require('ol.proj');
goog.require('ol.source.TileWMS');
@@ -17,7 +17,7 @@ var projection = ol.proj.configureProj4jsProjection({
var extent = [420000, 900000, 30000, 350000];
var layers = [
new ol.layer.TileLayer({
new ol.layer.Tile({
source: new ol.source.TileWMS({
url: 'http://wms.geo.admin.ch/',
crossOrigin: 'anonymous',
@@ -34,7 +34,7 @@ var layers = [
extent: extent
})
}),
new ol.layer.TileLayer({
new ol.layer.Tile({
source: new ol.source.TileWMS({
url: 'http://wms.geo.admin.ch/',
crossOrigin: 'anonymous',