Skip to main content

Mapsvg

Hierarchy

Implements

Index

Constructors

constructor

Properties

ResizeSensor

ResizeSensor: typeof ResizeSensor = ResizeSensor

_nonce

_nonce: string

defaultMarkerImage

defaultMarkerImage: string

distanceSearch

distanceSearch: any

googleMaps

googleMaps: { apiIsLoading: boolean; apiKey: string; loaded: boolean; onLoadCallbacks: () => void[] }

Type declaration

  • apiIsLoading: boolean
  • apiKey: string
  • loaded: boolean
  • onLoadCallbacks: () => void[]

googleMapsApiLoaded

googleMapsApiLoaded: boolean = false

google_maps_api_key

google_maps_api_key: string

initialized

initialized: boolean

instances

instances: MapSVGMap[]

loaded

loaded: boolean = false

markerImages

markerImages: { file: string; folder: string; relativeUrl?: string; url: string }[]

mediaUploader

mediaUploader: any

meta

meta: Record<string, any> = {}

mouse

mouse: { x: number; y: number } = ...

Type declaration

  • x: number
  • y: number

routes

routes: MapsvgRoutes

templatesLoaded

templatesLoaded: Record<string, boolean> = {}

version

version: string = "process.env.VERSION"

staticinitialized

initialized: boolean = false

Accessors

googleMapsApiKey

  • get googleMapsApiKey(): string
  • Returns string

nonce

  • get nonce(): string
  • set nonce(_nonce: string): void
  • Returns string

  • Parameters

    • _nonce: string

    Returns void

Methods

addInstance

  • addInstance(mapsvg: any): void
  • Parameters

    • mapsvg: any

    Returns void

extend

  • extend(sub: any, base: any): void
  • Parameters

    • sub: any
    • base: any

    Returns void

extendBuiltins

  • extendBuiltins(): void
  • Returns void

get

getByContainerId

getById

init

lazyLoadMap

  • lazyLoadMap(container: HTMLElement): void
  • Parameters

    • container: HTMLElement

    Returns void

loadMap

  • loadMap(container: HTMLElement): void
  • Parameters

    • container: HTMLElement

    Returns void

loadMaps

  • loadMaps(): void
  • Returns void

receiveMessageFromIframe

  • receiveMessageFromIframe(event: any): void
  • Parameters

    • event: any

    Returns void

setEventHandlers

  • setEventHandlers(): void
  • Returns void

unloadMaps

  • unloadMaps(): void
  • Returns void

staticcreateClient