235 Commits

Author SHA1 Message Date
Alexis
7164ec65b9 Fixed dist watching issues 2026-07-11 14:23:07 +02:00
Alexis
e7a793a25e Added pnpm workspace 2026-07-11 14:00:30 +02:00
Alexis
5198dcf656 Fixed typo 2026-07-07 20:15:16 +02:00
Alexis
39a4f91e2e Updated package 2026-03-25 12:14:46 +01:00
Alexis
ae3bd70e3c Version bump 2025-11-19 18:30:03 +01:00
Alexis
3b70b878a4 Merge branch 'dev' 2025-11-19 18:27:45 +01:00
Alexis
232ef4d914 Updated package 2025-11-19 18:27:35 +01:00
Alexis
df81c74d76 Updated package 2025-10-15 17:39:32 +02:00
Alexis
d85708a571 Updated package 2025-09-17 21:55:09 +02:00
Alexis
3911e55a6c Updated package 2025-09-12 19:53:47 +02:00
Alexis
c09df15821 Updated package 2025-09-03 21:07:55 +02:00
Alexis
defd3968fd Updated readme with .env specs 2025-08-27 19:51:20 +02:00
Alexis
0386cc3fe0 Updated readme 2025-08-27 19:47:21 +02:00
Alexis
832c37ef9d Updated packages 2025-08-27 19:46:29 +02:00
Alexis
f2f42c0400 Updated packages 2025-08-23 22:38:51 +02:00
Alexis
d49d5e79f2 Updated packages 2025-08-13 16:12:05 +02:00
Alexis
4209771189 Version bump 2025-07-17 23:20:18 +02:00
Alexis
e43baa13da Merge branch 'dev' 2025-07-17 23:19:29 +02:00
Alexis
b243c3129d Fixed some accessibility issues 2025-07-17 23:19:24 +02:00
Alexis
3f60672bb0 Fixed some SEO data 2025-07-17 23:11:02 +02:00
Alexis
5792d7d15f Sample missing icons 2025-07-17 22:12:00 +02:00
Alexis
91ea78c632 Updated package 2025-07-17 22:11:53 +02:00
Alexis
961fd0d198 Updated package 2025-07-14 18:49:30 +02:00
Alexis
1cba7b398b Updated package 2025-06-25 16:16:01 +02:00
Alexis
05d3bca10b Version bump 2025-06-22 14:35:09 +02:00
Alexis
3acfc6db47 Merge branch 'dev' 2025-06-22 14:29:08 +02:00
Alexis
6c350bf2d5 Removed new item for mine map 2025-06-22 14:28:26 +02:00
Alexis
712d408736 Added theme switcher 2025-06-21 21:33:25 +02:00
Alexis
bfdd433a5f Added dark mode ui for leaflet controls 2025-06-21 14:32:23 +02:00
Alexis
ac6558392c Fixed some more UI with dark mode 2025-06-21 11:49:15 +02:00
Alexis
484fe3b031 Fixed search results in dark mode 2025-06-21 11:33:20 +02:00
Alexis
c88133a9a3 Moved some variables to root 2025-06-20 20:06:07 +02:00
Alexis
1cb77dd6f0 Version bump 2025-06-20 17:20:42 +02:00
Alexis
a2fe47210f Updated packages 2025-06-20 17:20:29 +02:00
Alexis
38dfd3c952 Updated readme 2025-06-20 17:11:59 +02:00
Alexis
19100d0881 Hotfix : Spelling issues on legal notice fr 2025-06-15 21:47:09 +02:00
Alexis
e8ac66b2bd Merge branch 'dev' 2025-06-14 19:13:22 +02:00
Alexis
464cf334cf Updated packages and added artwork notice 2025-06-14 19:11:33 +02:00
Alexis
dd8a506ef3 Added legal notice modal 2025-06-14 18:57:13 +02:00
Alexis
a2253a165f Added legal notice link 2025-06-06 18:28:00 +02:00
Alexis
dbfce2a737 Updated packages 2025-06-06 16:34:29 +02:00
Alexis
b660c61b81 Updated packages 2025-06-02 16:47:09 +02:00
Alexis
78a16ba907 Version bump 2025-05-24 12:39:25 +02:00
Alexis
99e66f6feb Merge branch 'dev' 2025-05-24 12:38:58 +02:00
Alexis
cfe3fe2dcc Updated packages 2025-05-24 12:38:50 +02:00
Alexis
42b3cfd725 Added bad bots list 2025-05-24 12:36:28 +02:00
Alexis
d3c0a87770 Version bump 2025-05-13 10:58:09 +02:00
Alexis
3e1d7c5200 Updated packages 2025-05-13 10:57:48 +02:00
Alexis
e893e133cc Added toast color 2025-05-04 20:39:34 +02:00
Alexis
4cf2f66d42 Added copy coords function 2025-05-04 18:33:42 +02:00
Alexis
f003df7d58 Added toast service 2025-05-03 21:48:32 +02:00
Alexis
355e9ae009 Merge branch 'dev' 2025-05-03 14:25:43 +02:00
Alexis
ca689c23af Merge branch 'cleanup' into dev 2025-05-03 14:25:05 +02:00
Alexis
c282c7ec7a Added env variables to disable some options 2025-05-02 18:54:28 +02:00
Alexis
0bc65e96c8 Updated package 2025-05-02 18:00:41 +02:00
Alexis
c6bf77462e Version bump 2025-04-10 19:21:46 +02:00
Alexis
fb26813932 Merge branch 'cleanup' 2025-04-08 16:50:47 +02:00
Alexis
6152b707d1 Minimize zoomify leaflet js 2025-04-05 18:45:05 +02:00
Alexis
a40bf13d98 Persist coords on lang switch 2025-04-04 22:08:09 +02:00
Alexis
c68b1baf8c Added docs for interfaces 2025-04-04 21:46:56 +02:00
Alexis
199bb98412 Marker tooltip content is a component 2025-04-04 21:13:08 +02:00
Alexis
82aa2f4d35 Updated package 2025-04-04 17:13:25 +02:00
Alexis
86dbe7ba2b Hover enter more lenient 2025-04-03 16:47:33 +02:00
Alexis
8b976e909a Fixed some accessibility issues 2025-04-02 14:02:53 +02:00
Alexis
47f5df936e Fixed meta semicolon 2025-04-02 12:17:40 +02:00
Alexis
6d281e14ea Added prefect to astro links 2025-04-02 12:17:12 +02:00
Alexis
cd99ed2444 Updated packages 2025-04-02 12:03:18 +02:00
Alexis
3e1382c404 Changed images to webp 2025-03-27 23:08:14 +01:00
Alexis
c84745b35a Version bump 2025-03-27 22:41:16 +01:00
Alexis
f5a76f9c6e Updated packages 2025-03-27 22:41:03 +01:00
Alexis
809edc167d Merge branch 'dev' 2025-03-26 16:54:26 +01:00
Alexis
ada061862f Fixed overflowing templates 2025-03-26 15:57:37 +01:00
Alexis
7d60b81763 Fixed oopsie 2025-03-26 15:50:55 +01:00
Alexis
635c58736c Fixed lang button alignment 2025-03-26 15:50:32 +01:00
Alexis
15f18a8f95 Added copy link component 2025-03-26 15:43:20 +01:00
Alexis
3460689d3d Changed marker builder
They're in the DOM now, so much easier to manage
2025-03-23 21:19:13 +01:00
Alexis
78c1991f6a Normalize string function 2025-03-23 18:41:51 +01:00
Alexis
98e65fe6e1 Added point parameter for initial setup 2025-03-23 18:10:38 +01:00
Alexis
769391fad0 Removed unused import 2025-03-23 17:16:58 +01:00
Alexis
8da145039c Version bump 2025-03-23 17:12:28 +01:00
Alexis
2364ea2e80 Merge branch 'dev' 2025-03-23 17:08:05 +01:00
Alexis
13af4d5c90 Changed top bar align 2025-03-23 17:07:37 +01:00
Alexis
05b2917e7c Updated package 2025-03-23 16:57:42 +01:00
Alexis
fe1a657c04 Added translations switch button 2025-03-23 16:53:09 +01:00
Alexis
4c34f8e644 Added new english map for Aldys, moved the fr ones and optimized f Aldys 2025-03-21 17:15:44 +01:00
Alexis
677b7bcaab Fixed more translations 2025-03-21 12:03:57 +01:00
Alexis
53686f03e7 Added more translations 2025-03-21 11:42:38 +01:00
Alexis
f5cc942cbf Fixed some broken links 2025-03-20 16:06:14 +01:00
Alexis
99aa951d47 Added lang store 2025-03-20 15:44:11 +01:00
Alexis
e70841e7b4 Added lang attribute and helper functions 2025-03-20 11:31:43 +01:00
Alexis
1d15272cf8 Fixed most links and translated strings 2025-03-19 23:24:25 +01:00
Alexis
86c983db10 Added base structure for i18n 2025-03-19 17:01:57 +01:00
Alexis
f9a8383ce2 Version bump 2025-03-19 16:41:01 +01:00
Alexis
d2d4f05b07 Updated package 2025-03-19 16:40:46 +01:00
Alexis
6a0eb38726 Merge branch 'dev' 2025-03-16 17:27:03 +01:00
Alexis
d35ac2fcb9 Bump version 2025-03-16 17:26:51 +01:00
Alexis
7ee915cc66 Added visit map to search results 2025-03-16 17:24:06 +01:00
Alexis
b23aab5914 Fixed measure scale 2025-03-16 16:57:58 +01:00
Alexis
29599f0c5b Added breadcrumbs 2025-03-16 16:40:22 +01:00
Alexis
0a3f86b539 Added map link 2025-03-15 23:09:55 +01:00
Alexis
f354ecb084 Added Mines Blanche to map switch 2025-03-15 23:05:08 +01:00
Alexis
8a2416d8e4 Removed new markers for three maps 2025-03-15 21:33:41 +01:00
Alexis
a3381d49e4 Removed Borélis' extra search 2025-03-15 21:31:57 +01:00
Alexis
f3ceb3527e Changed width of search bar 2025-03-15 21:28:59 +01:00
Alexis
a6063dd47b Added search config to disable some unneeded buttons 2025-03-15 21:25:21 +01:00
Alexis
c5787f3ceb Added mine tilemaps 2025-03-15 18:17:19 +01:00
Alexis
1c0781cc0b Added white mines marker 2025-03-15 17:49:40 +01:00
Alexis
b544783e9f Merge branch 'dev' 2025-03-15 17:29:14 +01:00
Alexis
25f0da17d3 Bump version 2025-03-15 17:29:09 +01:00
Alexis
f899b0aa58 Updated description 2025-03-15 17:28:45 +01:00
Alexis
100f955df2 Updated packages 2025-03-15 17:25:05 +01:00
Alexis
5adc838e1e Close context menu on mousedown 2025-01-13 16:56:01 +01:00
Alexis
1eed243e7d Changed image to eager
Maybe this needs to be changed ? It's going to be taxing with a lot of images idk
It's also annoying to have a white space while the image loads.
2025-01-13 16:04:43 +01:00
Alexis
5400735e26 Fixed missing import 2025-01-13 14:07:40 +01:00
Alexis
ad61fd5f87 Added "new" icon to maps 2025-01-13 14:04:13 +01:00
Alexis
1c05d22409 Made search bar bigger 2025-01-12 21:05:46 +01:00
Alexis
d78be195df Added more markers on Cantane 2025-01-12 18:59:05 +01:00
Alexis
bb5d995b5d Added some cantane data 2025-01-11 20:44:08 +01:00
Alexis
6ea4bdaef5 Optional walking distance 2025-01-10 15:54:48 +01:00
Alexis
7706a193c7 Unified maps with a single component 2025-01-10 15:36:58 +01:00
Alexis
6ba8f10f7e Changed town map units 2025-01-10 14:34:52 +01:00
Alexis
a9b43fddd2 Added town covers 2025-01-10 14:27:48 +01:00
Alexis
bd8f9e048e Fixed map key for cantane and borelis 2025-01-10 14:19:20 +01:00
Alexis
59d62185f7 Added borelis and cantane maps 2025-01-10 14:15:48 +01:00
Alexis
8629df03fb Moved bamast to its own folder 2025-01-09 16:43:04 +01:00
Alexis
f41ccfa079 Hotfix : Fixed attribution to Andrei Pervukhin 2025-01-04 21:05:38 +01:00
Alexis
d273674160 Hotfix : Changed wiki URL 2025-01-04 14:00:57 +01:00
Alexis
8fc2667644 Merge branch 'dev' 2025-01-02 21:39:20 +01:00
Alexis
c7bdfadce7 Added back player position 2025-01-02 21:39:15 +01:00
Alexis
6ebeff59a7 Updated version 2025-01-02 21:30:16 +01:00
Alexis
d893baeba2 Fixed z-index on map switch 2025-01-02 21:23:16 +01:00
Alexis
333e2548de Added more marker data 2025-01-02 21:19:37 +01:00
Alexis
3f7a8ec0b6 Changed cover images for map switch 2025-01-02 12:27:54 +01:00
Alexis
190406bf24 Added some marker data 2025-01-01 23:50:29 +01:00
Alexis
2ebee9f3e8 Fixed custom markers appearing on other maps 2025-01-01 21:14:33 +01:00
Alexis
db67032941 Removed unused imports 2025-01-01 20:04:55 +01:00
Alexis
696848d18f Fixed absolute path to /public for icons 2025-01-01 20:03:56 +01:00
Alexis
7ae16a5c8e Merge branch 'dev' 2025-01-01 18:25:15 +01:00
Alexis
45104b16f2 Updated version 2025-01-01 18:25:10 +01:00
Alexis
a12f74b593 Fixed mobile view and interaction rules 2025-01-01 18:24:43 +01:00
Alexis
37187d6778 Added Bamast map 2025-01-01 17:55:35 +01:00
Alexis
3f2f78611c Updated UI logic 2025-01-01 01:42:49 +01:00
Alexis
1dea4a00c1 Added radix popover 2024-12-31 23:01:43 +01:00
Alexis
adc77d2be0 Added map switch cta 2024-12-31 18:02:19 +01:00
Alexis
d4d30037a6 Added some landmarks and photos 2024-12-31 17:22:29 +01:00
Alexis
4ed0aad6f0 Merge branch 'dev' 2024-12-24 16:21:18 +01:00
Alexis
2591c72ddd Updated version 2024-12-24 16:20:55 +01:00
Alexis
90084c1d37 Added cover to search list 2024-12-24 16:12:59 +01:00
Alexis
e07ee03aee Optimized images 2024-12-24 15:46:12 +01:00
Alexis
482de67442 Added popup cover images 2024-12-24 15:37:13 +01:00
Alexis
4f3f37f452 Updated packages 2024-12-24 13:12:41 +01:00
Alexis
73a02da0e8 Upgraded astro 2024-12-24 13:12:34 +01:00
Alexis
dcbcd6f038 Merge branch 'dev' 2024-08-03 22:26:22 +02:00
Alexis
0b78e84a96 Updated dependencies 2024-08-03 22:26:16 +02:00
Alexis
9c670a8b78 Fixed sass deprecation nesting 2024-08-03 22:16:28 +02:00
Alexis
2f58f45954 Merge branch 'dev' 2024-05-07 23:09:01 +02:00
Alexis
d695e60a2f Added URL params to communicate with the map 2024-05-07 23:08:54 +02:00
Alexis
f35d0e23b8 Updated dependencies 2024-05-07 23:08:39 +02:00
Alexis
54a4f8bdf5 Merge branch 'dev' 2024-02-26 23:26:14 +01:00
Alexis
c8e8f61f8a Updated version 2024-02-26 23:26:09 +01:00
Alexis
4e347e7d7d Fixed reset button not working properly 2024-02-26 23:16:17 +01:00
Alexis
6086161a78 Added school markers to map 2024-02-26 23:02:37 +01:00
Alexis
3a6abdaf93 Updated packages to latest 2024-02-26 20:52:21 +01:00
Alexis
27b3dfa52d Merge branch 'dev' 2024-02-26 20:47:25 +01:00
Alexis
92c7846247 Fixed overflow of search tags 2024-01-16 13:41:26 +01:00
Alexis
2136ebf1d4 Merge branch 'dev' 2024-01-16 00:31:51 +01:00
Alexis
0819f1063a Updated dependencies 2024-01-16 00:31:42 +01:00
Alexis
b2351240a5 Added og:image 2024-01-16 00:18:43 +01:00
Alexis
be9b2d5a7f Added sitemap generator 2024-01-16 00:12:07 +01:00
Alexis
b5f9a77e40 Bigger input hitbox 2024-01-16 00:07:36 +01:00
Alexis
a9fa3d2f9a Added extra meta on <head> 2024-01-16 00:03:38 +01:00
Alexis
45ead84c20 Optimized library css files 2024-01-15 22:58:58 +01:00
Alexis
21b3aca968 Removed phosphor icons font files 2024-01-15 22:55:00 +01:00
Alexis
89e81093cc Changed icons to svg on SearchMarkersTags 2024-01-15 22:47:44 +01:00
Alexis
ebce56aeff Changed icons to svg on SearchMarkers 2024-01-15 22:36:34 +01:00
Alexis
075bf3e948 Changed icons to svg on MarkerCreator 2024-01-15 22:03:13 +01:00
Alexis
cc9b7704c4 Merge branch 'dev' 2024-01-15 17:49:57 +01:00
Alexis
93fa674b15 Moved ruler to bottom left 2024-01-15 17:49:46 +01:00
Alexis
fd018ba4c3 Keep value on clickoutside 2024-01-15 17:41:17 +01:00
Alexis
721f0d3d44 Added clickoutside handler for marker search 2024-01-15 17:29:51 +01:00
Alexis
aaad18e07f Hotfix : Removed useless imports 2024-01-13 16:59:59 +01:00
Alexis
d9aa31b71d Merge branch 'features/map-markers' 2024-01-13 16:58:29 +01:00
Alexis
75ea81575d Modal width fix and debug revamp 2024-01-13 16:58:15 +01:00
Alexis
1b2ba84b41 Added error handling to markerTitle 2024-01-13 16:54:32 +01:00
Alexis
3abf35ee58 Added functions to delete custom markers 2024-01-13 14:53:37 +01:00
Alexis
244bd06f37 Fixed popup not appearing on custom marker fly to 2024-01-13 14:18:38 +01:00
Alexis
4c1bd4ff44 Added UI of custom marker actions 2024-01-13 14:12:58 +01:00
Alexis
9123fb2263 Added fly to custom markers 2024-01-13 00:38:39 +01:00
Alexis
1018798762 Removed old button toggle 2024-01-10 21:05:31 +01:00
Alexis
d680cae84d Refactored tag list in their own component 2024-01-10 21:03:37 +01:00
Alexis
68eb0d165f Reduced tags font size on mobile 2024-01-09 17:45:58 +01:00
Alexis
b19113f232 Added disabled button style 2024-01-09 17:40:55 +01:00
Alexis
1c561f5493 Updated map to not have huge white areas 2024-01-07 21:55:48 +01:00
Alexis
494ef9bf88 Added box shadow on buttons 2024-01-07 20:31:14 +01:00
Alexis
da8bec44b0 Added marker add modal 2024-01-07 00:31:20 +01:00
Alexis
2878652158 Removed useless console logs 2024-01-05 23:57:06 +01:00
Alexis
fbd58c4a5e Added custom marker saving 2024-01-05 23:55:32 +01:00
Alexis
ac3aef4366 Started vue based map marker menu 2024-01-05 21:38:28 +01:00
Alexis
c9da4fe4d1 Changed locations 2024-01-05 21:36:51 +01:00
Alexis
7d344fc0a8 Merge branch 'dev' 2023-12-15 13:45:33 +01:00
Alexis
fc0dfc916f Optimized CSS / JS local files 2023-12-15 13:45:25 +01:00
Alexis
834f0b1d38 Merge branch 'dev' 2023-12-15 13:30:12 +01:00
Alexis
1c663ea8cb Changed inertia 2023-12-11 22:42:48 +01:00
Alexis
1b4d54679a Map padding 2023-12-11 22:39:39 +01:00
Alexis
667d54124f Different zoom levels on mobile 2023-12-11 21:38:55 +01:00
Alexis
eecebf07fd Merge branch 'dev' into main 2023-12-11 20:53:18 +01:00
Alexis
d4527e2ca1 Added sample files for SVG Overlay 2023-12-11 20:53:06 +01:00
Alexis
7b15175863 Fixed mobile overflow of search wrapper 2023-12-11 20:52:56 +01:00
Alexis
be48244221 Cleaned up code for SearchMarkers comp
And also cleaned a fair bit of its code
2023-12-10 21:49:58 +01:00
Alexis
f9e7e43bda Merge branch 'dev' into main 2023-12-10 20:52:59 +01:00
Alexis
2887e4e133 Cleaned up code 2023-12-10 20:52:53 +01:00
Alexis
1b6ad5ad0e Fixed filter position next to player btn 2023-12-09 22:18:05 +01:00
Alexis
29481a05bd Added multiple filters 2023-12-09 22:11:00 +01:00
Alexis
67add2baa9 Added quest (and POC for categories) filter 2023-12-09 18:46:23 +01:00
Alexis
2b28687ff1 Added description for syaltha's quest 2023-12-09 17:47:34 +01:00
Alexis
c100817632 Changed description of quest 2023-12-09 17:21:48 +01:00
Alexis
3becf43d3b Added quests markers and data for eastern map 2023-12-09 17:14:47 +01:00
Alexis
e2b513253c Added check if there is no player data 2023-12-08 19:26:39 +01:00
Alexis
873743d732 Refreshed data 2023-12-08 19:26:22 +01:00
Alexis
f338b88321 Fixed undefined old nanostore ref 2023-12-08 17:22:07 +01:00
Alexis
0fef86bb0c Changes before rebase of main 2023-12-08 17:19:09 +01:00
Alexis
02444273e2 Changed map to be of northern Aldys 2023-12-08 17:17:52 +01:00
Alexis
db69bd7e6f Removed nanostore logic
This module was way too cumbersome for such a simple implementation ; now the resources are just plain json loaded in astro instead of full on API routes.
This also eliminates the need to have a backend service to serve the API and the app can be deployed statically
2023-12-08 14:01:59 +01:00
Alexis
888d08c545 Hotfix : Added demo link to readme 2023-11-13 18:33:18 +01:00
Alexis
f355de9143 Merge branch 'dev' into main 2023-10-15 11:47:23 +02:00
Alexis
0484d39f3b Added temp description 2023-10-15 11:47:09 +02:00
Alexis
b6f0e88238 Fixed CSS loading issue 2023-10-15 11:41:46 +02:00
Alexis
feb6753de3 Fixed width not being 100% 2023-10-15 11:27:39 +02:00
Alexis
42324fa670 Removed debug log 2023-10-15 11:17:31 +02:00
Alexis
0445cad2a5 Added defer to see if it does anything on prod server 2023-10-15 11:04:26 +02:00
Alexis
b6128f5525 Added official URL 2023-10-15 10:26:49 +02:00
Alexis
8e11c4c1a5 Fixed trailing slash issue 2023-10-15 10:24:36 +02:00
Alexis
0825d04b8f Test with localhost setup 2023-10-15 10:04:43 +02:00
Alexis
97573efc37 Replaced localhost url with actual web url 2023-10-14 22:44:10 +02:00
Alexis
651c21b8ec Added marker display when flown to marker
And also refactored some event listeners
2023-10-14 19:22:49 +02:00
37329 changed files with 11615 additions and 7924 deletions

View File

@@ -1,2 +1,25 @@
# Leim Maps
Repository for interactive maps using Leim's Wiki data
🗺️ A simple Astro static site to display custom maps with Leaflet. Includes sample images with maps from my own world.
## Features
* Add your own markers for cities, NPCs, or quests
* Search through markers
* Create multiple maps for different continents or countries
* 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 [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 !

View File

@@ -1,13 +1,30 @@
import { defineConfig } from 'astro/config';
import nodeJs from '@astrojs/node';
import { defineConfig, envField } from 'astro/config';
import vue from "@astrojs/vue";
import sitemap from "@astrojs/sitemap";
// https://astro.build/config
export default defineConfig({
integrations: [vue()],
output: 'server',
adapter: nodeJs({
mode: 'standalone'
}),
});
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
],
},
},
}
});

6598
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
{
"name": "leim-maps",
"type": "module",
"version": "0.0.1",
"version": "1.4.14",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
@@ -10,16 +10,18 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/node": "^6.0.3",
"@astrojs/vue": "^3.0.1",
"@nanostores/vue": "^0.10.0",
"@types/leaflet": "^1.9.6",
"@vueuse/core": "^10.5.0",
"astro": "^3.2.0",
"nanostores": "^0.9.3",
"vue": "^3.3.4"
"@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.31"
},
"devDependencies": {
"sass": "^1.68.0"
"sass": "^1.98.0"
}
}

4414
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

10
pnpm-workspace.yaml Normal file
View File

@@ -0,0 +1,10 @@
allowBuilds:
'@parcel/watcher': true
esbuild: true
sharp: true
vue-demi: true
onlyBuiltDependencies:
- '@parcel/watcher'
- esbuild
- sharp
- vue-demi

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 MiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
public/icon/death.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
public/icon/flag-shadow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
public/icon/flag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
public/icon/house.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1000 B

After

Width:  |  Height:  |  Size: 1000 B

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 851 B

BIN
public/icon/push-pin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="#FFF"><path d="M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"></path></svg>

After

Width:  |  Height:  |  Size: 440 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><path d="M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"></path></svg>

After

Width:  |  Height:  |  Size: 428 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#FFF" viewBox="0 0 256 256"><path d="M235.32,73.37,182.63,20.69a16,16,0,0,0-22.63,0L20.68,160a16,16,0,0,0,0,22.63l52.69,52.68a16,16,0,0,0,22.63,0L235.32,96A16,16,0,0,0,235.32,73.37ZM84.68,224,32,171.31l32-32,26.34,26.35a8,8,0,0,0,11.32-11.32L75.31,128,96,107.31l26.34,26.35a8,8,0,0,0,11.32-11.32L107.31,96,128,75.31l26.34,26.35a8,8,0,0,0,11.32-11.32L139.31,64l32-32L224,84.69Z"></path></svg>

After

Width:  |  Height:  |  Size: 461 B

1
public/icon/ruler.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#020617" viewBox="0 0 256 256"><path d="M235.32,73.37,182.63,20.69a16,16,0,0,0-22.63,0L20.68,160a16,16,0,0,0,0,22.63l52.69,52.68a16,16,0,0,0,22.63,0L235.32,96A16,16,0,0,0,235.32,73.37ZM84.68,224,32,171.31l32-32,26.34,26.35a8,8,0,0,0,11.32-11.32L75.31,128,96,107.31l26.34,26.35a8,8,0,0,0,11.32-11.32L107.31,96,128,75.31l26.34,26.35a8,8,0,0,0,11.32-11.32L139.31,64l32-32L224,84.69Z"></path></svg>

After

Width:  |  Height:  |  Size: 464 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><path d="M224,104a8,8,0,0,1-13.66,5.66L184,83.31l-42.34,42.35a8,8,0,0,1-11.32-11.32L172.69,72,146.34,45.66A8,8,0,0,1,152,32h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z" fill="#FFF" /></svg>

After

Width:  |  Height:  |  Size: 405 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><path d="M224,104a8,8,0,0,1-13.66,5.66L184,83.31l-42.34,42.35a8,8,0,0,1-11.32-11.32L172.69,72,146.34,45.66A8,8,0,0,1,152,32h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"/></svg>

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -1,130 +1,4 @@
/*
* L.TileLayer.Zoomify display Zoomify tiles with Leaflet
*
* Based on the Leaflet.Zoomify (https://github.com/turban/Leaflet.Zoomify)
* from turban (https://github.com/turban)
*
*/
L.TileLayer.Zoomify = L.TileLayer.extend({
options: {
width: -1, // Must be set by user, max zoom image width
height: -1, // Must be set by user, max zoom image height
tileGroupPrefix: 'TileGroup',
tilesPerTileGroup: 256
},
initialize: function (url, options) {
L.TileLayer.prototype.initialize.call(this, url, options);
// Replace with automatic loading from ImageProperties.xml
if (this.options.width < 0 || this.options.height < 0) {
throw new Error('The user must set the Width and Height of the Zoomify image');
}
},
beforeAdd: function (map) {
var imageSize = L.point(this.options.width, this.options.height);
// Build the zoom sizes of the pyramid and cache them in an array
this._imageSize = [imageSize];
this._gridSize = [this._getGridSize(imageSize)];
// Register the image size in pixels and the grid size in # of tiles for each zoom level
while (imageSize.x > this.options.tileSize || imageSize.y > this.options.tileSize) {
imageSize = imageSize.divideBy(2).ceil();
this._imageSize.push(imageSize);
this._gridSize.push(this._getGridSize(imageSize));
}
// We built the cache from bottom to top, but leaflet uses a top to bottom index for the zoomlevel,
// so reverse it for easy indexing by current zoomlevel
this._imageSize.reverse();
this._gridSize.reverse();
// Register our max supported zoom level
var maxNativeZoom = this._gridSize.length - 1;
this.options.maxNativeZoom = maxNativeZoom;
// Register our bounds for this zoomify layer based on the maximum zoom
var maxZoomGrid = this._gridSize[maxNativeZoom],
maxX = maxZoomGrid.x * this.options.tileSize,
maxY = maxZoomGrid.y * this.options.tileSize,
southEast = map.unproject([maxX, maxY], maxNativeZoom);
this.options.bounds = new L.LatLngBounds([[0, 0], southEast]);
L.TileLayer.prototype.beforeAdd.call(this, map);
},
// Calculate the grid size for a given image size (based on tile size)
_getGridSize: function (imageSize) {
var tileSize = this.options.tileSize;
return L.point(Math.ceil(imageSize.x / tileSize), Math.ceil(imageSize.y / tileSize));
},
// Extend the add tile function to update our arbitrary sized border tiles
_addTile: function (coords, container) {
// Load the tile via the original leaflet code
L.TileLayer.prototype._addTile.call(this, coords, container);
// Get out imagesize in pixels for this zoom level and our grid size
var imageSize = this._imageSize[this._getZoomForUrl()],
gridSize = this._gridSize[this._getZoomForUrl()];
// The real tile size (default:256) and the display tile size (if zoom > maxNativeZoom)
var realTileSize = L.GridLayer.prototype.getTileSize.call(this),
displayTileSize = L.TileLayer.prototype.getTileSize.call(this);
// Get the current tile to adjust
var key = this._tileCoordsToKey(coords),
tile = this._tiles[key].el;
// Calculate the required size of the border tiles
var scaleFactor = L.point( (imageSize.x % realTileSize.x),
(imageSize.y % realTileSize.y)).unscaleBy(realTileSize);
// Update tile dimensions if we are on a border
if ((imageSize.x % realTileSize.x) > 0 && coords.x === gridSize.x - 1) {
tile.style.width = displayTileSize.scaleBy(scaleFactor).x + 'px';
}
if ((imageSize.y % realTileSize.y) > 0 && coords.y === gridSize.y - 1) {
tile.style.height = displayTileSize.scaleBy(scaleFactor).y + 'px';
}
},
// Construct the tile url, by inserting our tilegroup before we template the url
getTileUrl: function (coords) {
// Set our TileGroup variable, and then let the original tile templater do the work
this.options.g = this.options.tileGroupPrefix + this._getTileGroup(coords);
// Call the original templater
return L.TileLayer.prototype.getTileUrl.call(this, coords);
},
// Calculates the TileGroup number, each group contains 256 tiles. The tiles are stored from topleft to bottomright
_getTileGroup: function (coords) {
var zoom = this._getZoomForUrl(),
num = 0,
gridSize;
// Get the total number of tiles from the lowest zoom level to our zoomlevel
for (var z = 0; z < zoom; z++) {
gridSize = this._gridSize[z];
num += gridSize.x * gridSize.y;
}
// Add the remaining tiles from this zoom layer to the running total of tiles
num += coords.y * this._gridSize[zoom].x + coords.x;
return Math.floor(num / this.options.tilesPerTileGroup);
},
getBounds: function () {
return this.options.bounds;
}
});
L.tileLayer.zoomify = function (url, options) {
return new L.TileLayer.Zoomify(url, options);
};
L.TileLayer.Zoomify=L.TileLayer.extend({options:{width:-1,height:-1,tileGroupPrefix:'TileGroup',tilesPerTileGroup:256},initialize:function(url,options){L.TileLayer.prototype.initialize.call(this,url,options);if(this.options.width<0||this.options.height<0){throw new Error('The user must set the Width and Height of the Zoomify image')}},beforeAdd:function(map){var imageSize=L.point(this.options.width,this.options.height);this._imageSize=[imageSize];this._gridSize=[this._getGridSize(imageSize)];while(imageSize.x>this.options.tileSize||imageSize.y>this.options.tileSize){imageSize=imageSize.divideBy(2).ceil();this._imageSize.push(imageSize);this._gridSize.push(this._getGridSize(imageSize))}
this._imageSize.reverse();this._gridSize.reverse();var maxNativeZoom=this._gridSize.length-1;this.options.maxNativeZoom=maxNativeZoom;var maxZoomGrid=this._gridSize[maxNativeZoom],maxX=maxZoomGrid.x*this.options.tileSize,maxY=maxZoomGrid.y*this.options.tileSize,southEast=map.unproject([maxX,maxY],maxNativeZoom);this.options.bounds=new L.LatLngBounds([[0,0],southEast]);L.TileLayer.prototype.beforeAdd.call(this,map)},_getGridSize:function(imageSize){var tileSize=this.options.tileSize;return L.point(Math.ceil(imageSize.x/tileSize),Math.ceil(imageSize.y/tileSize))},_addTile:function(coords,container){L.TileLayer.prototype._addTile.call(this,coords,container);var imageSize=this._imageSize[this._getZoomForUrl()],gridSize=this._gridSize[this._getZoomForUrl()];var realTileSize=L.GridLayer.prototype.getTileSize.call(this),displayTileSize=L.TileLayer.prototype.getTileSize.call(this);var key=this._tileCoordsToKey(coords),tile=this._tiles[key].el;var scaleFactor=L.point((imageSize.x%realTileSize.x),(imageSize.y%realTileSize.y)).unscaleBy(realTileSize);if((imageSize.x%realTileSize.x)>0&&coords.x===gridSize.x-1){tile.style.width=displayTileSize.scaleBy(scaleFactor).x+'px'}
if((imageSize.y%realTileSize.y)>0&&coords.y===gridSize.y-1){tile.style.height=displayTileSize.scaleBy(scaleFactor).y+'px'}},getTileUrl:function(coords){this.options.g=this.options.tileGroupPrefix+this._getTileGroup(coords);return L.TileLayer.prototype.getTileUrl.call(this,coords)},_getTileGroup:function(coords){var zoom=this._getZoomForUrl(),num=0,gridSize;for(var z=0;z<zoom;z++){gridSize=this._gridSize[z];num+=gridSize.x*gridSize.y}
num+=coords.y*this._gridSize[zoom].x+coords.x;return Math.floor(num/this.options.tilesPerTileGroup)},getBounds:function(){return this.options.bounds}});L.tileLayer.zoomify=function(url,options){return new L.TileLayer.Zoomify(url,options)}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

49
public/robots.txt Normal file
View File

@@ -0,0 +1,49 @@
User-agent: GPTBot
Disallow: /
User-agent: ChatGPT-User
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: PerplexityBot
Disallow: /
User-agent: Amazonbot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Omgilibot
Disallow: /
User-Agent: FacebookBot
Disallow: /
User-Agent: Applebot
Disallow: /
User-agent: anthropic-ai
Disallow: /
User-agent: Bytespider
Disallow: /
User-agent: Claude-Web
Disallow: /
User-agent: Diffbot
Disallow: /
User-agent: ImagesiftBot
Disallow: /
User-agent: Omgilibot
Disallow: /
User-agent: Omgili
Disallow: /
User-agent: YouBot
Disallow: /
User-agent: AhrefsBot
Disallow: /
User-agent: AhrefsSiteAudit
Disallow: /
User-agent: SemrushBot
Disallow: /
User-agent: YandexMarket
Disallow: /
User-agent: YandexBot
Disallow: /
User-agent: DataForSeoBot
Disallow: /
Sitemap: https://maps.alexcreates.fr/sitemap-index.xml

View File

@@ -1 +0,0 @@
<IMAGE_PROPERTIES WIDTH="14658" HEIGHT="15168" NUMTILES="4660" NUMIMAGES="1" VERSION="1.8" TILESIZE="256" />

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Some files were not shown because too many files have changed in this diff Show More