Perform eased zoom to avoid Firefox crash (and it looks nice too)

(closes #4421)
This commit is contained in:
Bryan Housel
2017-11-15 16:58:49 -05:00
parent 38920b2c61
commit 2962f80821
+1 -1
View File
@@ -17,7 +17,7 @@ export function uiNotice(context) {
.append('button')
.attr('class', 'zoom-to notice fillD')
.on('click', function() {
context.map().zoom(context.minEditableZoom());
context.map().zoomEase(context.minEditableZoom());
})
.on('wheel', function() { // let wheel events pass through #4482
var e2 = new WheelEvent(d3_event.type, d3_event);