Closed tyleryy closed 5 months ago
Hi Tyler, Leaflet's fly animation function requires a marker to be displayed upon completing the animation. As we already have an item marker image, we don't want another one that would overlap it. To resolve this issue, I've implemented a workaround by adding a 1-pixel image (fly_img). This activate the fly animation when a marker or a card is clicked, without hiding the original marker image.
ah kk that makes sense!
For the
Marker
component inMap.tsx
, there is no "flyimg." At least, I don't see one.