v-mapbox icon indicating copy to clipboard operation
v-mapbox copied to clipboard

Injection key not exported

Open marr opened this issue 3 years ago • 2 comments

I am trying to write a plugin, and would like to use the injected map instance. Looking through the source, I couldn't find the key exposed. Using 'map' as the key does not work. Consider accepting the key as a prop, or publishing the key in the package.

marr avatar Oct 08 '22 15:10 marr

AFAIK, the provide() fn should make the map variable available across the application(s) right?

vinayakkulkarni avatar Mar 09 '23 20:03 vinayakkulkarni

Hello, i'm having the same issue, the MapKey injection key is not exported, so we can't inject in a component

lucasmcht avatar Dec 19 '23 09:12 lucasmcht