Closed dadiorchen closed 3 years ago
The map component is in another repository, so we need to folk and change that one too. https://github.com/Greenstand/treetracker-web-map-client
I'll work on this.
I have tried adding zoomControl: false,
to the mapOptions
in node_modules/client/src/models/Map.js, which is what the official leaflet docs suggest, but the zoom control is still visible. Another option would be to use this code; map.removeControl(map.zoomControl);
but i'm still looking for the correct place to use it.
Some clues:
On it
cuz on the mobile app map we don't need it.