I'm not using createVis
, but rather createLayer
to generate my maps on the fly, but can't seem to figure out how to add a legend using something simple like legends: true
, which is available when using createVis
.
What's the best way to do this?