I’m using an extension for Leaflet maps to impleme...
# kvision
j
I’m using an extension for Leaflet maps to implement context menus on overlays. This code works by extending the
Polyline.PolylineOptions
interface and this is causing me some issues. From what I can see from the sources, I also need to create new classes to implement
Polyline
and
Polygon
because both implement the abstract
Path
parameterized by
Polyline.PolylineOptions
. This would be a simple case of copying your code and using the new context-menu enabled options class, but… Is there an alternative? TIA!!
r
Please fill an issue on Github with you question and mention
@aSemy
. Leaflet module was contributed, and I myself have only used some very basic functionality.
👍 1
j
Here is the final question, after a few head butts with the code: Extending Leaflet map’s options · Issue #404 · rjaros/kvision (github.com)
Thank you!