Skip to content

Is it possible to have a tooltip on the map and defining large circle depending on the value on a particular city location? #1313

Answered by williaster
hyfydistro asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @hyfydistro it seems like in this case you would trigger the tooltip when hovering a circle? In that case you just need to attach an onPointerMove or equivalent handler to

  • show the tooltip
  • set the tooltip data to whatever the circle's data is

There are several examples in the gallery for triggering tooltips with content specific to the point that triggered the tooltip.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hyfydistro
Comment options

Answer selected by hyfydistro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants