leaflet-geoman icon indicating copy to clipboard operation
leaflet-geoman copied to clipboard

Option for setting/editing the circle radius

Open TurtIeSocks opened this issue 3 years ago β€’ 1 comments
trafficstars

  • New radiusEdit option
  • Makes circles behave similarly to circleMarkers when drawing and editing when set to false
  • Defaults to true to maintain backwards compatibility

Admittedly, this is a lot of copy/paste from the CircleMarker counterpart classes. From my testing, everything should behave as it did before without setting radiusEdit, but would appreciate a second pair of eyes.

Goal: Be able to draw circles without having to fuss with the radius, while maintaining their size on the map when zooming, since CircleMarker's scale with zoom.

TurtIeSocks avatar Aug 24 '22 01:08 TurtIeSocks

Thanks for the review and comments! Fixed or explained all of the comments in latest commit.

TurtIeSocks avatar Aug 25 '22 04:08 TurtIeSocks

@Falke-Design sorry for the tag but anything I can do to move this along?

TurtIeSocks avatar Oct 17 '22 15:10 TurtIeSocks

No worries, @Falke-Design, I totally get it :) just wanted to check in. I've resolved all of your latest comments.

TurtIeSocks avatar Oct 22 '22 21:10 TurtIeSocks

bump

TurtIeSocks avatar Dec 17 '22 04:12 TurtIeSocks

Superseded by #1216

Falke-Design avatar Jun 24 '23 10:06 Falke-Design