-
Notifications
You must be signed in to change notification settings - Fork 855
Improve the example code #304
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
Conversation
Update the example code to include a marker definition (MyGreatPlace) for completeness.
Thank you! But - This is readme example.
So sorry I don't think this is needed. |
Solid points.. I did eventually find my way over to https://github.com/istarkov/google-map-react-examples which was a HUGE help. I got stuck because I was assuming that there was more to the MyGreatPlace component. (And I suppose that's where the other +1's in the issue were struggling too). You're instruction Maybe if we just add another simple example using a div? (I'll create a pull request to show what I mean) |
Add a simple marker example for first-time users.
I was thinking about improving that part too and suddenly found this PR already in place :) So I am +1 on current patch or maybe can suggest to apply following patch to have only one usage of "MyGreatPlace" in the example:
In general I would prefer to have next interface when it comes to markers on the map to make it less confusing:
But that's another story. |
The lack of detail about MyGreatPlace was a source of frustration for me, as well, and led me to initially pass up this module. @istarkov your argument is that the Readme needs to be short — explaining MyGreatPlace module would barely lengthen it at all — four sentences, maybe, and a line or two of code? Worth it for the clarity! |
Thank you all, please look at current readme |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Update the example code to include a marker definition (MyGreatPlace) for completeness.
Addresses issue #300