Commit Graph

34 Commits

Author SHA1 Message Date
Matthieu Baumann
c797aec7f7 add doc for the different shapes 2024-04-23 00:19:45 +02:00
Matthieu Baumann
b68358f6b2 add proper motion example 2024-04-23 00:19:45 +02:00
Matthieu Baumann
9109c69fc3 expose Line in the API and add an example with proper motions drawn from a Simbad CS around the LMC 2024-04-23 00:19:45 +02:00
Matthieu Baumann
d56dbd1659 first commit 2024-04-23 00:19:45 +02:00
Philip Matsson
dc027e89c4 Add hover effect to footprints and source objects 2024-03-27 23:59:42 +01:00
Matthieu Baumann
c2bb0980af fix planetary pointer + enhance fast display when changing the hips 2024-03-22 11:02:05 +01:00
Matthieu Baumann
a5da99c99f add status box ui element 2024-02-29 18:13:22 +01:00
Matthieu Baumann
d55f47fcf6 fix hover line thickness 2024-02-29 18:13:22 +01:00
Matthieu Baumann
c42ac03836 fix polyfill in sin proj 2023-09-22 17:04:51 +02:00
Matthieu Baumann
13a6037882 Polyline: add hpx code to remove drawing lines in between 2 different collinion zone 2023-09-22 17:04:51 +02:00
szpetny
7dec2fd9be A proposal of a new feature - let the polygon to be filled in with a given color with given transparency 2023-09-22 17:04:51 +02:00
szpetny
98b0d0dff6 setOverlay added to Footprint bc draw function fails when it is lacking,
improvement - reading lineWidth from overlay if not specified in shape
2023-08-22 16:29:06 +02:00
Matthieu Baumann
a8a86a2952 Merge branch 'develop' into develop 2023-08-12 15:18:38 +02:00
Matthieu Baumann
ffdeb0ac2a fix footprints example 2023-08-11 18:16:05 +02:00
Cédric Foellmi
2dc6f17c7d Renaming Utils.js into Utils.ts and correcting related imports.
Note that the content of Utils.ts has also been changed. More pecisely:

- `relMouseCoords` has been set as a function of the Utils object, to avoid attaching it to canvas prototype. This was very custom way of doing, and makes testing very complicated to run, while providing no real value.

- Removed the jQuery dependency and made `urlParam` a function of the Utils object.

- Added some types when possible / easy. But TS already reveal the misuse of some function sur as `parseInt` and `parseFloat` (which act on strings, not numbers)

Signed-off-by: Cédric Foellmi <cedric@onekiloparsec.dev>
2023-07-18 12:11:15 +02:00
bmatthieu3
6b0f4e4b60 Commit related to PR #90. We first check the clockwise order of the footprints in the celestial space first. 2023-05-23 11:46:01 +02:00
bmatthieu3
42243edf65 check for ccw order for every 3 vertices 2023-05-19 23:59:39 +02:00
Henrik Norman
861c224c7a Customize colors, sizes, and shape types
Co-authored-by: bmatthieu3 <matthieu.baumann@astro.unistra.fr>
2023-05-17 17:56:54 +02:00
bmatthieu3
910678aa84 select footprints 2023-05-16 21:58:26 +02:00
bmatthieu3
0441726f1f hover footprints 2023-05-16 16:46:23 +02:00
bmatthieu3
d192f0cedc fix hovering footprint 2023-05-16 15:54:29 +02:00
Matthieu BAUMANN
d520de061f simplify shapes 2023-04-24 16:42:14 +02:00
Thomas Boch
7d79597c0d Fix color bug for polyline. Color of the graphicOverlay was ignored 2023-04-13 08:35:55 +02:00
Matthieu BAUMANN
be17058b24 Merge branch 'develop' 2023-01-30 15:18:45 +01:00
Matthieu BAUMANN
34c8cef482 projection wip 2022-12-21 14:12:40 +01:00
bmatthieu3
841759a1c3 fix footprints and polylines 2022-10-06 18:20:56 +02:00
Matthieu Baumann
84fcb6fb8a footprint works. Issue: look at the projectLine rust method to handle bid lines! 2021-02-03 12:14:20 +01:00
bmatthieu3
fd242662ed merge 2021-01-06 18:49:47 +01:00
Thomas Boch
5799482dde Merge branch 'master' into polyline 2020-08-24 11:53:56 +02:00
Thomas Boch
52d8391813 First step towards v3: AL can now be compiled with webpack 2020-07-17 12:55:45 +02:00
Thomas Boch
96588f02f4 Cleanup: remove unnecessary console.log 2020-01-29 19:34:41 +01:00
Thomas Boch
bdc6d42255 Bug fix: enable different colors for multiple polylines in same overlay layer 2020-01-29 19:30:12 +01:00
Henrik Norman
416c20cecc Fixed Polyline flickering & added possibility to set line width and color 2019-12-06 13:54:02 +01:00
tboch
4baa137428 2015-04-17 08:43:34 +00:00