earthdata-search
earthdata-search copied to clipboard
EDSC-2523: Spatial restraints should zoom to center of viewable extent
Description
Entering spatial constraints currently zooms to the center of the entire EDSC window extent, not the current visible extent. The entire EDSC window includes space overlapping the map with the collections and facets panels.
With the default spacing of the collections and facet panels, a point is auto-zoomed/centered behind the collections panel. This may vary by browser/screen resolution/settings/etc.
This applies to all spatial search methods.
Acceptance Criteria
- When entered manually, all spatial selections are centered in the visible map area
- Shapefile spatial selections are centered in the visible map area