298 Commits

Author SHA1 Message Date
bmatthieu3
31e7d6f0ac additionnal commit for solving #246 2025-03-24 17:46:15 +01:00
bmatthieu3
f656176e28 Fix MOC settings after its creation
MOC settings after their creation was not possible. This PR fix it.
It is also possible to directly set the 'color', 'fillColor', 'opacity'
and 'lineWidth' MOC properties without doing any reportChange
afterwards. These settings will automatically notify the wasm part for
change of the MOC options and will update the view.
2025-03-24 11:56:37 +01:00
bmatthieu3
425e3e2459 hide the popup when its associated Source is out of fov 2025-03-20 20:52:09 +01:00
bmatthieu3
ebb9d6d3d6 Display labels
Two modes of display:
* ICRSd & GALACTIC frame set the formatting of grid labels to decimal
with digit precision being computed from the grid step selected
* ICRS frame set the formatting to sexagesimal in the format: deg min
sec.ddd .

This fixes #172
2025-03-20 15:47:59 +01:00
bmatthieu3
492927c557 access HiPS2FITS interface from the contextual menu by giving the WCS object 2025-03-19 12:35:18 +01:00
bmatthieu3
628ea826bf make the toolbar elements aligned vertically and with the same size 2025-03-19 12:35:18 +01:00
bmatthieu3
5604ea2be6 disable changing cuts the first 100ms after the right click to prevent changing cuts when opening the context menu 2025-03-19 12:35:18 +01:00
bmatthieu3
826ef4fdb7 Fix #151. It is now possible to escape the fullscreen. I fixed a refresh of the fullscreen button bug by defining a special alevent:fullscreen_toggled that the fullscreen button can listen to in order to change its arrow image (opening or closing). Also fix mouseup bug during selection 2025-02-14 15:26:52 +01:00
Matthieu Baumann
bf12e85c70 fix #228, complete the api doc to help the user understand the edge, fill and perimeter booleans 2025-02-14 09:55:10 +01:00
Matthieu Baumann
7994ecc40e add a .gitignore to help the compilation phase and contribution #205 2025-02-14 08:42:09 +01:00
Matthieu Baumann
5d3d0b2cfc fix #225 2025-02-14 08:42:09 +01:00
Matthieu Baumann
f75211902b fix #225. I set to the hips object the cached options if there are instead of erasing the Hips object given by the user with a new one with the cached options 2025-02-14 08:42:09 +01:00
Matthieu Baumann
542b1d0ace fix access to ska dachs service 2025-02-06 11:59:06 +01:00
Matthieu Baumann
a6f2f1ed76 UI: expose gamma slider. Fix #190 2024-11-06 15:30:30 +01:00
Matthieu Baumann
5562d74c0b fix hover color on catalogs 2024-11-06 15:30:30 +01:00
Matthieu Baumann
1e51a6e17e wip: hips3d struct and hips enum 2024-11-06 15:30:30 +01:00
Matthieu Baumann
9b098fdcdd restore zooming out feature 2024-10-11 13:45:04 +02:00
Matthieu Baumann
52ea23a2d8 use texture2darray for displaying HiPS 2024-10-09 16:46:12 +02:00
Matthieu Baumann
61f9af1415 use Moc.fits when loading a local HiPS + add readme example vignettes 2024-09-24 14:29:32 +02:00
Matthieu Baumann
9c9ebb0ed1 add sesame access in A.Utils + Aladin.remove that removes either an overlay or a layer 2024-09-18 17:22:17 +02:00
Matthieu Baumann
504cab42bb feat: add possibility of loading a local hips without the need of starting an http server 2024-09-18 14:52:18 +02:00
Matthieu Baumann
bf726088ad trigger positionChanged with dragging false when releasing the mouse 2024-09-13 11:22:17 +02:00
Matthieu Baumann
aa8c31d246 simplify new test 2024-09-12 17:05:33 +02:00
Matthieu Baumann
1271e5f0ac remove inject css vite plugin to manually insert the content of aladin.css in js inside the aladin lite div container 2024-09-12 17:05:33 +02:00
Matthieu Baumann
3c23b6dbe9 remove rust warning, fix rust compilation 2024-09-11 18:15:17 +02:00
Matthieu Baumann
b4f905e745 fix css browser text input width so that user can redefine css 2024-09-11 18:15:17 +02:00
Matthieu Baumann
4c48d9a2a1 fix default allwise hips stored 2024-09-11 18:15:17 +02:00
Matthieu Baumann
7379e81277 add new tests. configure playwright to be less subject to timeouts by avoiding doing requests and using mocked data (gw local fits files, image fits files, local hips jpg tiles) 2024-09-11 18:15:17 +02:00
Matthieu Baumann
3f1702b34c add gw to playwright tests 2024-09-11 18:15:17 +02:00
Matthieu Baumann
aacf79007e fix playwright snapshots 2024-09-11 18:15:17 +02:00
Matthieu Baumann
180b63db37 rename ImageHiPS in HiPS, factorize Image/HiPS, zoom for trackpad refined 2024-09-11 18:15:17 +02:00
Matthieu Baumann
46cf0c2939 wip have a default hips url on allsky for the default hips list to begin to query while waiting for the mocserver response 2024-09-11 18:15:17 +02:00
Matthieu Baumann
69b2254542 fasten a little bit the starting by disabling the download of less precised tiles and thus it will only blend the good resolued tiles with less precised ones. 2024-09-11 18:15:17 +02:00
Matthieu Baumann
c9b1fc5f7f fix issue #179: onClick can be associated to user defined function 2024-09-11 18:15:17 +02:00
Matthieu Baumann
0024032861 WIP: try to enhance starting 2024-09-11 18:15:17 +02:00
Matthieu Baumann
b9fb0b7e53 avoid computing the full unprojected texturefor the raytracing step. Hope it's gonna fasten the starting of aladin lite 2024-09-11 18:15:17 +02:00
Matthieu Baumann
38d14e2239 add possibility to associate an Image or HTMLCanvasElement to a specific source in the shape function 2024-09-11 18:15:17 +02:00
Matthieu Baumann
b0bf7da8b1 add error ellipse example for 2mass 2024-09-11 18:15:17 +02:00
Matthieu Baumann
bd1b165971 remove firefox test, mock some assets (MOC, votable), remove CI for the moment, local use only 2024-09-10 18:28:30 +02:00
bmatthieu3
cedea781a1 allow the user to define and use its own colormaps.
Aladin.getListOfColormaps() and Aladin.addColormap new method. Solve #174
2024-07-29 12:13:00 +02:00
Matthieu Baumann
d8ff8aa41e remove tiff dep 2024-07-29 09:45:33 +02:00
bmatthieu3
3c4ec3a0c1 wip tiff support 2024-07-29 09:45:33 +02:00
Matthieu Baumann
dcf3bb360a wip parse the header inside xmp 2024-07-29 09:45:33 +02:00
bmatthieu3
c42002db8f wip: image format inference, avm parser based on https://www.strudel.org.uk/avm/js/, wcs creation from avm tags 2024-07-29 09:45:33 +02:00
Matthieu Baumann
4baab48716 return pos in icrs for the click 2024-07-24 20:57:53 +02:00
bmatthieu3
0cf53a6997 add local hips example, hips cache is not a static variable anymore, disable scroll bar style in the measurementdiv table 2024-07-22 17:42:41 +02:00
Matthieu Baumann
888aa6fc45 stack close btn 2024-07-21 12:14:33 +02:00
Matthieu Baumann
5a298f6ee1 fix some bugs, adapt ui for a new release 2024-07-17 18:43:29 +02:00
Xen0Xys
ba85bb496d Change layerChanged event trigger strategy 2024-07-17 09:58:28 +02:00
Xen0Xys
609b78dda3 📝 Add layerChanged event example to al-event-listeners.html 2024-07-17 09:58:28 +02:00