Merge pull request #71 from catherineluse/patch-1

Give example for passing in local custom icon
This commit is contained in:
Fawad Mirzad
2022-03-30 12:38:56 +02:00
committed by GitHub

View File

@@ -87,7 +87,7 @@ To use custom icon, pass `:icon` prop. You can pass a local resource or an image
</GMapMap> </GMapMap>
</template> </template>
``` ```
Local resources can be passed in using `require`, for example: `:icon="require('@/assets/images/place-icon.svg').default"`.
You can also pass an object to the icon `prop` to define custom size and label origin: You can also pass an object to the icon `prop` to define custom size and label origin: