Mapsvg
Class: Mapsvg
Section titled “Class: Mapsvg”Extended by
Section titled “Extended by”Implements
Section titled “Implements”Accessors
Section titled “Accessors”googleMapsApiKey
Section titled “googleMapsApiKey”Get Signature
Section titled “Get Signature”get googleMapsApiKey(): string;Returns
Section titled “Returns”string
Get Signature
Section titled “Get Signature”get nonce(): string;Returns
Section titled “Returns”string
Set Signature
Section titled “Set Signature”set nonce(_nonce): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
_nonce | string |
Returns
Section titled “Returns”void
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Mapsvg(): Mapsvg;Returns
Section titled “Returns”Mapsvg
Methods
Section titled “Methods”addInstance()
Section titled “addInstance()”addInstance(mapsvg): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
mapsvg | any |
Returns
Section titled “Returns”void
extend()
Section titled “extend()”extend(sub, base): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
sub | any |
base | any |
Returns
Section titled “Returns”void
extendBuiltins()
Section titled “extendBuiltins()”extendBuiltins(): void;Returns
Section titled “Returns”void
get(index): MapSVGMap;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
index | any |
Returns
Section titled “Returns”getByContainerId()
Section titled “getByContainerId()”getByContainerId(id): MapSVGMap;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
id | any |
Returns
Section titled “Returns”getById()
Section titled “getById()”getById(id): MapSVGMap;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
id | any |
Returns
Section titled “Returns”init()
Section titled “init()”init(options): Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options | MapsvgFrontendParams |
Returns
Section titled “Returns”Promise<void>
lazyLoadMap()
Section titled “lazyLoadMap()”lazyLoadMap(container): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
container | HTMLElement |
Returns
Section titled “Returns”void
loadMap()
Section titled “loadMap()”loadMap(container): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
container | HTMLElement |
Returns
Section titled “Returns”void
loadMaps()
Section titled “loadMaps()”loadMaps(): void;Returns
Section titled “Returns”void
receiveMessageFromIframe()
Section titled “receiveMessageFromIframe()”receiveMessageFromIframe(event): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
event | any |
Returns
Section titled “Returns”void
setEventHandlers()
Section titled “setEventHandlers()”setEventHandlers(): void;Returns
Section titled “Returns”void
unloadMaps()
Section titled “unloadMaps()”unloadMaps(): void;Returns
Section titled “Returns”void
createClient()
Section titled “createClient()”static createClient(frontEndOptions?): Mapsvg;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
frontEndOptions? | MapsvgFrontendParams |
Returns
Section titled “Returns”Mapsvg
Properties
Section titled “Properties”_nonce
Section titled “_nonce”_nonce: string;Implementation of
Section titled “Implementation of”defaultMarkerImage
Section titled “defaultMarkerImage”defaultMarkerImage: string;Implementation of
Section titled “Implementation of”MapSVGProps.defaultMarkerImage
distanceSearch
Section titled “distanceSearch”distanceSearch: any;Implementation of
Section titled “Implementation of”google_maps_api_key
Section titled “google_maps_api_key”google_maps_api_key: string;Implementation of
Section titled “Implementation of”MapSVGProps.google_maps_api_key
googleMaps
Section titled “googleMaps”googleMaps: object;apiIsLoading
Section titled “apiIsLoading”apiIsLoading: boolean;apiKey
Section titled “apiKey”apiKey: string;loaded
Section titled “loaded”loaded: boolean;onLoadCallbacks
Section titled “onLoadCallbacks”onLoadCallbacks: () => void[];Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”googleMapsApiLoaded
Section titled “googleMapsApiLoaded”googleMapsApiLoaded: boolean = false;Implementation of
Section titled “Implementation of”MapSVGProps.googleMapsApiLoaded
initialized
Section titled “initialized”initialized: boolean;Implementation of
Section titled “Implementation of”instances
Section titled “instances”instances: MapSVGMap[];Implementation of
Section titled “Implementation of”loaded
Section titled “loaded”loaded: boolean = false;markerImages
Section titled “markerImages”markerImages: object[];file: string;folder
Section titled “folder”folder: string;relativeUrl?
Section titled “relativeUrl?”optional relativeUrl: string;url: string;Implementation of
Section titled “Implementation of”mediaUploader
Section titled “mediaUploader”mediaUploader: any;Implementation of
Section titled “Implementation of”meta: Record<string, any> = {};mouse: object;x: number;y: number;Implementation of
Section titled “Implementation of”ResizeSensor
Section titled “ResizeSensor”ResizeSensor: typeof ResizeSensor;routes
Section titled “routes”routes: MapsvgRoutes;Implementation of
Section titled “Implementation of”templatesLoaded
Section titled “templatesLoaded”templatesLoaded: Record<string, boolean> = {};Implementation of
Section titled “Implementation of”version
Section titled “version”version: string = "process.env.VERSION";Implementation of
Section titled “Implementation of”initialized
Section titled “initialized”static initialized: boolean = false;