Update demos to use new controls system

This commit is contained in:
Tom Payne
2012-09-28 12:53:44 +02:00
parent e2e983728e
commit a46e251eb2
3 changed files with 17 additions and 26 deletions

View File

@@ -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
});