My location. Overview

Usage

Finds and shows the user's current location on the map.

Rules

  • Use the component in web and mobile apps.
  • Place the button in the upper-right corner.
  • Selecting the button centres the map on the device's current location.
  • If location access is disabled, selecting the button opens a pop-up where the user can grant permission to access their location.
Variants

States

The component has the following states:

  • Default
  • Hover
  • Pressed

Variants

The component has the following variants:

  • Mode: light/dark
  • Size: default/small

Default

Default location control
Default location control

Small

Small location control
Small location control