Merge pull request #71 from catherineluse/patch-1
Give example for passing in local custom icon
This commit is contained in:
@@ -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:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user