Replies: 1 comment
-
I solved it by this:
<GMapMarker
:position="currentPosition"
:clickable="false"
:icon="currentMarker"
/> |
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
-
The documentation says
Local resources can be passed in using require, for example: :icon="require('@/assets/images/place-icon.svg').default".
I get this error message when I try to us it in a vite - vue3 setup:
Uncaught (in promise) ReferenceError: require is not defined
Beta Was this translation helpful? Give feedback.
All reactions