@arenarium/maps 1.0.135 → 1.0.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +74 -0
- package/dist/index.js +2 -2
- package/dist/maplibre.cjs.js +1 -1
- package/dist/maplibre.es.js +9 -8
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -385,6 +385,80 @@ export declare class MapLibreProvider implements MapProvider {
|
|
|
385
385
|
}
|
|
386
386
|
export declare const MapLibreDarkStyle: maplibregl.StyleSpecification;
|
|
387
387
|
export declare const MapLibreStyleLight: maplibregl.StyleSpecification;
|
|
388
|
+
export interface GoogleMapsClass {
|
|
389
|
+
new (container: HTMLElement, options: google.maps.MapOptions): google.maps.Map;
|
|
390
|
+
}
|
|
391
|
+
export interface GoogleMapsMarkerClass {
|
|
392
|
+
new (options: google.maps.marker.AdvancedMarkerElementOptions): google.maps.marker.AdvancedMarkerElement;
|
|
393
|
+
}
|
|
394
|
+
export declare class GoogleMapsProvider implements MapProvider {
|
|
395
|
+
static Parameters: MapProviderParameters;
|
|
396
|
+
parameters: MapProviderParameters;
|
|
397
|
+
private MapClass;
|
|
398
|
+
private MapMarkerClass;
|
|
399
|
+
private map;
|
|
400
|
+
constructor(mapClass: GoogleMapsClass, mapMarkerClass: GoogleMapsMarkerClass, container: HTMLElement, options: google.maps.MapOptions);
|
|
401
|
+
getMap(): google.maps.Map;
|
|
402
|
+
getContainer(): HTMLElement;
|
|
403
|
+
getZoom(): number;
|
|
404
|
+
getWidth(): number;
|
|
405
|
+
getHeight(): number;
|
|
406
|
+
createMarker(element: HTMLElement, lat: number, lng: number, zIndex: number): MapProviderMarker;
|
|
407
|
+
}
|
|
408
|
+
export declare const GoogleMapLightStyle: ({
|
|
409
|
+
elementType: string;
|
|
410
|
+
stylers: {
|
|
411
|
+
visibility: string;
|
|
412
|
+
}[];
|
|
413
|
+
featureType?: undefined;
|
|
414
|
+
} | {
|
|
415
|
+
stylers: ({
|
|
416
|
+
saturation: number;
|
|
417
|
+
lightness?: undefined;
|
|
418
|
+
} | {
|
|
419
|
+
lightness: number;
|
|
420
|
+
saturation?: undefined;
|
|
421
|
+
})[];
|
|
422
|
+
elementType?: undefined;
|
|
423
|
+
featureType?: undefined;
|
|
424
|
+
} | {
|
|
425
|
+
featureType: string;
|
|
426
|
+
stylers: {
|
|
427
|
+
lightness: number;
|
|
428
|
+
}[];
|
|
429
|
+
elementType?: undefined;
|
|
430
|
+
} | {
|
|
431
|
+
featureType: string;
|
|
432
|
+
elementType: string;
|
|
433
|
+
stylers: {
|
|
434
|
+
saturation: number;
|
|
435
|
+
}[];
|
|
436
|
+
})[];
|
|
437
|
+
export declare const GoogleMapDarkStyle: ({
|
|
438
|
+
elementType: string;
|
|
439
|
+
stylers: {
|
|
440
|
+
visibility: string;
|
|
441
|
+
}[];
|
|
442
|
+
featureType?: undefined;
|
|
443
|
+
} | {
|
|
444
|
+
stylers: {
|
|
445
|
+
saturation: number;
|
|
446
|
+
}[];
|
|
447
|
+
elementType?: undefined;
|
|
448
|
+
featureType?: undefined;
|
|
449
|
+
} | {
|
|
450
|
+
elementType: string;
|
|
451
|
+
stylers: {
|
|
452
|
+
lightness: number;
|
|
453
|
+
}[];
|
|
454
|
+
featureType?: undefined;
|
|
455
|
+
} | {
|
|
456
|
+
featureType: string;
|
|
457
|
+
elementType: string;
|
|
458
|
+
stylers: {
|
|
459
|
+
lightness: number;
|
|
460
|
+
}[];
|
|
461
|
+
})[];
|
|
388
462
|
|
|
389
463
|
export as namespace arenarium;
|
|
390
464
|
|