I don’t know the answer about leaflet, but two possible leads;
- The TiddlyMap plugin has something like this in the examples.
- In the prerelease out soon;
- extended ImageWidget to add a “usemap” attribute
- Allow for a usemap attribute on the $image macro call which is passed through to the resulting img tag. This makes the use of HTML image maps 1 possible.
- With HTML image maps, you can create clickable areas on an image.
Of particular note here is you can more than likely find tools online to interactively generate the maps.
- Not the documentation is light on, but most likely can be found online.
In fact I expect ChatGPT and other LLM’s can help you out on this and I will give some examples if I get any where.
Upload an image to https://imagemap.org/ select areas, an html map and areas generated below then name it. I am still to make it work in tiddlywiki.
I am not sure the status of this plugin of @jeremyruston
Introduction to the Tour Plugin but it looks interesting also with what @saqimtiaz mentions here Introduction to the Tour Plugin - #3 by saqimtiaz