ncsco / pinemap-dss-help

Issue tracker for PINEMAP DSS
0 stars 0 forks source link

Clicked location box #37

Closed hadinon closed 8 years ago

hadinon commented 8 years ago

Populate the latitude and longitude text boxes with the clicked location Change the lat and lon box text color to gray Make the clicked location unselectable? Add an X in this box to clear the selection? Move location box below the legend and above the map; if this results in lots of white space, might need to change map display options to be horizontal instead of vertical (HIGH PRIORITY)

daviswx commented 8 years ago

I have started experimenting with moving the Location box away from the menu and closer to the map. Here are a couple examples showing it in different locations:

A. Above the map map_location_box-a

B. Below the map map_location_box-b

I can think of pros and cons to each. With A, it puts all the map details together, but it gets in between the legend and the maps themselves. With B, it keeps the maps higher on the page, but it may not be as easy to see, and it takes up the same space as the 5° range legends on the seedling deployment tools.

Note: I removed the Map Layers legend in both of these examples. I will probably replace those options (city and road layers, loblolly range layer, county lines toggling) with either icons on the map or a layer switcher panel on the map.

daviswx commented 8 years ago

The menu options have also been changed to be listed horizontally.

This is a nice way to save vertical real estate and reduce white space, but it means the menu categories (like Map Display) aren't quite as "modular" or visually connected any more.

Here's an example I thought of for creating some visual separation between menu items without adding much or any clutter:

menu_box_separated

hadinon commented 8 years ago

Personally, I like option B better but I was remembering that the seedling deployment beta testers mentioned not knowing that there was information below the map. So, I'm leaning towards option A. Can you try to center the text above the middle map? Also, just curious, what would the behavior be if you decide to maximize one of the side maps? e.g. would the location information be populated above that map or would it stay centered above all 3 maps? I'm fine with either way.

In terms of your visual separation example, I love it!

daviswx commented 8 years ago

I feel the same way about the positioning. It looks better below the map but it's probably easier to see and more functional above the map.

Yes, I will make sure it is centered on the page. The plan will be to have it stay in that position (like the legend) no matter which map is enlarged.

daviswx commented 8 years ago

Here's one other idea I just thought of for the location box display:

map_location_box-a2

Do you like this overall layout any better than having the legend colors and location box stacked? Obviously we could move individual elements around, like centering the Time Period and Future Emissions scenario beneath the title rather than above the color scale.

hadinon commented 8 years ago

As we discussed at our meeting, I really love option A with location information centered above the map. After you implemented these changes, I noticed a few bugs with the seedling deployment tools (see #42).

daviswx commented 8 years ago

I just added an '[X]' box in the legend to clear the selected location from the map and hide the timeseries.

That takes care of the suggestions for the marker location box, so I will close this issue. If other suggestions or bugs come up, please re-open it.

hadinon commented 8 years ago

If you select a valid location from the map (any tool, I believe) and then click again on an invalid location, the '[X]' box in the legend does not disappear:

image

In fact, you can click the '[X]' to clear the selected location from the map but the message, "Complete time series data is unavailable for your selected location" still appears:

image

daviswx commented 8 years ago

This should now be fixed. After you click to select a new location, the [X] box should automatically go away.