Adding a Legend
See original GitHub issueHello, 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 inmap.controls
? So is there any way to do this? Thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Add a legend to a chart - Microsoft Support
Add a chart legend · Click the chart. · Click Chart Elements Plus next to the table. The Elements icon is on the...
Read more >How to Add a Legend in an Excel Chart - YouTube
In today's tutorial, we're going to talk about how to add a legend in an Excel chart. Including a legend in a chart...
Read more >Add a legend—ArcGIS Pro | Documentation
To add items, select a layer in the Contents pane and drag it to the legend group in the same pane. Note: A...
Read more >Add Legend to Graph - MATLAB & Simulink - MathWorks
Create Simple Legend Create a figure with a line chart and a scatter chart. Add a legend with a description for each chart....
Read more >How to Add a Legend in an Excel Chart - EasyClick Academy
If you want to display the legend for a chart, first click anywhere within the chart area. Then click on the green plus...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@aldorl nope, I just made my legend through a custom react component outside this library.
Hi. i solve this based on https://developers.google.com/maps/documentation/javascript/adding-a-legend.
In onGoogleReady:
And it works great! The google prop we get from props is not the same as google, we should use google which is received from the second onReady parameter. Hope it helps y’all