Skip to main content

Class: Mapsvg

Extended by

Implements

Accessors

googleMapsApiKey

Get Signature

get googleMapsApiKey(): string
Returns

string


nonce

Get Signature

get nonce(): string
Returns

string

Set Signature

set nonce(_nonce): void
Parameters
ParameterType
_noncestring
Returns

void

Constructors

new Mapsvg()

new Mapsvg(): Mapsvg

Returns

Mapsvg

Methods

addInstance()

addInstance(mapsvg): void

Parameters

ParameterType
mapsvgany

Returns

void


extend()

extend(sub, base): void

Parameters

ParameterType
subany
baseany

Returns

void


extendBuiltins()

extendBuiltins(): void

Returns

void


get()

get(index): MapSVGMap

Parameters

ParameterType
indexany

Returns

MapSVGMap


getByContainerId()

getByContainerId(id): MapSVGMap

Parameters

ParameterType
idany

Returns

MapSVGMap


getById()

getById(id): MapSVGMap

Parameters

ParameterType
idany

Returns

MapSVGMap


init()

init(options): Promise<void>

Parameters

ParameterType
optionsMapsvgFrontendParams

Returns

Promise<void>


lazyLoadMap()

lazyLoadMap(container): void

Parameters

ParameterType
containerHTMLElement

Returns

void


loadMap()

loadMap(container): void

Parameters

ParameterType
containerHTMLElement

Returns

void


loadMaps()

loadMaps(): void

Returns

void


receiveMessageFromIframe()

receiveMessageFromIframe(event): void

Parameters

ParameterType
eventany

Returns

void


setEventHandlers()

setEventHandlers(): void

Returns

void


unloadMaps()

unloadMaps(): void

Returns

void


createClient()

static createClient(frontEndOptions?): Mapsvg

Parameters

ParameterType
frontEndOptions?MapsvgFrontendParams

Returns

Mapsvg

Properties

_nonce

_nonce: string;

Implementation of

MapSVGProps._nonce


defaultMarkerImage

defaultMarkerImage: string;

Implementation of

MapSVGProps.defaultMarkerImage


distanceSearch

distanceSearch: any;

Implementation of

MapSVGProps.distanceSearch


google_maps_api_key

google_maps_api_key: string;

Implementation of

MapSVGProps.google_maps_api_key


googleMaps

googleMaps: object;

apiIsLoading

apiIsLoading: boolean;

apiKey

apiKey: string;

loaded

loaded: boolean;

onLoadCallbacks

onLoadCallbacks: () => void[];

Implementation of

MapSVGProps.googleMaps


googleMapsApiLoaded

googleMapsApiLoaded: boolean = false;

Implementation of

MapSVGProps.googleMapsApiLoaded


initialized

initialized: boolean;

Implementation of

MapSVGProps.initialized


instances

instances: MapSVGMap[];

Implementation of

MapSVGProps.instances


loaded

loaded: boolean = false;

markerImages

markerImages: object[];

Implementation of

MapSVGProps.markerImages


mediaUploader

mediaUploader: any;

Implementation of

MapSVGProps.mediaUploader


meta

meta: Record<string, any> = {};

mouse

mouse: object;

x

x: number;

y

y: number;

Implementation of

MapSVGProps.mouse


ResizeSensor

ResizeSensor: typeof ResizeSensor;

routes

routes: MapsvgRoutes;

Implementation of

MapSVGProps.routes


templatesLoaded

templatesLoaded: Record<string, boolean> = {};

Implementation of

MapSVGProps.templatesLoaded


version

version: string = "process.env.VERSION";

Implementation of

MapSVGProps.version


initialized

static initialized: boolean = false;