Skip to content

Commit

Permalink
#447 selecteer gebouw reset select
Browse files Browse the repository at this point in the history
  • Loading branch information
roefem committed Aug 30, 2024
1 parent 01dd43b commit 0e30c1f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions dist/commonjs/zoneerder/components/ol-map.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/commonjs/zoneerder/components/ol-map.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/native-modules/zoneerder/components/ol-map.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/native-modules/zoneerder/components/ol-map.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/zoneerder/components/ol-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ export class OlMap extends BaseMap {

startPerceelSelect() {
this.toggleDrawZone(false);
this.resetSelect();
this.selectPerceel = true;
this.map.on('click', (evt: any) => {
log.debug('Perceelselect', evt);
Expand All @@ -166,6 +167,7 @@ export class OlMap extends BaseMap {

startGebouwSelect() {
this.toggleDrawZone(false);
this.resetSelect();
this.selectGebouw = true;
this.map.on('click', (evt: any) => {
log.debug('GebouwSelect', evt);
Expand Down

0 comments on commit 0e30c1f

Please sign in to comment.