pigeon-maps v0.10.0 Release Notes

Release Date: 2018-09-10 // over 5 years ago
  • 🆕 New updates

    • width and height can now be omitted to force the component to 100% of the parent container
    • 0️⃣ defaultWidth and defaultHeight are added to specify a placeholder width/height for the initial render and server rendering
    • 👀 mouseEvents and touchEvents can be used to enable/disable mouse and touch events completely
    • animateMaxScreens specifies how far must a change to center be before we stop smoothly animating to it
    • twoFingerDrag and twoFingerDragWarning can be used to block dragging the map with one finger
    • onAnimationStart and onAnimationEnd callbacks notify us if the map is moving or not

    💥 Breaking changes

    • 0️⃣ zoomSnap is now enabled by default
    • metaWheelZoom replaces zoomOnMouseWheel and is reversed (previous false is now true)
    • metaWheelZoomWarning replaces mouseWheelMetaText

    Other changes

    • 🛠 There have been numerous bug fixes since the 0.9 series, too many to mention all now