Q
Q
qxeacwzd2018-03-01 15:02:36
Angular
qxeacwzd, 2018-03-01 15:02:36

Concentric colored rings in Leaflet. How to implement?

Task: draw concentric rings in the leaflet, adjacent to each other. When hovering (mouseover) on the ring, its handler will hang, which, among other things, changes the transparency (from 0.8 to 0.5). That is why it is impossible to use circle() inserted into each other - when the transparency of the outer changes, the transparency of all changes (and circles of different colors plus everything).
I know it can be done. How to do it? How to set a ring with r1 and r2 (external/internal radius), so that it would be a polygon?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question