Merge branch 'dev'

This commit is contained in:
Alexis
2025-11-19 18:27:45 +01:00
3 changed files with 1066 additions and 1070 deletions

View File

@@ -8,6 +8,16 @@
* Measure distances between two points * Measure distances between two points
* Custom client-side markers * 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 ## Contributing
I'm not currently accepting pull-requests for this project, but if you have a suggestion, feel free to contact me ! I'm not currently accepting pull-requests for this project, but if you have a suggestion, feel free to contact me !

View File

@@ -1,7 +1,7 @@
{ {
"name": "leim-maps", "name": "leim-maps",
"type": "module", "type": "module",
"version": "1.4.12", "version": "1.4.13",
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
"start": "astro dev", "start": "astro dev",
@@ -10,18 +10,18 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/sitemap": "^3.4.1", "@astrojs/sitemap": "^3.6.0",
"@astrojs/vue": "^5.1.0", "@astrojs/vue": "^5.1.3",
"@nanostores/persistent": "1.0.0", "@nanostores/persistent": "1.2.0",
"@nanostores/vue": "^1.0.1", "@nanostores/vue": "^1.0.1",
"@types/leaflet": "^1.9.20", "@types/leaflet": "^1.9.21",
"@vueuse/core": "^13.5.0", "@vueuse/core": "^14.0.0",
"astro": "^5.12.0", "astro": "^5.15.9",
"nanostores": "^1.0.1", "nanostores": "^1.1.0",
"radix-vue": "^1.9.17", "radix-vue": "^1.9.17",
"vue": "^3.5.17" "vue": "^3.5.24"
}, },
"devDependencies": { "devDependencies": {
"sass": "^1.89.2" "sass": "^1.94.1"
} }
} }

2106
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff