Rename ol.View2D to ol.View

This commit is contained in:
Tim Schaub
2014-06-26 16:51:26 -04:00
parent b9f444a008
commit 47d37fabea
98 changed files with 302 additions and 302 deletions

View File

@@ -1,5 +1,5 @@
goog.require('ol.Map');
goog.require('ol.View2D');
goog.require('ol.View');
goog.require('ol.interaction');
goog.require('ol.interaction.Modify');
goog.require('ol.interaction.Select');
@@ -243,7 +243,7 @@ var map = new ol.Map({
interactions: ol.interaction.defaults().extend([select, modify]),
layers: [layer],
target: 'map',
view: new ol.View2D({
view: new ol.View({
center: [0, 1000000],
zoom: 2
})