I added symbology to a raster; and add legend by using Layout.
Then I used Map to KML to save KMZ which I wanted to load into Map Viewer.
I included a legend by doing "To include a legend in the output KML, specify a value for the Legend Layout Source parameter. You must have a legend element in a layout in the map."
But there is no legend after I loaded KMZ into ArcGIS online Map Viewer.
I am wondering why and how can show both maps and legend in the Map Viewer?
Any suggestions will be appreciated.
Thanks