Skip to content

Commit

Permalink
2232 (#2004)
Browse files Browse the repository at this point in the history
  • Loading branch information
yzlucas authored Jul 7, 2024
1 parent bf7e334 commit 60d28f4
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ export class WFMapService {
icon: 'zoom_out_map',
order: 3,
},
{
type: "measure",
enabled: true
}
],
});

Expand All @@ -94,6 +98,15 @@ export class WFMapService {
option.fullScreen.emit();
},
);

SMK.HANDLER.set(
'measure',
'triggered',
(smk, tool) => {
hidePanel('desktop-preview')
zoomToProvince();
},
);

return SMK.INIT({
baseUrl: mapService.smkBaseUrl,
Expand Down

0 comments on commit 60d28f4

Please sign in to comment.