@situm/react-native
    Preparing search index...

    Interface MapViewProps

    interface MapViewProps {
        configuration: MapViewConfiguration;
        onExternalLinkClicked?: (event: OnExternalLinkClickedResult) => void;
        onFavoritePoisUpdated?: (event: OnFavoritePoisUpdatedResult) => void;
        onFloorChanged?: (event: OnFloorChangedResult) => void;
        onLoad?: (event: any) => void;
        onLoadError?: (event: MapViewError) => void;
        onPoiDeselected?: (event: OnPoiDeselectedResult) => void;
        onPoiSelected?: (event: OnPoiSelectedResult) => void;
        style?: StyleProp<ViewStyle>;
    }
    Index

    Properties

    configuration: MapViewConfiguration

    The required basic configuration to use our MapView.

    onExternalLinkClicked?: (event: OnExternalLinkClickedResult) => void

    Callback invoked when the user clicks on a link in the MapView that leads to a website different from the MapView's domain. For example some POI description may contain a link to a video or a website, and if this callback is not set, the link will be opened in the system's default browser by default.

    Type declaration

    onFavoritePoisUpdated?: (event: OnFavoritePoisUpdatedResult) => void

    Callback invoked when the list of favoritePois is updated

    Type declaration

    onFloorChanged?: (event: OnFloorChangedResult) => void

    Get notified when the current floor displayed on the map has changed.

    Type declaration

    onLoad?: (event: any) => void

    Get notified when the MapView has been loaded and is ready to receive actions.

    onLoadError?: (event: MapViewError) => void

    Get notified when an error has occurred during the MapView load process.

    Type declaration

    onPoiDeselected?: (event: OnPoiDeselectedResult) => void

    Get notified when the selected POI is deselected.

    Type declaration

    onPoiSelected?: (event: OnPoiSelectedResult) => void

    Get notified when a POI is selected.

    Type declaration

    style?: StyleProp<ViewStyle>