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

Data table hover and selection improvements #264

Merged
merged 4 commits into from
Dec 3, 2019
Merged

Conversation

nrenner
Copy link
Owner

@nrenner nrenner commented Dec 3, 2019

#241 follow-up

Adds:

  • switch to turn off hover synchronization with map
  • data row selectable by click (based on Row selection example)
    keeps selection and map highlight until clicked again, centers on map, disables hover sync
  • use Polyline.getCenter() instead of bounds
    Returns point on line at half distance instead of centroid of bounds,
    which can be far off the line for curved lines and not show line at high
    zooms.

@nrenner nrenner merged commit c211e2c into master Dec 3, 2019
@nrenner nrenner deleted the 241-data-map-sync branch December 3, 2019 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant