Answer the question
In order to leave comments, you need to log in
How to make friends Leaflet and D3?
The bottom line: there is a floor plan editor. Represents an SVG canvas, where "plan" is a base64 encoded image embedded in the SVG. The user can draw polygons or rectangles with the mouse, drag-and-copy-delete them.
The customer wanted to make friends with Leaflet for the whole thing. It seems like I just do everything
this.svg = d3.select(this.map.getPanes().overlayPane).append('svg')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question