Leaflet-semicircle icon indicating copy to clipboard operation
Leaflet-semicircle copied to clipboard

SemiCircle Layer problem

Open 00ricardo opened this issue 4 years ago • 0 comments

Hello my friend,

I am very interested in your plugin and have already managed to integrate it into my application, however, it is not working well with other plugins. Im using the Free Draw plugin and it works well before I integrated your plugin.

Firstly, I thought it was a problem with the Free Draw Plugin, but then I tried to use both plugins apart and I came to the conclusion that is the SemiCircle plugin problem.

I dont know if I integrated it well, I did:

  • npm i leaflet-semicircle -> doesnt work

1 2 3

  • So i just download your SemiCircle.js and past it in my workspace and call -> This works... but then... the problem of the draw appear and the code stops working.

The problem that occurs is this:

4 5

  • In the first image I can click the circle and get a popup and information from the click. (Before drawing)
  • In the second image, I can't click the circle and get its information (After more than 1 drawing)

PS: As I mentioned, with 1 drawing it works, with more than 1 it doesn't. And ... before i integrated your plugin it works 100%. What could be the problem? Version 1.6.0? I realize that, its only compatible with 1.4.0

Hope you can help me, thank you!

00ricardo avatar May 02 '20 17:05 00ricardo