Commit Graph

629 Commits

Author SHA1 Message Date
James Lyne
d4e08970a6 Update typescript 2022-06-17 13:52:55 +01:00
James Lyne
e37ed130f5 Add option for custom login URL. Fixes #381. 2022-06-17 13:44:53 +01:00
James Lyne
46c4e6d3eb Simplify login logic
Let LOGIN action handle displaying the modal if required.
2022-06-17 13:44:53 +01:00
James Lyne
8666f87383 Allow use of {name} in Pl3xmap/Squaremap heads-url. Fixes #462. 2022-06-17 11:51:24 +01:00
James Lyne
89e6fcf33d Fix double / issues in Overviewer URLs. Fixes #454. 2022-06-17 11:38:38 +01:00
James Lyne
af2ab839ac Display error if JS fails to load. Fixes #404 2022-05-31 11:58:56 +01:00
ChrissW-R1
14facbbd1c use split map name for as type 2022-05-11 21:45:50 +02:00
ChrissW-R1
f533d084f4 added icons for non-standard map names. 2022-05-11 21:22:58 +02:00
James Lyne
5b5e908600 Respect disableMarkerUI when handling expandUI. Fixed #405 2022-04-26 15:58:35 +01:00
James Lyne
9bac5f601d Add option to disable marker UI 2022-04-01 13:27:25 +01:00
James Lyne
f120aa8c51 Lazily create sandbox iframe 2022-02-27 21:37:07 +00:00
James Lyne
625e44a048 Remove per world default zoom, use per map instead 2022-02-27 20:42:47 +00:00
James Lyne
4473b35f7d Support overviewer URL format 2022-02-27 20:20:45 +00:00
James Lyne
0a1842f77d Some jsdocs 2022-02-27 16:22:29 +00:00
James Lyne
f4481a1d6c Move and rename player image util methods 2022-02-26 14:42:17 +00:00
James Lyne
f794dcb813 Guess overviewer world dimensions from world name 2022-02-26 13:52:24 +00:00
James Lyne
f472422281 Move dynmap dimension guessing to util function 2022-02-26 13:52:02 +00:00
James Lyne
6373c52729 Use initial page title for overviewer maps 2022-02-26 13:24:48 +00:00
James Lyne
a15e9d4b77 Overviewer overlay layers 2022-02-26 01:02:56 +00:00
James Lyne
80bb800e04 Preparation for overlay TileLayers 2022-02-26 01:02:32 +00:00
James Lyne
06ac12ba29 Move tileUpdateInterval handling to LiveAtlasTileLayer 2022-02-25 14:50:17 +00:00
James Lyne
bf300d977c Overviewer spawn marker 2022-02-24 22:53:26 +00:00
James Lyne
70b5b4eb47 Refactor GenericIcon 2022-02-24 21:54:25 +00:00
James Lyne
87a1665d53 Rename GenericMarker dimensions to iconSize and make optional 2022-02-24 21:08:27 +00:00
James Lyne
2a47a99493 Fix marker counts in marker list when switching maps 2022-02-24 20:47:13 +00:00
James Lyne
475c53a688 Fix marker list icons 2022-02-24 20:44:17 +00:00
James Lyne
bd13e67f48 Replace MapProvider.getMarkerIconURL with passing full URL to GenericMarker 2022-02-24 18:39:37 +00:00
James Lyne
60d84d61a0 Fixed layout for marker icons with no iconSize 2022-02-24 00:32:30 +00:00
James Lyne
56b07aeaf7 Fix error showing label on markers without an iconSize 2022-02-23 23:23:10 +00:00
James Lyne
3e1122d34d Use overviewer hovertext as marker tooltip 2022-02-23 23:22:51 +00:00
James Lyne
cde0c327a0 Round marker list locations 2022-02-23 23:22:08 +00:00
James Lyne
0c6eadd25f Overviewer cleanup 2022-02-23 22:33:31 +00:00
James Lyne
40ee948d91 Replace MapProvider.getTilesUrl with LiveAtlasMapDefinition baseUrl option 2022-02-23 22:32:59 +00:00
James Lyne
1c5351313f LiveAtlasMapDefinition cleanup
- Reorganise options for improved readability
- Make options with defaults optional
- Add baseUrl option for later TileLayer use
2022-02-23 22:31:50 +00:00
James Lyne
c4f2d106bf All per-map default zoom 2022-02-23 14:31:31 +00:00
James Lyne
61194c9c99 Fix error when marker set is removed when changing between maps on the same world 2022-02-23 13:58:32 +00:00
James Lyne
61b2a59e2a All per-map center points 2022-02-23 13:57:41 +00:00
James Lyne
1481207a12 More overviewer work
- First pass at markers
- Cleanup
2022-02-23 00:48:10 +00:00
James Lyne
b69a1b3a3f Make iconSize optional for GenericIcon, and center it if missing 2022-02-23 00:47:22 +00:00
James Lyne
50aba2dd7b MapProvider changes
- Add populateMap method to allow reacting to  the current map changes
- populateWorld, startUpdates and stopUpdates are no longer abstract
2022-02-23 00:42:53 +00:00
James Lyne
3eb9446a5d Ignore overlays for now 2022-02-21 22:58:55 +00:00
James Lyne
88f81efcf5 Update copyright headers 2022-02-21 21:53:49 +00:00
James Lyne
b43f1f0fe6 Basic support for overviewer 2022-02-21 21:50:31 +00:00
James Lyne
68eccb2b5b Pass projection into LiveAtlasMapDefinition instead of creating it internally 2022-02-21 20:27:09 +00:00
James Lyne
59fbcfd8be Fix build warning 2022-02-20 19:40:35 +00:00
James Lyne
eba601e7fe Add option to disable map context menu 2022-02-20 19:35:10 +00:00
James Lyne
e3f1b72d8c Fix typo 2022-02-17 19:55:10 +00:00
James Lyne
dfcaa6bf42 Support dynmap tilescale 2022-02-17 19:38:03 +00:00
James Lyne
af8f197a3e More robust Squaremap fill/stroke checks. Fixes #359 2022-02-15 16:45:04 +00:00
James Lyne
c6948a7d50 Update some comments 2022-02-06 20:15:39 +00:00