Update demos to use new controls system
This commit is contained in:
@@ -5,7 +5,6 @@ goog.require('ol.Collection');
|
||||
goog.require('ol.Coordinate');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapOptions'); // FIXME this should not be required
|
||||
goog.require('ol.control.Zoom');
|
||||
goog.require('ol.source.MapQuestOpenAerial');
|
||||
|
||||
|
||||
@@ -23,7 +22,3 @@ var map = new ol.Map(document.getElementById('map'), {
|
||||
layers: new ol.Collection([layer]),
|
||||
zoom: 2
|
||||
});
|
||||
var zoom = new ol.control.Zoom({
|
||||
delta: 4,
|
||||
map: map
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user