@trailstash/ultra 4.2.0 → 4.2.2

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.
@@ -4,6 +4,7 @@ description: Query OpenStreetMap using [Postpass](https://github.com/woodpeck/po
4
4
  options:
5
5
  center: [-122.6847, 45.5112]
6
6
  zoom: 15
7
+ type: postpass
7
8
  ---
8
9
  SELECT osm_id, way, tags FROM planet_osm_point
9
10
  WHERE amenity = 'bicycle_repair_station'
package/lib/style.js CHANGED
@@ -157,6 +157,12 @@ export function ensureSourceAndLayers(style, source) {
157
157
  style.sprite = [{ id: "default", url: style.sprite }];
158
158
  }
159
159
  const spritesheets = style.sprite.map(({ id }) => id);
160
+ if (!spritesheets.includes("emoji")) {
161
+ style.sprite.push({
162
+ id: "emoji",
163
+ url: new URL("sprites/emoji", window.location).toString(),
164
+ });
165
+ }
160
166
  if (!spritesheets.includes("maki")) {
161
167
  style.sprite.push({
162
168
  id: "maki",
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "4.2.0",
6
+ "version": "4.2.2",
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": {