Type Alias TGetMapDataSharedOptions

TGetMapDataSharedOptions: {
    authBaseUri?: string;
    bundleBaseUri?: string;
    emitAnalyticsEvents?: boolean;
    mapId: string;
    onMVFParsed?: ((mvf: TMVF) => void);
    viewId?: string;
}

Type declaration

  • OptionalauthBaseUri?: string

    Optionally provide a custom base URL for the Mappedin auth token request.

  • OptionalbundleBaseUri?: string

    Optionally provide a custom base URL for the Mappedin map API request.

  • OptionalemitAnalyticsEvents?: boolean

    Whether or not to emit analytics events.

    true
    
  • mapId: string

    Mappedin map ID.

  • OptionalonMVFParsed?: ((mvf: TMVF) => void)

    Callback for when the Mappedin map data has been fetched and parsed as Mappedin Venue Format (MVF) data.

      • (mvf): void
      • Parameters

        • mvf: TMVF

          Parsed MVF data.

        Returns void

  • OptionalviewId?: string

    Load different view of mvf data based on configId