Can't use function from refs like in Demo #109
Unanswered
SolimanGit
asked this question in
Q&A
Replies: 1 comment
-
mb u try to log it before map initialization? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ! So very simple request, i did as in the Demo but i can't access function with refs... Console.log(osm) does an output with everything but osm.value = null.
My goal is to retrieve the resolutions from the tileLayer to try to not have a blurry map anymore.
PS: If you have something so prevent a background blurry map like leaflet you will have my deepest thanks
const osm = ref(null) console.log(osm)
<ol-tile-layer ref="osm"> <ol-source-osm /> </ol-tile-layer>
The output of console.log(osm):
Beta Was this translation helpful? Give feedback.
All reactions