Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface for different Map Implemenations (e.g. Mapbox GL JS, Mapbox.js, Leaflet, ...)

Type parameters

  • MAP

Hierarchy

  • IMap

Index

Methods

addLayer

  • Parameters

    Returns ILayer

addLine

  • Parameters

    Returns ILine

addLineArrows

  • addLineArrows(line: ILine): void
  • Parameters

    Returns void

addLocationMarker

  • Adds the default location marker to the map

    since

    1.0.1

    Parameters

    Returns IMarkerImpl

addMarker

clearLine

  • clearLine(line: ILine): void
  • Parameters

    Returns void

clearMetaLayer

  • Parameters

    Returns void

clearTour

  • clearTour(): void
  • Returns void

createMap

  • Parameters

    Returns MAP

createPopup

findItem

  • Parameters

    • guid: string

    Returns Promise<IWrappedItem>

fire

  • fire<TYPE>(type: TYPE, event: IMapEvents[TYPE]): void
  • Type parameters

    Parameters

    • type: TYPE
    • event: IMapEvents[TYPE]

    Returns void

fitBounds

  • Parameters

    Returns void

fitLayer

  • fitLayer(layer: ILayer): void
  • Parameters

    Returns void

flyTo

  • Parameters

    Returns void

getContainer

  • getContainer(): HTMLElement
  • Returns HTMLElement

getDefaultSearchAPI

getExperience

  • getExperience(): string | undefined
  • Returns string | undefined

getFullSearchAPI

getMap

  • getMap(): MAP
  • Returns MAP

getMarkerTypesProvider

  • getMarkerTypesProvider(): IMarkerTypesProvider
  • Returns IMarkerTypesProvider

getMetaLayer

  • Returns IMetaLayer | undefined

getPredefinedConfig

getSelectedItem

  • Returns IWrappedItem | undefined

hidePopup

  • hidePopup(): void
  • since

    1.0.1

    Returns void

isFullscreen

  • isFullscreen(): boolean
  • Returns boolean

isLoaded

  • isLoaded(): boolean
  • since

    1.0.1

    Returns boolean

loadMetaLayer

off

  • Removes a event listener. All available events can be found at IMapEvents

    Type parameters

    Parameters

    Returns void

on

  • Adds a event listener. All available events can be found at IMapEvents

    example
    
    map.on("load", function(event) {
      event.map.showContent( { experience: "demo-dahoam", limit: 5 } );
    });

    Type parameters

    Parameters

    Returns void

resize

  • resize(): void
  • Resizes the map. This should be done after changing the size of the container element.

    Returns void

selectItem

setExperience

  • setExperience(exp: string): Promise<void>
  • Parameters

    • exp: string

    Returns Promise<void>

setFullscreen

  • setFullscreen(fullscreen: boolean): void
  • Parameters

    • fullscreen: boolean

    Returns void

setMapStyle

  • setMapStyle(id: string): void
  • Parameters

    • id: string

    Returns void

showContent

  • Shows d.meta data on the map.

    since

    1.0.1 (possible to use IMetaLightResult)

    Parameters

    Returns Promise<IMetaLayer>

showItem

showPopup

  • showPopup(popup: IPopup): void
  • Parameters

    Returns void

showTour

  • showTour(globalId: string): Promise<ILine>
  • Parameters

    • globalId: string

    Returns Promise<ILine>

unselectAll

  • unselectAll(): void
  • Returns void