Skip to content

Commit

Permalink
fix(map-view.js): disable gestureHandling based on embed mode
Browse files Browse the repository at this point in the history
  • Loading branch information
amoncaldas committed Jul 29, 2021
1 parent 459ac3b commit c47ba76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fragments/map-view/map-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export default {
zoomControl: this.showControls,
attributionControl: true,
measureControl: true,
gestureHandling: this.showControls,
gestureHandling: this.$store.getters.embed,
gestureHandlingOptions: {
text: this.$t('mapView.gestureHandling'),
duration: 1000
Expand Down

0 comments on commit c47ba76

Please sign in to comment.