-
Notifications
You must be signed in to change notification settings - Fork 936
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
Adding a Legend #459
Comments
Please refer to Getting Help section in the README (or #469). |
Hey @jm90m, did you find a solution for adding a legend to the map? Would love to know if you did. Cheers. |
@Aldorl nope, I just made my legend through a custom react component outside this library. |
@Aldorl How you did that. Did you use overlay, or not? |
@anubhav0fnu I never figured out how to do it, so I just added the legend outside of the map |
Hi. i solve this based on https://developers.google.com/maps/documentation/javascript/adding-a-legend. |
+1 |
Can you please share your code and the Legend component? |
Hello, I am trying to add a legend, I though about using the overlay view but I want something more like the example on here: https://developers.google.com/maps/documentation/javascript/adding-a-legend
Looks like that involves pushing to the current instance of map in
map.controls
? So is there any way to do this? ThanksThe text was updated successfully, but these errors were encountered: