alexandra-c / leaflet-tracking-marker

✈ A React Leaflet library that allows developers to create custom markers that drifts to a certain point, computes their bearing angle using given coordinates and rotates accordingly.
MIT License
40 stars 13 forks source link

Wrong import method in the given example #27

Closed ShreyasRP closed 2 years ago

ShreyasRP commented 2 years ago

Using the import method shown in the example gives an error. The example: import LeafletTrackingMarker from 'react-leaflet-tracking-marker'

I fixed it by importing it this way: import { LeafletTrackingMarker } from 'react-leaflet-tracking-marker'

alexandra-c commented 2 years ago

Fixed it, thank you! 😊