Is there any way to add a custom tooltip to a MapLibre object without writing a new PMTiles file? #180
Unanswered
danielvartan
asked this question in
Q&A
Replies: 3 comments
-
|
It would be nice if |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I am also looking for a decent solution. Would be awesome to have a simpler approach than yours without having to edit the data. something in the direction of add_fill_layer(
id = "fl_tracts",
source = fl_age,
fill_color = "lightgrey",
tooltip = paste0(
"<strong>State: </strong>",
fl_age$values,
"<br/>"
)
) |
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.
-
Hi there, 👋
I'm using precompiled tiles hosted on the PMTilesBR project to draw geometries in MapLibre. These files include state codes, which I use to create a match expression for colorizing them. However, I'm still having trouble with tooltips: how can I add a custom tooltip without having to generate a new PMTiles file?
Any help is appreciated! 🙏
Beta Was this translation helpful? Give feedback.
All reactions