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

[Feat] add zoom to coordinate tooltip #1179

Merged
merged 2 commits into from
Jul 12, 2020
Merged

[Feat] add zoom to coordinate tooltip #1179

merged 2 commits into from
Jul 12, 2020

Conversation

heshan0131
Copy link
Contributor

Screen Shot 2020-07-06 at 4 59 18 PM

tooltip with object hover info

Screen Shot 2020-07-06 at 4 59 06 PM

tooltip with only coordinate

Signed-off-by: Shan He [email protected]

Signed-off-by: Shan He <[email protected]>
@heshan0131 heshan0131 requested a review from macrigiuseppe July 7, 2020 00:01
@heshan0131 heshan0131 changed the title [feat] add zoom to coordinate tooltip [Feat] add zoom to coordinate tooltip Jul 7, 2020
Copy link
Collaborator

@ibgreen ibgreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it may be reasonable to reduce the precision of the zoom (3rd coordinate) to one or two decimals. It does not need as many decimals of precision as the lng/lats do.

Admitting that I didn't read the title of the PR before I started reviewing (my eyes were attracted to the screen shots) I was convinced this new coordinate value represented elevation (meters) until I actually looked into the code and saw that it was zoom.

It may be clearer when mousing around, but I am not sure all users are intuitively familiar with zoom levels and I think this could potentially be confusing unless some additional info is provided (and I guess we can't have hover info inside a hover tooltip).

Signed-off-by: Shan He <[email protected]>
@heshan0131 heshan0131 merged commit f71e936 into master Jul 12, 2020
@delete-merged-branch delete-merged-branch bot deleted the coordinate-zoom branch July 12, 2020 07:31
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.

2 participants