James Lyne
c99215e259
Use generic names for extended leaflet classes
2021-07-26 01:04:17 +01:00
James Lyne
ef26d78c19
Refactor map handling
...
- Map definitions now have their own class
- A map's projection is now a private property of the instance. Coordinates are converted via map instance methods.
- Moved map icon handling to instance getter
- Removed currentProjection and related mutations from store
- Changed currentProjection watchers to currentMap
2021-07-26 01:04:13 +01:00
James Lyne
9021c5291d
Use generic names for extended leaflet classes
2021-07-23 22:28:06 +01:00
James Lyne
c7ec76767e
Refactor map handling
...
- Map definitions now have their own class
- A map's projection is now a private property of the instance. Coordinates are converted via map instance methods.
- Moved map icon handling to instance getter
- Removed currentProjection and related mutations from store
- Changed currentProjection watchers to currentMap
2021-07-23 20:42:18 +01:00
James Lyne
9bea4519c6
Rename some types
2021-07-19 16:40:30 +01:00
James Lyne
66477288d5
Revert deprecation fix as it breaks the loading control
2021-05-29 02:35:39 +01:00
James Lyne
5b1df5ccf8
Customisable copy to clipboard messages
2021-05-29 00:38:29 +01:00
James Lyne
1f44f7e752
More keyboard handlers
2021-05-29 00:22:31 +01:00
James Lyne
0ca26beb8e
Keyboard event handling and focus styles for layers
2021-05-28 23:25:55 +01:00
James Lyne
ace8555a09
Customisable Layers button title
2021-05-28 21:28:21 +01:00
James Lyne
af3ef17ec4
Make layers toggle on click like other UI elements
2021-05-28 19:14:06 +01:00
James Lyne
57133c5681
Use aria attributes for active etc states
2021-05-28 00:14:51 +01:00
James Lyne
8fb37cccec
Prefix icon ids to avoid conflicts
2021-05-27 15:14:47 +01:00
James Lyne
c73e2682eb
Fix some inspections
2021-05-27 14:52:26 +01:00
James Lyne
cc5b1afb3e
More accessibility things
2021-05-26 20:09:00 +01:00
James Lyne
cce1f79a4d
More aria attributes
2021-05-26 03:07:24 +01:00
James Lyne
609b265951
Add copied to clipboard notifications
2021-05-25 14:21:37 +01:00
James Lyne
b6f41a8241
Use vue3-clipboard in LinkControl
2021-05-24 16:42:58 +01:00
James Lyne
fcf124c9ef
Make LiveAtlas messages translatable
2021-05-20 21:33:53 +01:00
James Lyne
6095647b82
Refactor redundant HDMapType into DynmapTileLayer.ts
2021-05-20 00:35:56 +01:00
James Lyne
ff7250f081
Fix hidden layers duplicating occasionally
2021-05-19 03:26:57 +01:00
James Lyne
c5f8644587
Fix hidebydefault preventing player marker player being added to the layer control
2021-05-18 23:07:25 +01:00
James Lyne
64fe37e35c
Respect dynmap showlayercontrol setting
2021-05-18 21:05:11 +01:00
James Lyne
7adfdec4c7
Fix head urls
2021-05-18 18:32:42 +01:00
James Lyne
1173dcbbce
Move dynmap urls into dynmap object for server configuration
2021-05-18 16:48:56 +01:00
James Lyne
0facb446f5
Initial work for multiple servers
2021-05-17 03:39:25 +01:00
James Lyne
c2b4218023
Fix backwards clear weather icons
2021-05-15 23:41:21 +01:00
James Lyne
ce241c93e0
Switch from webpack to vite
2021-05-15 20:25:03 +01:00
James Lyne
23b00bd19d
Respect dynmap layer priorities
2021-02-08 00:08:29 +00:00
James Lyne
58ad360f84
Fix day/night maps. Fixes #9
2021-02-01 00:16:13 +00:00
James Lyne
df487ec364
export Util functions separately
2021-01-26 20:37:29 +00:00
James Lyne
8260deba0b
Fix player health/armor display
2021-01-24 22:14:39 +00:00
James Lyne
a2942b6400
Improve caching of player marker name
2021-01-06 00:44:11 +00:00
James Lyne
3573694df0
Avoid unnecessary dom updates for player markers
2021-01-05 23:48:56 +00:00
James Lyne
652a63e278
Show player markers in the center of the current block
2021-01-05 21:06:10 +00:00
James Lyne
51a273f8de
Fix some timing issues in DynmapIcon
2020-12-31 22:38:58 +00:00
James Lyne
1f3ba13194
Move clock update handling to the control
2020-12-31 13:53:47 +00:00
James Lyne
cd22237e33
Chat
2020-12-31 13:22:50 +00:00
James Lyne
a5ff836ba4
Only create pane for layer group if it doesn't exist
2020-12-23 18:02:37 +00:00
James Lyne
05bf3e8b48
Prevent removed markers reapparing after toggling layer visibility
2020-12-23 18:02:10 +00:00
James Lyne
55bec9806f
Tweak link button
2020-12-22 20:34:34 +00:00
James Lyne
c739a062a3
Improve handling of tile URLs
2020-12-22 20:34:31 +00:00
James Lyne
165afd762c
Use player account for skin URL. Fixes #2
2020-12-22 13:15:59 +00:00
James Lyne
7fd972b80f
Fix weather icon flickering
2020-12-20 16:01:20 +00:00
James Lyne
8de6a218f5
Responsive improvements
2020-12-20 14:45:04 +00:00
James Lyne
a4d4491d5f
Use the same pane for all vector shapes, to allow clicks
2020-12-19 12:16:07 +00:00
James Lyne
11fbc069be
Handle marker set updates
2020-12-19 01:09:31 +00:00
James Lyne
7b1afa1c20
Handle showLabels config setting
2020-12-18 23:01:32 +00:00
James Lyne
0eea500098
Merker set changes
...
- Use separate panes for each marker set
- Set pane z-index based on marker set priority
- Optimize zoom visibility checks
2020-12-18 22:49:28 +00:00
James Lyne
d6693b4c0d
Respect min/max zoom settings for marker sets
2020-12-18 20:25:34 +00:00
James Lyne
cad535365b
Handle marker icon/label updates
2020-12-18 18:01:37 +00:00
James Lyne
d1fff4e120
Start chat implementation
2020-12-17 14:52:05 +00:00
James Lyne
a5d4b0c0d5
Remove unused corners
2020-12-16 22:41:01 +00:00
James Lyne
10cfd5b56f
Cleanup
2020-12-16 19:18:10 +00:00
James Lyne
31b05613fb
Add license
2020-12-16 16:54:41 +00:00
James Lyne
9fed29d5fa
Layer control styling
2020-12-15 22:14:04 +00:00
James Lyne
37c1766e6f
Add tile loading indicator
2020-12-15 01:52:49 +00:00
James Lyne
4b389d26b1
Don't try and update digital clock, if it is disabled
2020-12-14 15:57:05 +00:00
James Lyne
1128a9b0ba
Don't set a zindex on markers
2020-12-14 15:48:58 +00:00
James Lyne
4393890661
Respect marker set hidden by default config
2020-12-14 00:35:56 +00:00
James Lyne
ba4c7604d0
Fix player marker html usage
2020-12-14 00:28:09 +00:00
James Lyne
6249eb904b
Move marker set markers into single component. Start marker update handling.
2020-12-14 00:27:49 +00:00
James Lyne
52e8e5c6cf
Respect config location display options
2020-12-14 00:26:29 +00:00
James Lyne
98913d94b9
Clock improvements
...
- Use SVGs for sun/moon/weather
- Respect configuration for showing time of day
- Improve styling for digital clock on its own
- Remove old clock images
2020-12-13 23:26:21 +00:00
James Lyne
f37d3531a1
Allpw HTML in player names, sanitise it to be sure
2020-12-13 23:22:59 +00:00
James Lyne
99a28401b9
Fix player icons
2020-12-13 13:23:32 +00:00
James Lyne
9e28e695ee
Implement link copying and url handling
2020-12-13 02:50:17 +00:00
James Lyne
ac9e52ac96
Remove unused things
2020-12-12 22:05:09 +00:00
James Lyne
b9b58399f6
Targeted leaflet imports
2020-12-12 22:04:56 +00:00
James Lyne
37d7758d70
Layers button SVG icon
2020-12-12 21:38:09 +00:00
James Lyne
422e47bf70
Link button SVG icon
2020-12-12 21:37:40 +00:00
James Lyne
9caec78200
First attempt at clock styling
2020-12-12 19:11:29 +00:00
James Lyne
ca82f56185
Start layer control implementation
2020-12-11 21:38:50 +00:00
James Lyne
52bb6f5778
Implement update handling for map tiles
2020-12-11 18:51:23 +00:00
James Lyne
34b0e5f259
Slightly increase max concurrent tile loads
2020-12-10 02:22:59 +00:00
James Lyne
04ca1108be
Implement day/night background colors
2020-12-10 02:22:29 +00:00
James Lyne
404121188b
Marker improvements
...
- Refactor html and classnames
- Fix/refactor styles
- Re-implement player head images
2020-12-10 02:21:42 +00:00
James Lyne
5d0f26917d
More progress
2020-12-01 23:20:48 +00:00
James Lyne
a33b50cb03
Convert some leaflet things to typescript
2020-11-24 01:52:31 +00:00
James Lyne
151904c343
The map kinda works
2020-11-23 12:13:28 +00:00