Skip to content

Conversation

@xih
Copy link
Owner

@xih xih commented Nov 17, 2023

It works!

but some issues:

  • fix flickering
  • clicked dot is behind other dots
  • interpolation isn't smooth
  • adjust the placement of the geolocate button so it works everywhere
  • default search is broken

@vercel
Copy link

vercel bot commented Nov 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
covet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2023 3:06am

if (selectedIndex !== undefined && context.index === selectedIndex) {
return isSatelliteMapStyle ? blue700 : orange500; // orange on select
}
// I tried to memoize it, however, when zooming in, the dots completely disappear
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When zooming manually or from clicking? I wonder if adding viewState to the useMemo dependency array would help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants