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
89c56e176b
Some style refactoring
...
- Use CSS variables for UI element size/spacing
- Make buttons smaller on smaller screens
- Reduce location size on smaller screens
- Add common leaflet-control-button class for all button-y controls
2021-08-26 00:54:40 +01:00
James Lyne
2d485ac4e5
Fix marker labels disappearing when toggling a showLabels: true layer twice
2021-08-16 04:21:48 +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
2ff16c81ed
Merge remote-tracking branch 'origin/master'
2021-07-29 18:20:05 +01:00
James Lyne
e07ac55c33
Merge branch 'pl3xmap'
...
# Conflicts:
# src/api.ts
# src/components/Map.vue
# src/components/map/layer/MapLayer.vue
# src/components/map/layer/MarkerSetLayer.vue
# src/components/map/vector/Areas.vue
# src/components/map/vector/Circles.vue
# src/components/map/vector/Lines.vue
# src/components/map/vector/Markers.vue
# src/components/sidebar/WorldListItem.vue
# src/dynmap.d.ts
# src/index.d.ts
# src/leaflet/icon/GenericIcon.ts
# src/leaflet/layer/LiveAtlasLayerGroup.ts
# src/leaflet/tileLayer/DynmapTileLayer.ts
# src/leaflet/vector/LiveAtlasPolygon.ts
# src/leaflet/vector/LiveAtlasPolyline.ts
# src/model/LiveAtlasMapDefinition.ts
# src/model/LiveAtlasProjection.ts
# src/store/actions.ts
# src/store/getters.ts
# src/store/state.ts
# src/util.ts
# src/util/areas.ts
# src/util/circles.ts
# src/util/lines.ts
# src/util/markers.ts
2021-07-29 18:15:35 +01:00
James Lyne
38946d7015
Initial pl3xmap support
2021-07-29 18:06:19 +01:00
James Lyne
a7fa366635
Create marker labels lazily when showLabels is false
2021-07-29 17:46:11 +01:00
James Lyne
2a216dd4e8
Path performance improvements
...
- Avoid intermediate objects when creating leaflet objects to reduce allocations
- Make individual path objects non-reactive
- Avoid projecting path points twice during updates
2021-07-28 04:04:47 +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
e809f28455
(Re)move some config store properties
2021-07-26 01:04:18 +01:00
James Lyne
1d27e05f7c
Rename DynmapPlayer to LiveAtlasPlayer, rename some fields, add uuid field
2021-07-26 01:04:18 +01:00
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