Compare commits
17 Commits
1.4.12
...
7164ec65b9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7164ec65b9 | ||
|
|
e7a793a25e | ||
|
|
5198dcf656 | ||
|
|
39a4f91e2e | ||
|
|
ae3bd70e3c | ||
|
|
3b70b878a4 | ||
|
|
232ef4d914 | ||
|
|
df81c74d76 | ||
|
|
d85708a571 | ||
|
|
3911e55a6c | ||
|
|
c09df15821 | ||
|
|
defd3968fd | ||
|
|
0386cc3fe0 | ||
|
|
832c37ef9d | ||
|
|
f2f42c0400 | ||
|
|
d49d5e79f2 | ||
|
|
4209771189 |
12
README.md
12
README.md
@@ -8,8 +8,18 @@
|
||||
* Measure distances between two points
|
||||
* Custom client-side markers
|
||||
|
||||
## Documentation
|
||||
### Making usable map assets
|
||||
Since we're not using earth maps, we need to build one compatible with Leaflet. I used Zoomify to generate usable tile data from my SVG maps. I don't know if this will fit your use case ; if you use something else, you can contact me !
|
||||
|
||||
> [!IMPORTANT]
|
||||
> As of writing this, it appears Zoomify Unlimited Converter (which is what I used) is not available on Linux or for download anymore
|
||||
|
||||
### Enabling features
|
||||
Some features are able to be toggled on and off. If you don't use multiple languages, or if you don't want the custom markers, you can disable them in the .env file. By default, all of them are true.
|
||||
|
||||
## Contributing
|
||||
I'm not currently accepting pull-requests for this project, but if you have a suggestion, feel free to contact me !
|
||||
|
||||
## Notes
|
||||
As someone with some degree of with [aphantasia](https://en.wikipedia.org/wiki/Aphantasia), I struggle with visualization and immersion, and DMing in general. If you find yourself in the same situation, I hope my little thing made your life easier !
|
||||
As someone with some degree of [aphantasia](https://en.wikipedia.org/wiki/Aphantasia), I struggle with visualization and immersion, and DMing in general. If you find yourself in the same situation, I hope my little thing made your life easier !
|
||||
|
||||
@@ -5,17 +5,26 @@ import sitemap from "@astrojs/sitemap";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
integrations: [vue(), sitemap()],
|
||||
output: 'static',
|
||||
site: 'https://maps.alexcreates.fr',
|
||||
prefetch: true,
|
||||
env: {
|
||||
schema: {
|
||||
ENABLE_TOOLBAR: envField.boolean({ context: "server", access: "secret", default: true }),
|
||||
ENABLE_TOOLBAR_TAGS: envField.boolean({ context: "server", access: "secret", default: true }),
|
||||
ENABLE_CUSTOM_MARKERS: envField.boolean({ context: "server", access: "secret", default: true }),
|
||||
ENABLE_BREADCRUMB: envField.boolean({ context: "server", access: "secret", default: true }),
|
||||
ENABLE_I18N: envField.boolean({ context: "server", access: "secret", default: true }),
|
||||
integrations: [vue(), sitemap()],
|
||||
output: 'static',
|
||||
site: 'https://maps.alexcreates.fr',
|
||||
prefetch: true,
|
||||
env: {
|
||||
schema: {
|
||||
ENABLE_TOOLBAR: envField.boolean({ context: "server", access: "secret", default: true }),
|
||||
ENABLE_TOOLBAR_TAGS: envField.boolean({ context: "server", access: "secret", default: true }),
|
||||
ENABLE_CUSTOM_MARKERS: envField.boolean({ context: "server", access: "secret", default: true }),
|
||||
ENABLE_BREADCRUMB: envField.boolean({ context: "server", access: "secret", default: true }),
|
||||
ENABLE_I18N: envField.boolean({ context: "server", access: "secret", default: true }),
|
||||
}
|
||||
},
|
||||
vite: {
|
||||
server: {
|
||||
watch: {
|
||||
ignored: [
|
||||
'**/dist/**', // dist shouldn't be watched
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
22
package.json
22
package.json
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "leim-maps",
|
||||
"type": "module",
|
||||
"version": "1.4.12",
|
||||
"version": "1.4.14",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
@@ -10,18 +10,18 @@
|
||||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/sitemap": "^3.4.1",
|
||||
"@astrojs/vue": "^5.1.0",
|
||||
"@nanostores/persistent": "1.0.0",
|
||||
"@nanostores/vue": "^1.0.1",
|
||||
"@types/leaflet": "^1.9.20",
|
||||
"@vueuse/core": "^13.5.0",
|
||||
"astro": "^5.12.0",
|
||||
"nanostores": "^1.0.1",
|
||||
"@astrojs/sitemap": "^3.7.1",
|
||||
"@astrojs/vue": "^6.0.1",
|
||||
"@nanostores/persistent": "1.3.3",
|
||||
"@nanostores/vue": "^1.1.0",
|
||||
"@types/leaflet": "^1.9.21",
|
||||
"@vueuse/core": "^14.2.1",
|
||||
"astro": "^6.0.8",
|
||||
"nanostores": "^1.2.0",
|
||||
"radix-vue": "^1.9.17",
|
||||
"vue": "^3.5.17"
|
||||
"vue": "^3.5.31"
|
||||
},
|
||||
"devDependencies": {
|
||||
"sass": "^1.89.2"
|
||||
"sass": "^1.98.0"
|
||||
}
|
||||
}
|
||||
|
||||
3478
pnpm-lock.yaml
generated
3478
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,8 @@
|
||||
allowBuilds:
|
||||
'@parcel/watcher': true
|
||||
esbuild: true
|
||||
sharp: true
|
||||
vue-demi: true
|
||||
onlyBuiltDependencies:
|
||||
- '@parcel/watcher'
|
||||
- esbuild
|
||||
|
||||
Reference in New Issue
Block a user