|
|
|
|
@ -84,14 +84,34 @@ const PROPS = {
|
|
|
|
|
zoomDelta: { kind: 'num', attr: 'zoom-delta', default: 1 },
|
|
|
|
|
keyboardPanDelta: { kind: 'num', attr: 'keyboard-pan-delta', default: 80 },
|
|
|
|
|
wheelDebounceTime: { kind: 'num', attr: 'wheel-debounce-time', default: 40 },
|
|
|
|
|
wheelPxPerZoomLevel: { kind: 'num', attr: 'wheel-px-per-zoom-level', default: 60 },
|
|
|
|
|
inertiaDeceleration: { kind: 'num', attr: 'inertia-deceleration', default: 3000 },
|
|
|
|
|
inertiaMaxSpeed: { kind: 'num', attr: 'inertia-max-speed', default: Infinity },
|
|
|
|
|
wheelPxPerZoomLevel: {
|
|
|
|
|
kind: 'num',
|
|
|
|
|
attr: 'wheel-px-per-zoom-level',
|
|
|
|
|
default: 60,
|
|
|
|
|
},
|
|
|
|
|
inertiaDeceleration: {
|
|
|
|
|
kind: 'num',
|
|
|
|
|
attr: 'inertia-deceleration',
|
|
|
|
|
default: 3000,
|
|
|
|
|
},
|
|
|
|
|
inertiaMaxSpeed: {
|
|
|
|
|
kind: 'num',
|
|
|
|
|
attr: 'inertia-max-speed',
|
|
|
|
|
default: Infinity,
|
|
|
|
|
},
|
|
|
|
|
easeLinearity: { kind: 'num', attr: 'ease-linearity', default: 0.2 },
|
|
|
|
|
maxBoundsViscosity: { kind: 'num', attr: 'max-bounds-viscosity', default: 0 },
|
|
|
|
|
tapTolerance: { kind: 'num', attr: 'tap-tolerance', default: 15 },
|
|
|
|
|
zoomAnimationThreshold: { kind: 'num', attr: 'zoom-animation-threshold', default: 4 },
|
|
|
|
|
transform3DLimit: { kind: 'num', attr: 'transform-3d-limit', default: 8388608 },
|
|
|
|
|
zoomAnimationThreshold: {
|
|
|
|
|
kind: 'num',
|
|
|
|
|
attr: 'zoom-animation-threshold',
|
|
|
|
|
default: 4,
|
|
|
|
|
},
|
|
|
|
|
transform3DLimit: {
|
|
|
|
|
kind: 'num',
|
|
|
|
|
attr: 'transform-3d-limit',
|
|
|
|
|
default: 8388608,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// Boolean defaults-true → disable-* attribute; handler-based options have live mapSet
|
|
|
|
|
scrollWheelZoom: {
|
|
|
|
|
@ -131,8 +151,14 @@ const PROPS = {
|
|
|
|
|
inertia: { kind: 'bool-off', attr: 'disable-inertia' },
|
|
|
|
|
zoomAnimation: { kind: 'bool-off', attr: 'disable-zoom-animation' },
|
|
|
|
|
fadeAnimation: { kind: 'bool-off', attr: 'disable-fade-animation' },
|
|
|
|
|
markerZoomAnimation: { kind: 'bool-off', attr: 'disable-marker-zoom-animation' },
|
|
|
|
|
bounceAtZoomLimits: { kind: 'bool-off', attr: 'disable-bounce-at-zoom-limits' },
|
|
|
|
|
markerZoomAnimation: {
|
|
|
|
|
kind: 'bool-off',
|
|
|
|
|
attr: 'disable-marker-zoom-animation',
|
|
|
|
|
},
|
|
|
|
|
bounceAtZoomLimits: {
|
|
|
|
|
kind: 'bool-off',
|
|
|
|
|
attr: 'disable-bounce-at-zoom-limits',
|
|
|
|
|
},
|
|
|
|
|
tapHold: { kind: 'bool-off', attr: 'disable-tap-hold' },
|
|
|
|
|
|
|
|
|
|
// Boolean defaults-false → normal attribute
|
|
|
|
|
|