Edit page

Focus

Behavior

To focus on a specific latitude/longitude coordinate (e.g. Singapore [1.3521, 103.8198]), pass an array of coordinates to the component. Clicking on the globe or resetting the focus prop to null defocuses the globe.

Use the focus options to control how focused coordinates behave. Use the playground code editor to explore customizing the focus animations or disabling the defocus feature.