NASA-AMMOS / MMGIS

Multi-Mission Geographical Information System - Web-based Mapping and Spatial Data Infrastructure for Planetary Science Operations - https://nasa-ammos.github.io/MMGIS/
Apache License 2.0
148 stars 46 forks source link

[Bug]: first search layer turns on automatically #564

Open cirquelar opened 5 months ago

cirquelar commented 5 months ago

Checked for duplicates

Yes - I've already checked

Describe the bug

I entered a search variable in a layer, but set the visibility off. When I opened the Mission, the first search layer automatically turned on. It was a large layer and it slowed down loading the map.

What did you expect?

I expected the search to not load the layer automatically, but wait until the search was done, THEN load the layer and zoom/pan to the feature.

Reproducible steps

1. Make a layer with a search variable, but make layer visibility off.
2. Open the Mission containing the layer.

Environment

- Version of this software: 2.11
- Operating System: Windows 11