Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BiG-CZ: Map / Sidebar Interaction #2181

Closed
2 of 4 tasks
rajadain opened this issue Aug 23, 2017 · 0 comments
Closed
2 of 4 tasks

BiG-CZ: Map / Sidebar Interaction #2181

rajadain opened this issue Aug 23, 2017 · 0 comments
Assignees
Labels

Comments

@rajadain
Copy link
Member

rajadain commented Aug 23, 2017

  • Hovering on an element on the map should highlight it in the sidebar. If the item is outside the current view of the list, then the list should not scroll to it.
  • Clicking an element on the map should highlight it, and keep it highlighted. If other items are hovered over on the list, they should be highlighted as well (perhaps with a different color than the clicked item), but the clicked highlight should not go away
  • Going to the details view of an item should also sticky-highlight the corresponding element on the map
  • If, at a certain zoom level, the map component is too large to be shown, we use the gold-border trick from BiG-CZ Map Hover Improvements #2109. However, as the user zooms out, if the component then becomes contained in the viewport, it should be highlighted normally.
@rajadain rajadain added the BigCZ label Aug 23, 2017
@rajadain rajadain changed the title Map / Sidebar Interaction BiG-CZ: Map / Sidebar Interaction Aug 23, 2017
@ajrobbins ajrobbins added the 1 label Aug 24, 2017
@rajadain rajadain added queue and removed 1 labels Aug 24, 2017
@caseycesari caseycesari self-assigned this Sep 5, 2017
caseycesari added a commit that referenced this issue Sep 6, 2017
- hightlight markers on mouse over
- highlight result in list when hovering over marker
- for wdc, keep marker highlighted when popup is open

Refs #2181
caseycesari added a commit that referenced this issue Sep 6, 2017
Previously, just the geometry for the selected (both the active and
detail) result was passed to the map. In order to faciliate more complex
interaction between the map and the sidebar, the full result model is
now passed to the map. This will allow functions within the map view to
read and set properties of the result.

Refs #2181
caseycesari added a commit that referenced this issue Sep 6, 2017
Several improvements were made to the interaction between the map and
the results sidebar. They include:

- Hovering over features on the map now highlight the feature on the map
  in the same way that hovering over the result in the list highlights the
  corresponding map feature.
- Hovering over the feature on the map will also now highlight the
  corresponding result in the list.
- For WDC, if a popup is opened for a marker, the marker will remain
  highlighted until that popup is closed. Hovering over other features
  on the map will not remove the highlight of the marker with the popup.

Refs #2181
caseycesari added a commit that referenced this issue Sep 7, 2017
Previously, just the geometry for the selected (both the active and
detail) result was passed to the map. In order to faciliate more complex
interaction between the map and the sidebar, the full result model is
now passed to the map. This will allow functions within the map view to
read and set properties of the result.

Refs #2181
caseycesari added a commit that referenced this issue Sep 7, 2017
Several improvements were made to the interaction between the map and
the results sidebar. They include:

- Hovering over features on the map now highlight the feature on the map
  in the same way that hovering over the result in the list highlights the
  corresponding map feature.
- Hovering over the feature on the map will also now highlight the
  corresponding result in the list.
- For WDC, if a popup is opened for a marker, the marker will remain
  highlighted until that popup is closed. Hovering over other features
  on the map will not remove the highlight of the marker with the popup.

Refs #2181
caseycesari added a commit that referenced this issue Sep 7, 2017
Previously, just the geometry for the selected (both the active and
detail) result was passed to the map. In order to faciliate more complex
interaction between the map and the sidebar, the full result model is
now passed to the map. This will allow functions within the map view to
read and set properties of the result.

Refs #2181
caseycesari added a commit that referenced this issue Sep 7, 2017
Several improvements were made to the interaction between the map and
the results sidebar. They include:

- Hovering over features on the map now highlight the feature on the map
  in the same way that hovering over the result in the list highlights the
  corresponding map feature.
- Hovering over the feature on the map will also now highlight the
  corresponding result in the list.
- For WDC, if a popup is opened for a marker, the marker will remain
  highlighted until that popup is closed. Hovering over other features
  on the map will not remove the highlight of the marker with the popup.

Refs #2181
caseycesari added a commit that referenced this issue Sep 7, 2017
Several improvements were made to the interaction between the map and
the results sidebar. They include:

- Hovering over features on the map now highlight the feature on the map
  in the same way that hovering over the result in the list highlights the
  corresponding map feature.
- Hovering over the feature on the map will also now highlight the
  corresponding result in the list.
- For WDC, if a popup is opened for a marker, the marker will remain
  highlighted until that popup is closed. Hovering over other features
  on the map will not remove the highlight of the marker with the popup.

Refs #2181
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants