You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of importing `Marker` from `react-leaflet`, instead import `Marker` from `@adamscybot/react-leaflet-component-marker`.
50
+
Instead of importing `Marker` from `react-leaflet`, import `Marker` from `@adamscybot/react-leaflet-component-marker`.
51
51
52
-
The `icon` prop is extended to allow for a JSX element of your choosing. All other props are identical to the `react-leaflet`[Marker](https://react-leaflet.js.org/docs/api-components/#marker) API.
52
+
The `icon` prop is extended to allow for a JSX element of your choosing. All other props are identical to the `react-leaflet`[Marker](https://react-leaflet.js.org/docs/api-components/#marker) API, but there is an additional prop called `componentIconOpts` for [Advanced Usage](#advanced-usage).
53
53
54
54
The `icon` prop can also accept all of the original types of icons that the underlying `react-leaflet` Marker accepts. Though there is no gain in using this library for this case, it may help if you want to just use this library in place of Marker universally.
0 commit comments