Unverified Commit f4f21d91 authored by Fawad Mirzad's avatar Fawad Mirzad Committed by GitHub
Browse files

Merge pull request #71 from catherineluse/patch-1

Give example for passing in local custom icon
parents 84be2ff4 259bbd13
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ To use custom icon, pass `:icon` prop. You can pass a local resource or an image
  </GMapMap>
</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: