You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The OlMap component exposes a refresh function that calls a refresh method on the map instance. However, I don't seem to find such a method on the ol.Map class.
Affected version(s)
Please run npm list --depth=0 vue vue3-openlayers ol ol-ext ol-contextmenu and paste the output below:
Ah, I just realized this is just to make it backwards compatible with older ol versions, nevermind. Maybe this could be briefly added to the "Get started" section in the docs? Since there, it says that ^7.4.0 is required. Or has it just not been removed yet? 😄
Thanks for reporting @chrstnbwnkl . Indeed it was simply not removed in this lib.
I removed this methods and other methodas and props that aren't compatible with OpenLayers 7.x.x.
See 81c6d00.
chrstnbwnkl
pushed a commit
to chrstnbwnkl/vue3-openlayers
that referenced
this issue
Sep 15, 2023
Describe the bug
The
OlMap
component exposes arefresh
function that calls arefresh
method on the map instance. However, I don't seem to find such a method on theol.Map
class.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:
Simply install the project locally and inspect the
OlMap
component in the IDE of your choice. TypeScript should be complaining.Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: