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

Allow setting hoverformat for lat, lon, and text values in maps #2214

Closed
jackparmer opened this issue Dec 18, 2017 · 4 comments
Closed

Allow setting hoverformat for lat, lon, and text values in maps #2214

jackparmer opened this issue Dec 18, 2017 · 4 comments
Labels
feature something new

Comments

@jackparmer
Copy link
Contributor

Similar to #1383, but for mapbox-gl and D3 maps:

image

@jackparmer jackparmer added the feature something new label Dec 18, 2017
@etpinard
Copy link
Contributor

etpinard commented Mar 18, 2019

Now doable using hovertemplate e.g: https://codepen.io/etpinard/pen/oVMLMm

Not sure it's worth adding an attribute similar to zhoverformat for lon and lat formatting.

@jackparmer
Copy link
Contributor Author

wow, very cool!

@etpinard
Copy link
Contributor

etpinard commented May 17, 2019

cc #2618 - which is also "doable" using hovertemplate w/o needing an new attribute(s).

We'll need to discuss how much we want to "solve" everything using hovertemplate or adding more hover-label-content-related attributes is still the way to go.

@gvwilson
Copy link
Contributor

Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
Development

No branches or pull requests

3 participants