Browse Source

UI: Fix issue where drawing a circle didn't work in map widgets

pull/12455/head
Vladyslav_Prykhodko 2 years ago
parent
commit
0f3f9e4653
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/maps/leaflet-map.ts

2
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', { this.map.pm.Toolbar.copyDrawControl('Circle', {
name: 'tbCircle', name: 'tbCircle',
afterClick: () => this.selectEntityWithoutLocation('tbCircle'), afterClick: () => this.selectEntityWithoutLocation('tbCircle'),
disabled: true, disabled: false,
actions actions
}); });
} }

Loading…
Cancel
Save