By default only enable markerZoomAnimation if the browser supports transition and 3d. Allows Browser.any3d=false hack to work again
This commit is contained in:
parent
50c6c480b4
commit
dc46ae2ae3
@ -17,7 +17,7 @@ L.Map = L.Class.extend({
|
||||
|
||||
fadeAnimation: L.DomUtil.TRANSITION && !L.Browser.android,
|
||||
trackResize: true,
|
||||
markerZoomAnimation: true
|
||||
markerZoomAnimation: L.DomUtil.TRANSITION && L.Browser.any3d
|
||||
},
|
||||
|
||||
initialize: function (id, options) { // (HTMLElement or String, Object)
|
||||
|
Loading…
Reference in New Issue
Block a user