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
Parameter | Type |
---|---|
_nonce | string |
Returns
void
Constructors
new Mapsvg()
new Mapsvg(): Mapsvg
Returns
Methods
addInstance()
addInstance(mapsvg): void
Parameters
Parameter | Type |
---|---|
mapsvg | any |
Returns
void
extend()
extend(sub, base): void
Parameters
Parameter | Type |
---|---|
sub | any |
base | any |
Returns
void
extendBuiltins()
extendBuiltins(): void
Returns
void
get()
get(index): MapSVGMap
Parameters
Parameter | Type |
---|---|
index | any |
Returns
getByContainerId()
getByContainerId(id): MapSVGMap
Parameters
Parameter | Type |
---|---|
id | any |
Returns
getById()
getById(id): MapSVGMap
Parameters
Parameter | Type |
---|---|
id | any |
Returns
init()
init(options): Promise<void>
Parameters
Parameter | Type |
---|---|
options | MapsvgFrontendParams |
Returns
Promise
<void
>
lazyLoadMap()
lazyLoadMap(container): void
Parameters
Parameter | Type |
---|---|
container | HTMLElement |
Returns
void
loadMap()
loadMap(container): void
Parameters
Parameter | Type |
---|---|
container | HTMLElement |
Returns
void
loadMaps()
loadMaps(): void
Returns
void
receiveMessageFromIframe()
receiveMessageFromIframe(event): void
Parameters
Parameter | Type |
---|---|
event | any |
Returns
void
setEventHandlers()
setEventHandlers(): void
Returns
void
unloadMaps()
unloadMaps(): void
Returns
void
createClient()
static createClient(frontEndOptions?): Mapsvg
Parameters
Parameter | Type |
---|---|
frontEndOptions ? | MapsvgFrontendParams |
Returns
Properties
_nonce
_nonce: string;
Implementation of
defaultMarkerImage
defaultMarkerImage: string;
Implementation of
MapSVGProps
.defaultMarkerImage
distanceSearch
distanceSearch: any;
Implementation of
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
googleMapsApiLoaded
googleMapsApiLoaded: boolean = false;
Implementation of
MapSVGProps
.googleMapsApiLoaded
initialized
initialized: boolean;
Implementation of
instances
instances: MapSVGMap[];
Implementation of
loaded
loaded: boolean = false;
markerImages
markerImages: object[];
Implementation of
mediaUploader
mediaUploader: any;
Implementation of
meta
meta: Record<string, any> = {};
mouse
mouse: object;
x
x: number;
y
y: number;
Implementation of
ResizeSensor
ResizeSensor: typeof ResizeSensor;
routes
routes: MapsvgRoutes;
Implementation of
templatesLoaded
templatesLoaded: Record<string, boolean> = {};
Implementation of
version
version: string = "process.env.VERSION";
Implementation of
initialized
static initialized: boolean = false;