Display address instead of coordinates in Hexbin #6495
SpartanSoftwareUS
started this conversation in
General
Replies: 1 comment
-
I resolved it by performing JSON.stringify on the data object. Carry on ... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm sure it's super easy and I'm just not finding it, buuuuuut ...
What's the mechanism to display the address on the tooltip rather than the coordinates on Hexbin maps.
Here's my the JS code:
getTooltip: ({object}) => object &&
${object.position.join(', ')} Count: ${object.points.length}
JSON Data Structure:
{"ADDRESS":"FORMATTED ADDRESS","TOTAL":NUMERIC,"COORDINATES":[0,0]}
Any ideas? Thanks so much!
Beta Was this translation helpful? Give feedback.
All reactions