Skip to content

Commit 5854857

Browse files
authored
Merge pull request #2516 from terrestris/fix-measure-tool-name
fix(measure): apply showSegmentsLength to correct tool name
2 parents 8b1a0b5 + 7267a9a commit 5854857

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bootstrap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ export const setApplicationToStore = async (application?: Application) => {
337337
store.dispatch(setMapToolbarVisible(config?.visible));
338338
store.dispatch(setGeoLocationVisible(config?.showGeolocation));
339339
},
340-
measure: (config) => {
340+
measure_tools: (config) => {
341341
store.dispatch(setShowSegmentLengths(config?.showSegmentLengths ?? false));
342342
},
343343
// eslint-disable-next-line camelcase

0 commit comments

Comments
 (0)