@trailstash/ultra 4.3.0 → 4.3.1
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/docs/assets/showcase/Pride-Map.png +0 -0
- package/docs/showcase.md +10 -0
- package/lib/sprites.js +5 -1
- package/package.json +2 -2
|
Binary file
|
package/docs/showcase.md
CHANGED
|
@@ -25,6 +25,16 @@ Here are some maps made with Ultra
|
|
|
25
25
|
|
|
|
26
26
|
[Github Repo](https://github.com/maprva/2025-water-crisis)
|
|
27
27
|
|
|
28
|
+
## Pride Map
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+

|
|
32
|
+
|
|
33
|
+
[View Map](https://overpass-ultra.us/#map&query=url:https://raw.githubusercontent.com/Lumikeiju/pride-map/refs/heads/main/ultra-query/pride-map-us.ultra)
|
|
34
|
+
|
|
|
35
|
+
[Github Repo](https://github.com/Lumikeiju/pride-map)
|
|
36
|
+
|
|
37
|
+
|
|
28
38
|
## Team Baden Parking Map
|
|
29
39
|
|
|
30
40
|

|
package/lib/sprites.js
CHANGED
|
@@ -8,7 +8,11 @@ export const handleStyleImageMissing = async (ev) => {
|
|
|
8
8
|
image.crossOrigin = "anonymous";
|
|
9
9
|
image.src = ev.id;
|
|
10
10
|
await image.decode();
|
|
11
|
-
ev.target.addImage(
|
|
11
|
+
ev.target.addImage(
|
|
12
|
+
ev.id,
|
|
13
|
+
image,
|
|
14
|
+
Object.fromEntries(new URLSearchParams(new URL(ev.id).hash.slice(1))),
|
|
15
|
+
);
|
|
12
16
|
}
|
|
13
17
|
}
|
|
14
18
|
if (builtin) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "4.3.
|
|
6
|
+
"version": "4.3.1",
|
|
7
7
|
"description": "A web based tool for making MapLibre GL maps with data from sources such as Overpass, GeoJSON, GPX, KML, TCX, etc",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"scripts": {
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"liquidjs": "^10.17.0",
|
|
71
71
|
"lodash.pick": "^4.4.0",
|
|
72
72
|
"lz-string": "^1.5.0",
|
|
73
|
-
"maplibre-gl": "^5.
|
|
73
|
+
"maplibre-gl": "^5.6.0",
|
|
74
74
|
"marked": "^14.1.2",
|
|
75
75
|
"node-events": "^0.0.2",
|
|
76
76
|
"normalize.css": "^8.0.1",
|