Type alias TMiMiniMapProps

TMiMiniMapProps: {
    focusOptions?: TFocusOnCameraOptions & TCameraAnimationOptions;
    location: MappedinLocation["id"] | MappedinLocation;
    onLoad?: (() => void);
    onMiniMapLoadError?: ((prop) => void);
    options: TMiMapViewOptions;
    polygonHighlightColor?: string;
    style?: any;
    venueData?: Mappedin;
}

Type declaration

  • Optional focusOptions?: TFocusOnCameraOptions & TCameraAnimationOptions
  • location: MappedinLocation["id"] | MappedinLocation
  • Optional onLoad?: (() => void)
      • (): void
      • Called when minimap is rendereed

        Returns void

  • Optional onMiniMapLoadError?: ((prop) => void)
      • (prop): void
      • Called if there's an error loading the minimap

        Parameters

        • prop: {
              error: {
                  message: ERROR_MESSAGES;
                  name: ERROR;
                  stack?: string;
              };
          }

        Returns void

  • options: TMiMapViewOptions

    Options to initialze MiMapView with

  • Optional polygonHighlightColor?: string
  • Optional style?: any
  • Optional venueData?: Mappedin

    Venue Data to render inside the MapView. This is returned by getVenue