@arenarium/maps 1.0.159 → 1.0.162
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 +27 -6
- package/dist/index.js +2 -2
- package/dist/main.cjs.js +2 -2
- package/dist/main.es.js +1261 -1250
- package/dist/mapbox.cjs.js +1 -0
- package/dist/mapbox.d.ts +251 -0
- package/dist/mapbox.es.js +54 -0
- package/dist/maplibre.cjs.js +1 -1
- package/dist/maplibre.d.ts +8 -8
- package/dist/maplibre.es.js +3 -3
- package/package.json +23 -13
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
|
+
import { Map as Map$1, MapOptions, Marker, MarkerOptions } from 'mapbox-gl';
|
|
3
4
|
import { z } from 'zod';
|
|
4
5
|
|
|
5
6
|
declare const mapConfigurationSchema: z.ZodObject<{
|
|
@@ -525,19 +526,19 @@ export declare class MapManager {
|
|
|
525
526
|
private processMarkerData;
|
|
526
527
|
private log;
|
|
527
528
|
}
|
|
528
|
-
export interface
|
|
529
|
+
export interface MaplibreMapClass {
|
|
529
530
|
new (options: maplibregl.MapOptions): maplibregl.Map;
|
|
530
531
|
}
|
|
531
|
-
export interface
|
|
532
|
+
export interface MaplibreMarkerClass {
|
|
532
533
|
new (options: maplibregl.MarkerOptions): maplibregl.Marker;
|
|
533
534
|
}
|
|
534
|
-
export declare class
|
|
535
|
+
export declare class MaplibreProvider implements MapProvider {
|
|
535
536
|
static Parameters: MapProviderParameters;
|
|
536
537
|
parameters: MapProviderParameters;
|
|
537
538
|
private MapClass;
|
|
538
539
|
private MapMarkerClass;
|
|
539
540
|
private map;
|
|
540
|
-
constructor(mapClass:
|
|
541
|
+
constructor(mapClass: MaplibreMapClass, mapMarkerClass: MaplibreMarkerClass, options: maplibregl.MapOptions);
|
|
541
542
|
getMap(): maplibregl.Map;
|
|
542
543
|
getContainer(): HTMLElement;
|
|
543
544
|
getZoom(): number;
|
|
@@ -545,8 +546,28 @@ export declare class MapLibreProvider implements MapProvider {
|
|
|
545
546
|
panBy(x: number, y: number): void;
|
|
546
547
|
createMarker(element: HTMLElement, lat: number, lng: number): MapProviderMarker;
|
|
547
548
|
}
|
|
548
|
-
export declare const
|
|
549
|
-
export declare const
|
|
549
|
+
export declare const MaplibreDarkStyle: maplibregl.StyleSpecification;
|
|
550
|
+
export declare const MaplibreLightStyle: maplibregl.StyleSpecification;
|
|
551
|
+
export interface MapboxMapClass {
|
|
552
|
+
new (options: MapOptions): Map$1;
|
|
553
|
+
}
|
|
554
|
+
export interface MapboxMarkerClass {
|
|
555
|
+
new (options: MarkerOptions): Marker;
|
|
556
|
+
}
|
|
557
|
+
export declare class MapboxProvider implements MapProvider {
|
|
558
|
+
static Parameters: MapProviderParameters;
|
|
559
|
+
parameters: MapProviderParameters;
|
|
560
|
+
private MapClass;
|
|
561
|
+
private MapMarkerClass;
|
|
562
|
+
private map;
|
|
563
|
+
constructor(mapClass: MapboxMapClass, mapMarkerClass: MapboxMarkerClass, options: MapOptions);
|
|
564
|
+
getMap(): Map$1;
|
|
565
|
+
getContainer(): HTMLElement;
|
|
566
|
+
getZoom(): number;
|
|
567
|
+
getBounds(): MapBounds;
|
|
568
|
+
panBy(x: number, y: number): void;
|
|
569
|
+
createMarker(element: HTMLElement, lat: number, lng: number): MapProviderMarker;
|
|
570
|
+
}
|
|
550
571
|
export interface GoogleMapsClass {
|
|
551
572
|
new (container: HTMLElement, options: google.maps.MapOptions): google.maps.Map;
|
|
552
573
|
}
|