Remove map from control options

This commit is contained in:
Tim Schaub
2013-08-30 14:59:21 -06:00
parent 29317c3316
commit b479909e25
13 changed files with 6 additions and 31 deletions

View File

@@ -6,11 +6,10 @@ describe('ol.control.ZoomSlider', function() {
beforeEach(function() {
target = document.createElement('div');
document.body.appendChild(target);
zoomslider = new ol.control.ZoomSlider();
map = new ol.Map({
target: target
});
zoomslider = new ol.control.ZoomSlider({
map: map
target: target,
controls: [zoomslider]
});
});