Commit Graph

280 Commits

Author SHA1 Message Date
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
Matthieu Baumann
ad3e86b146 add format change ui, send a hips_removed event when a layer changes 2024-07-16 22:48:22 +02:00
Matthieu Baumann
b632db96b1 fix some ui, line thickness, add resizeChanged and projectionChanged callbacks 2024-07-15 18:35:16 +02:00
Matthieu Baumann
16b01504a6 fix hips icon name 2024-07-12 18:59:57 +02:00
Matthieu Baumann
c8a4fb25d3 add an API example for putting an image as overlay with a WCS given as JS objec 2024-07-12 17:57:36 +02:00
Matthieu Baumann
9ccc7ce602 fix some bugs: zoom buttons, fits image display 2024-07-03 16:03:52 +02:00
Matthieu Baumann
a2d85aa0a5 fix context sub menu deploy for small screen 2024-07-02 19:11:55 +02:00
Matthieu Baumann
dbd43e9809 Adapt Aladin lite display for small sized devices
In particular for iphones (320px wide). This use media queries (that will be documented) that hide some UI ele
ments if aladin lite is too small. Users still can override the css if they want.
2024-07-02 19:11:55 +02:00
Matthieu Baumann
098ef8f69d handle rotation for ICRS frame when exporting the WCS. CRVAL on the equator and Galactic frame with cylindrical projection are not handled. This targets issue https://github.com/cds-astro/aladin-lite/issues/170 2024-07-02 19:00:16 +02:00
Matthieu Baumann
d27138e086 WIP: polyline catalog renderer 2024-07-02 19:00:16 +02:00
Matthieu Baumann
bb288bd5b0 propose a removeHiPSFromFavorites method on the aladin object. Targets issue: https://github.com/cds-astro/aladin-lite/issues/171 2024-07-02 19:00:16 +02:00
Matthieu Baumann
37c3588348 move rendering part from line rasterizer to the moc renderable 2024-07-02 19:00:16 +02:00
Matthieu Baumann
3b7ef36212 store shaders in the wasm, add a build:dbg vite bundle mode, projections on the gpu 2024-07-02 19:00:16 +02:00
Matthieu Baumann
fe88b2774d use of instancing and impl inside the line rasterizer. Lyon is not needed anymore for plotting lines, but still used for plotting filled paths 2024-07-02 19:00:16 +02:00
Matthieu Baumann
44ce41d9db first commit 2024-07-02 19:00:16 +02:00
Matthieu Baumann
2b5f8a751a add some docs on UI customization, a jsdoc conf file, fix some class links in the doc 2024-06-11 08:32:05 +02:00
Matthieu Baumann
813589bfdc restore the use of last version of moclibrust and cdshealpix. Still need to wait for proper version release so that we can points towards them instead of the github repo. This should fix https://github.com/cds-astro/aladin-lite/issues/163 and https://github.com/cds-astro/aladin-lite/issues/150 2024-06-11 08:32:05 +02:00
Matthieu Baumann
93a7c7c642 points to moc/healpix released versions + multi selection 2024-05-29 19:26:35 +10:00
Matthieu Baumann
bada1dcecb fix: restore context after drawing overlay + rename Overlay -> GraphicOverlay 2024-05-21 17:40:22 +10:00