@arenarium/maps 1.0.159 → 1.0.161
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 +6 -6
- package/dist/index.js +2 -2
- package/dist/main.cjs.js +2 -2
- package/dist/main.es.js +1261 -1250
- package/dist/maplibre.cjs.js +1 -1
- package/dist/maplibre.d.ts +8 -8
- package/dist/maplibre.es.js +3 -3
- package/package.json +17 -13
package/dist/index.d.ts
CHANGED
|
@@ -525,19 +525,19 @@ export declare class MapManager {
|
|
|
525
525
|
private processMarkerData;
|
|
526
526
|
private log;
|
|
527
527
|
}
|
|
528
|
-
export interface
|
|
528
|
+
export interface MaplibreMapClass {
|
|
529
529
|
new (options: maplibregl.MapOptions): maplibregl.Map;
|
|
530
530
|
}
|
|
531
|
-
export interface
|
|
531
|
+
export interface MaplibreMarkerClass {
|
|
532
532
|
new (options: maplibregl.MarkerOptions): maplibregl.Marker;
|
|
533
533
|
}
|
|
534
|
-
export declare class
|
|
534
|
+
export declare class MaplibreProvider implements MapProvider {
|
|
535
535
|
static Parameters: MapProviderParameters;
|
|
536
536
|
parameters: MapProviderParameters;
|
|
537
537
|
private MapClass;
|
|
538
538
|
private MapMarkerClass;
|
|
539
539
|
private map;
|
|
540
|
-
constructor(mapClass:
|
|
540
|
+
constructor(mapClass: MaplibreMapClass, mapMarkerClass: MaplibreMarkerClass, options: maplibregl.MapOptions);
|
|
541
541
|
getMap(): maplibregl.Map;
|
|
542
542
|
getContainer(): HTMLElement;
|
|
543
543
|
getZoom(): number;
|
|
@@ -545,8 +545,8 @@ export declare class MapLibreProvider implements MapProvider {
|
|
|
545
545
|
panBy(x: number, y: number): void;
|
|
546
546
|
createMarker(element: HTMLElement, lat: number, lng: number): MapProviderMarker;
|
|
547
547
|
}
|
|
548
|
-
export declare const
|
|
549
|
-
export declare const
|
|
548
|
+
export declare const MaplibreDarkStyle: maplibregl.StyleSpecification;
|
|
549
|
+
export declare const MaplibreLightStyle: maplibregl.StyleSpecification;
|
|
550
550
|
export interface GoogleMapsClass {
|
|
551
551
|
new (container: HTMLElement, options: google.maps.MapOptions): google.maps.Map;
|
|
552
552
|
}
|