Interface LeafletTransitionOptions

Set of option to configure the transition when the user click on a result on Leaflet.

const transition = {
type: 'hybrid',
}
interface LeafletTransitionOptions {
    type?: "none" | "hybrid" | "fly" | "jump";
}

Hierarchy (View Summary)

Properties

Properties

type?: "none" | "hybrid" | "fly" | "jump"

Type of camera move on result selection.

  • jump: change the position of the camera without animation
  • fly: animating camera transition along curve that evokes flight
  • hybrid: use fly when the camera is near the point and jump otherwise