Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seems to render polygons slowly... #1

Open
kylebakerio opened this issue Dec 5, 2016 · 2 comments
Open

Seems to render polygons slowly... #1

kylebakerio opened this issue Dec 5, 2016 · 2 comments

Comments

@kylebakerio
Copy link

kylebakerio commented Dec 5, 2016

Any way to have polygons render smoothly? when I zoom in and scroll around, the polygon slice off the page doesn't render until it stops moving. Was probably easier to code that way using whatever optimization algo you had in mind, but it makes it look far inferior to the built-in maps api. Otherwise, a pretty great, impressive implementation... though it seems like a ton of complexity to add a feature that's much simpler with the maps api itself. :/

It may just be a problem with google-map-react, though, now that I think about it, because it shows pins not rendering until you stop moving around. Is that it? The pins aren't so bad, but the polygons aren't quite as nice. Maybe if they faded in instead of being off and then popping on, it would be nicer.

@lucasmogari
Copy link
Owner

lucasmogari commented Dec 5, 2016

I also think this is not the best approach, but I didn't have time to work more on this. I had to do this way because google-map-react didn't support polygons or the maps api very well.

I'm sorry for not been more helpful.

@kylebakerio
Copy link
Author

kylebakerio commented Dec 5, 2016 via email

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

No branches or pull requests

2 participants