DefinitelyTyped

Index

Variables

Modules

Variables

L_DISABLE_3D: boolean

Forces Leaflet to not use hardware-accelerated CSS 3D transforms for positioning (which may cause glitches in some rare environments) even if they're supported.

L_NO_TOUCH: boolean

Forces Leaflet to not use touch events even if it detects them.

L_PREFER_CANVAS: boolean

Forces Leaflet to use the Canvas back-end (if available) for vector layers instead of SVG. This can increase performance considerably in some cases (e.g. many thousands of circle markers on the map).