Attaching a MouseClicked to NoteLayer from plugin
Kai Michael Poppe - OpenStreetMap
osm at poppe.dev
Sun Jun 12 08:47:50 UTC 2022
Hi List,
I've been trying to figure out how to attach a custom mouseClicked event
to the NoteLayer from my Plugin (noteSolver). Simon04 was so kind to
point out a possible solution using attachMapView [1], but as I'm not
extending NoteLayer here but Plugin I haven't got access to Overriding
the layerPainter here.
I might be totally missing a point and/or be too dense to figure out how
to properly access the right objects and would be welcoming every
suggestion as to how to proceed.
Thanks!
Kai
[1] https://github.com/kmpoppe/noteSolver/issues/3
More information about the josm-dev
mailing list