@trailstash/ultra 3.3.1 → 3.3.3

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.
@@ -67,8 +67,8 @@ export class NavBar extends HTMLElement {
67
67
  h(
68
68
  "a",
69
69
  { href: "." },
70
- h("b", {}, t(this.title)),
71
- h("img", { src: this.icon }),
70
+ h("b", {}, t(this.title || "Ultra")),
71
+ h("img", { src: this.icon || "./logo.png" }),
72
72
  ),
73
73
  );
74
74
  shadow.appendChild(nav);
@@ -86,8 +86,6 @@ export class UltraIDE extends HTMLElement {
86
86
  query = "";
87
87
  settings = {};
88
88
  styles = [];
89
- title = "Ultra";
90
- icon = "/logo.svg";
91
89
  help;
92
90
 
93
91
  static MAP_INIT_SETTINGS = [
@@ -98,7 +96,7 @@ export class UltraIDE extends HTMLElement {
98
96
  "queryProviders",
99
97
  "persistState",
100
98
  ];
101
- static props = ["settings", "query", "styles", "title", "icon", "help"];
99
+ static props = ["settings", "query", "styles", "help"];
102
100
 
103
101
  constructor() {
104
102
  super();
package/docs/index.md ADDED
@@ -0,0 +1,55 @@
1
+ # Introduction
2
+
3
+ Ultra is a web-application made to simplify making maps with [MapLibre GL
4
+ JS](https://maplibre.org).
5
+
6
+ ## Deployments
7
+
8
+ - Production version - [overpass-ultra.us](https://overpass-ultra.us) <small>([config](https://gitlab.com/trailstash/overpass-ultra/-/blob/main/config.js))</small>
9
+ - Development Version - [ultra.trailsta.sh](https://ultra.trailsta.sh) <small>([config](https://gitlab.com/trailstash/ultra/-/blob/main/config.js))</small>
10
+ - OHM version - [ohm.overpass-ultra.us](https://ohm.overpass-ultra.us) <small>([config](https://gitlab.com/trailstash/ohm-ultra/-/blob/main/config.js))</small>
11
+
12
+ ## Documentation
13
+
14
+ The documentation for Ultra is available at <a target="_blank" href="/docs/">/docs</a>.
15
+
16
+ ## Configuration
17
+
18
+ Various aspects of Ultra, such as styling, can be
19
+ configured via [YAML front-matter](/docs/yaml).
20
+
21
+ ## Overpass Queries
22
+
23
+ Overpass API allows to query for OSM data by your own search criteria. For this purpose, it has a
24
+ specifically crafted query language: [Overpass
25
+ QL](https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL)
26
+
27
+ In addition to regular Overpass API queries one can use `{{bbox}}` to specify the bounding box
28
+ coordinates of the current map view.
29
+
30
+ ## Styling
31
+
32
+ Ultra supports styling using an
33
+ [extended](/docs/style#ultra-maplibre-styles) version of the the [MapLibre
34
+ Style Spec](https://maplibre.org/maplibre-style-spec/).
35
+
36
+ See the [Styling](/docs/style) section for more information.
37
+
38
+ ## About
39
+
40
+ Ultra is built by Daniel Schep.
41
+
42
+ You can contact me on [Mastodon](https://mapstodon.space/@trailstash).
43
+
44
+ ## Feedback, Bug Reports, Feature Requests
45
+
46
+ While Ultra has been in development for a while, it should still be considered
47
+ experimental.
48
+
49
+ If you would like to report a bug or provide other feedback, please do so in the project's
50
+ [Issue Tracker](https://gitlab.com/trailstash/ultra/-/issues).
51
+
52
+ ## Source Code</h4>
53
+
54
+ The [source code](https://gitlab.com/trailstash/ultra) of this application is released under the
55
+ [MIT license](https://gitlab.com/trailstash/ultra/-/blob/master/LICENSE).
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.3.1",
6
+ "version": "3.3.3",
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": {