Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circle might appear way too big in AITOFF/Mollweide projections #216

Closed
tboch opened this issue Jan 10, 2025 · 5 comments
Closed

Circle might appear way too big in AITOFF/Mollweide projections #216

tboch opened this issue Jan 10, 2025 · 5 comments
Labels

Comments

@tboch
Copy link
Collaborator

tboch commented Jan 10, 2025

This code:

var aladin;
A.init.then(() => {
  aladin = A.aladin('#aladin-lite-div', {projection: 'AIT', frame: 'J2000', fov:360});
  const overlay = A.graphicOverlay({color: '#ffff00'});
  const circle = A.circle(179.35358333, 72.97052778, 0.8);
  overlay.addFootprints([circle]);
  aladin.addOverlay(overlay);
});

triggers this view:
image

JSFiddle link for live testing

@tboch
Copy link
Collaborator Author

tboch commented Jan 16, 2025

Fixed in develop branch.

Waiting for @ManonMarchand fix about addFootprints and requestRedraw to close this issue.

@ManonMarchand
Copy link
Member

Done with #223

@tboch
Copy link
Collaborator Author

tboch commented Jan 16, 2025

Done with #223

Thanks!

Closing this issue then.

@tboch tboch closed this as completed Jan 16, 2025
@ebikengo
Copy link

Thanks, we would like to test the fixed version
@tboch

@tboch
Copy link
Collaborator Author

tboch commented Jan 24, 2025

Thanks, we would like to test the fixed version @tboch

This version is not released yet, but you can build the js file from the develop branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants