Skip to content
Discussion options

You must be logged in to vote

You need to listen on the pm:create event on the map.

map.on('pm:create',(e)=>{
    console.log(e);
    if(e.layer instanceof L.Circle){
      console.log(e.layer.getRadius());
    }
});

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bpolaszek
Comment options

Answer selected by bpolaszek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants