Closed simon-leech closed 1 month ago
@dbauszus-glx I have removed the geojson import from this PR - just got the circle changes now :)
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
I added the hidePanel flag in order to maintain the current default behaviour. A radius and unit will always be assigned as default. The config object will just override the defaults. The dictionary label can be assigned in the defaults since the config will override. A spread operator should be used for this rather than object assignment.
Opening this up as a draft as its not ready yet.
Changes Included:
If you provide a circle.radius and circle.units then the panel is not provided, and instead you just have the button to begin drawing. "circle": { "label": "1km Catchment", "radius": 1000, "units": "meter" }