Commit Graph

109 Commits

Author SHA1 Message Date
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