Interface HasPopup

Components that implement this interface can display a popup on the map.

Hierarchy

  • HasPopup

Properties

Properties

popup?: ((popupGL) => ReactNode)

Type declaration

    • (popupGL): ReactNode
    • Render function that returns a React component to be displayed as the content of a custom popup.

      See

      Mapbox Popup

      Parameters

      • popupGL: Popup

        The Mapbox Popup control associated with an owning Mapbox control.

      Returns ReactNode

popupOptions?: PopupOptions

Options that are passed to the constructor of the Mapbox Popup control.

See

Mapbox Popup Parameters

Generated using TypeDoc