James Lyne
80fe8916f3
Refactor config loading
...
- Move config validation into map providers
- Move TileLayer creation into map providers
- Simplify config loading logic
2022-01-21 20:20:01 +00:00
James Lyne
46fc602a96
Fix incorrect argument type for DynmapTileLayer.getTileInfo
2022-01-14 20:11:43 +00:00
James Lyne
421c72dba7
Fix inactive maps stealing pending tile updates
2021-12-16 00:33:41 +00:00
James Lyne
0c87849356
Use @types/dynmap where possible ( Closes #224 )
2021-11-12 00:22:52 +00:00
James Lyne
0ae42a9409
Fix typings for LiveAtlasTileLayer _tiles property
2021-08-31 16:35:30 +01:00
James Lyne
ec115615d1
Fix build with Typescript 4.4
2021-08-27 02:40:25 +01:00
James Lyne
ca8142cca8
Use declare for leaflet defined fields
2021-08-26 21:40:54 +01:00
James Lyne
552b289bb9
Avoid recreating tiles from scratch when refreshing Pl3xmap
2021-08-16 03:33:28 +01:00
James Lyne
f316c0dd50
Use fetch for tile loads, move loading logic to LiveAtlasTileLayer
2021-08-16 03:08:35 +01:00
James Lyne
38946d7015
Initial pl3xmap support
2021-07-29 18:06:19 +01:00
James Lyne
5cf353cd8a
Update license headers
2021-07-26 01:05:08 +01:00
James Lyne
5fb0a3e2f4
Move night/update handling into DynmapTileLayer
2021-07-26 01:05:07 +01:00
James Lyne
e61d0def04
Replace serverConfig getter with MapProvider url methods
2021-07-26 01:05:07 +01:00
James Lyne
e7945b3f9a
Add fields to DynmapTileLayer
2021-07-26 01:05:07 +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
9bea4519c6
Rename some types
2021-07-19 16:40:30 +01:00
James Lyne
c73e2682eb
Fix some inspections
2021-05-27 14:52:26 +01:00
James Lyne
6095647b82
Refactor redundant HDMapType into DynmapTileLayer.ts
2021-05-20 00:35:56 +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
58ad360f84
Fix day/night maps. Fixes #9
2021-02-01 00:16:13 +00:00
James Lyne
c739a062a3
Improve handling of tile URLs
2020-12-22 20:34:31 +00:00
James Lyne
31b05613fb
Add license
2020-12-16 16:54:41 +00:00
James Lyne
b9b58399f6
Targeted leaflet imports
2020-12-12 22:04:56 +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
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