I need help implementing this.This app I'm creating is supposed to be mobile-friendly which is why I'm seeking the card style.
Legend widget card style | ArcGIS API for JavaScript 4.9
I've been referencing this sample code, but I'm not too sure how to tweak it so that it works in my script.
Here's how that portion of my script looks now:
var legend = new Legend({
view: view
});
view.ui.add(legend, "top-left"),
//functions
map.addMany([canal, preserves, rt66, boundary, attractions, featureLayer]);
});
Here's a link to my whole script.
Jared,
I don't see where you are specifying card style in your code.