We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Despite being disabled as mentioned in the documentation, the ol-zoom-control continues to be displayed on the map.
ol-zoom-control
Affected version(s)
Please run npm list --depth=0 vue vue3-openlayers ol ol-ext ol-contextmenu and paste the output below:
npm list --depth=0 vue vue3-openlayers ol ol-ext ol-contextmenu
├── [email protected] -> .\node_modules\.pnpm\[email protected][email protected]\node_modules\ol-contextmenu ├── [email protected] -> .\node_modules\.pnpm\[email protected][email protected]\node_modules\ol-ext ├── [email protected] -> .\node_modules\.pnpm\[email protected]\node_modules\ol └── [email protected] -> .\node_modules\.pnpm\[email protected][email protected][email protected][email protected][email protected]\node_modules\vue3-openlayers
To Reproduce Steps to reproduce the behavior:
Expected behavior When the ol-zoom-control is disabled, it should not be visible on the map.
Screenshots Here's a screenshot from the documentation showing the issue:
Desktop (please complete the following information):
Additional context
I have tested this behavior locally using the following code:
<script setup> const center = ref([40, 40]); const projection = ref('EPSG:4326'); const zoom = ref(8); const rotation = ref(0); </script> <template> <ol-map :loadTilesWhileAnimating="true" :loadTilesWhileInteracting="true" style="height: 100%; position: relative" ref="olmap" > <ol-view :center="center" :rotation="rotation" :zoom="zoom" :projection="projection" /> <ol-tile-layer :zIndex="1"> <ol-source-osm url="url" /> </ol-tile-layer> </ol-map> </template>
The text was updated successfully, but these errors were encountered:
3756fbb
fix: correctly remove controls onUnmounted
9d5faf0
closes MelihAltintas#246
No branches or pull requests
Describe the bug
Despite being disabled as mentioned in the documentation, the
ol-zoom-control
continues to be displayed on the map.Affected version(s)
Please run
npm list --depth=0 vue vue3-openlayers ol ol-ext ol-contextmenu
and paste the output below:To Reproduce
Steps to reproduce the behavior:
ol-zoom-control
Expected behavior
When the
ol-zoom-control
is disabled, it should not be visible on the map.Screenshots
Here's a screenshot from the documentation showing the issue:
Desktop (please complete the following information):
Additional context
I have tested this behavior locally using the following code:
The text was updated successfully, but these errors were encountered: