ryanhausen / fitsmap

FitsMap: A Simple, Lightweight Tool For Displaying Interactive Astronomical Image and Catalog Data
MIT License
48 stars 8 forks source link

UI settings label #92

Closed ryanhausen closed 2 months ago

ryanhausen commented 2 months ago

This PR a couple new UI features along with fixing some typos in the documentation.

The new UI tools are:

  1. Settings Button which can adjust image appearance (brightness, contrast, inversion, hue) and catalog appearance (line color, fill color, radius size, number of columns in pop up)
  2. Adds a scale bar at the bottom left that shows the name of the currently displayed layer, the scale of the current zoom, and the position of the mouse in the coordinates of the image.

There is a breaking change with this update, in that the value n_rows_per_column is no longer valid. This is now set using n_columns because this is also editable in the javascript. It's also a more natural way I think to set the value.

ryanhausen commented 2 months ago

fixes #89