Browse Source
Merge pull request #12455 from vvlladd28/bug/map/not-allow-create-circle
Fix issue where drawing a circle didn't work in map widgets
pull/12485/head
Igor Kulikov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
ui-ngx/src/app/modules/home/components/widget/lib/maps/leaflet-map.ts
|
|
|
@ -357,7 +357,7 @@ export default abstract class LeafletMap { |
|
|
|
this.map.pm.Toolbar.copyDrawControl('Circle', { |
|
|
|
name: 'tbCircle', |
|
|
|
afterClick: () => this.selectEntityWithoutLocation('tbCircle'), |
|
|
|
disabled: true, |
|
|
|
disabled: false, |
|
|
|
actions |
|
|
|
}); |
|
|
|
} |
|
|
|
|