@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/maplibre.d.ts
CHANGED
|
@@ -43,25 +43,25 @@ declare const mapBoundsSchema: z.ZodObject<{
|
|
|
43
43
|
};
|
|
44
44
|
}>;
|
|
45
45
|
|
|
46
|
-
declare
|
|
47
|
-
new (options: maplibregl.MapOptions): maplibregl.Map;
|
|
48
|
-
}
|
|
46
|
+
export declare const MaplibreDarkStyle: maplibregl.StyleSpecification;
|
|
49
47
|
|
|
50
|
-
export declare const
|
|
48
|
+
export declare const MaplibreLightStyle: maplibregl.StyleSpecification;
|
|
51
49
|
|
|
52
|
-
|
|
50
|
+
declare interface MaplibreMapClass {
|
|
51
|
+
new (options: maplibregl.MapOptions): maplibregl.Map;
|
|
52
|
+
}
|
|
53
53
|
|
|
54
|
-
declare interface
|
|
54
|
+
declare interface MaplibreMarkerClass {
|
|
55
55
|
new (options: maplibregl.MarkerOptions): maplibregl.Marker;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
export declare class
|
|
58
|
+
export declare class MaplibreProvider implements MapProvider {
|
|
59
59
|
static Parameters: MapProviderParameters;
|
|
60
60
|
parameters: MapProviderParameters;
|
|
61
61
|
private MapClass;
|
|
62
62
|
private MapMarkerClass;
|
|
63
63
|
private map;
|
|
64
|
-
constructor(mapClass:
|
|
64
|
+
constructor(mapClass: MaplibreMapClass, mapMarkerClass: MaplibreMarkerClass, options: maplibregl.MapOptions);
|
|
65
65
|
getMap(): maplibregl.Map;
|
|
66
66
|
getContainer(): HTMLElement;
|
|
67
67
|
getZoom(): number;
|
package/dist/maplibre.es.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arenarium/maps",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.162",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "arenarium.dev",
|
|
6
6
|
"description": "The best way to visualize ranked markers on a map.",
|
|
@@ -30,6 +30,12 @@
|
|
|
30
30
|
"import": "./dist/maplibre.es.js",
|
|
31
31
|
"require": "./dist/maplibre.cjs.js"
|
|
32
32
|
},
|
|
33
|
+
"./mapbox": {
|
|
34
|
+
"types": "./dist/mapbox.d.ts",
|
|
35
|
+
"svelte": "./dist/mapbox.es.js",
|
|
36
|
+
"import": "./dist/mapbox.es.js",
|
|
37
|
+
"require": "./dist/mapbox.cjs.js"
|
|
38
|
+
},
|
|
33
39
|
"./google": {
|
|
34
40
|
"types": "./dist/google.d.ts",
|
|
35
41
|
"svelte": "./dist/google.es.js",
|
|
@@ -51,14 +57,14 @@
|
|
|
51
57
|
],
|
|
52
58
|
"devDependencies": {
|
|
53
59
|
"@eslint/compat": "^1.3.1",
|
|
54
|
-
"@eslint/js": "^9.
|
|
60
|
+
"@eslint/js": "^9.31.0",
|
|
55
61
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
56
62
|
"@sveltejs/adapter-auto": "^6.0.1",
|
|
57
|
-
"@sveltejs/kit": "^2.22.
|
|
63
|
+
"@sveltejs/kit": "^2.22.5",
|
|
58
64
|
"@sveltejs/package": "^2.3.12",
|
|
59
|
-
"@sveltejs/vite-plugin-svelte": "^5.1.
|
|
65
|
+
"@sveltejs/vite-plugin-svelte": "^5.1.1",
|
|
60
66
|
"dts-bundle-generator": "^9.5.1",
|
|
61
|
-
"eslint": "^9.
|
|
67
|
+
"eslint": "^9.31.0",
|
|
62
68
|
"eslint-config-prettier": "^10.1.5",
|
|
63
69
|
"eslint-plugin-svelte": "^3.10.1",
|
|
64
70
|
"globals": "^16.3.0",
|
|
@@ -66,32 +72,36 @@
|
|
|
66
72
|
"prettier": "^3.6.2",
|
|
67
73
|
"prettier-plugin-svelte": "^3.4.0",
|
|
68
74
|
"publint": "^0.3.12",
|
|
69
|
-
"svelte": "^5.35.
|
|
75
|
+
"svelte": "^5.35.6",
|
|
70
76
|
"svelte-check": "^4.2.2",
|
|
71
77
|
"typescript": "^5.8.3",
|
|
72
|
-
"typescript-eslint": "^8.
|
|
78
|
+
"typescript-eslint": "^8.36.0",
|
|
73
79
|
"vite": "^6.3.5",
|
|
74
80
|
"vite-plugin-dts": "^4.5.4",
|
|
75
81
|
"@workspace/shared": "1.0.0"
|
|
76
82
|
},
|
|
77
83
|
"peerDependencies": {
|
|
78
|
-
"maplibre-gl": "^5.6.1",
|
|
79
84
|
"@googlemaps/js-api-loader": "^1.16.10",
|
|
80
|
-
"@types/google.maps": "^3.58.1"
|
|
85
|
+
"@types/google.maps": "^3.58.1",
|
|
86
|
+
"mapbox-gl": "^3.13.0",
|
|
87
|
+
"maplibre-gl": "^5.6.1"
|
|
81
88
|
},
|
|
82
89
|
"peerDependenciesMeta": {
|
|
83
|
-
"maplibre-gl": {
|
|
84
|
-
"optional": true
|
|
85
|
-
},
|
|
86
90
|
"@googlemaps/js-api-loader": {
|
|
87
91
|
"optional": true
|
|
88
92
|
},
|
|
89
93
|
"@types/google.maps": {
|
|
90
94
|
"optional": true
|
|
95
|
+
},
|
|
96
|
+
"mapbox-gl": {
|
|
97
|
+
"optional": true
|
|
98
|
+
},
|
|
99
|
+
"maplibre-gl": {
|
|
100
|
+
"optional": true
|
|
91
101
|
}
|
|
92
102
|
},
|
|
93
103
|
"dependencies": {
|
|
94
|
-
"zod": "^3.25.
|
|
104
|
+
"zod": "^3.25.76"
|
|
95
105
|
},
|
|
96
106
|
"scripts": {
|
|
97
107
|
"format": "prettier --write .",
|