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

View File

@@ -5,7 +5,7 @@ goog.require('ol.control');
goog.require('ol.control.FullScreen');
goog.require('ol.interaction');
goog.require('ol.interaction.DragRotateAndZoom');
goog.require('ol.layer.TileLayer');
goog.require('ol.layer.Tile');
goog.require('ol.source.BingMaps');
@@ -17,7 +17,7 @@ var map = new ol.Map({
new ol.interaction.DragRotateAndZoom()
]),
layers: [
new ol.layer.TileLayer({
new ol.layer.Tile({
source: new ol.source.BingMaps({
key: 'Ar33pRUvQOdESG8m_T15MUmNz__E1twPo42bFx9jvdDePhX0PNgAcEm44OVTS7tt',
style: 'Aerial'