geobtaa / geoportal

Big Ten Academic Alliance Geoportal
Other
10 stars 5 forks source link

Ideas for improving map on search results #373

Closed karenmajewicz closed 2 years ago

karenmajewicz commented 3 years ago

I spent some time today looking for geospatial resources that cover a smaller town in Minnesota. The map was not very helpful. Here are some things I think that would make it better.

ewlarson commented 3 years ago

Good feedback here.

  1. A "full screen" option is likely best for now -- we're still "re-branding" someday, right?
  2. Sure. Do you have a list of other base layers to configure?
  3. Okay. Many of these Geo/Location APIs have usage restrictions or require a monthly subscription fee. Do you have a preference where we get this data? mhapo is using Esri and Princeton is using OSM.
karenmajewicz commented 3 years ago
  1. These layers might be helpful to users:
ewlarson commented 3 years ago

Just a quick update here. I'm most of the way through this ticket. Here's where things stand:

Screen Shot 2021-07-07 at 5 24 25 PM

Here you can see the fullscreen option (the square one) , the basemap selector (top-right, onion skin thing), and the geosearch feature (the autosuggest) all on the homepage map. The basemap chosen is "sticky" across pages, as your selection is captured in a cookie.

It does introduce a lot of controls onto the map, but I agree all these features are quite useful. The position of these options is worth some discussion. I do not know if I can actually control all of the placement of these features.

karenmajewicz commented 3 years ago

This layout looks good and seems predictable compared to what other Leaflet maps do. Are the controls all displaying on the Search Results page as well? I can imagine that it would get crowded on a small map.

ewlarson commented 3 years ago

Yeah, they do appear on the search results page too. Here's some work to resize and move the basemap switcher. See bottom image for search results example.

Screen Shot 2021-07-08 at 8 31 55 AM Screen Shot 2021-07-08 at 8 32 18 AM
ewlarson commented 3 years ago

From WIP on geodev