Formatting Legend

479
1
10-15-2012 03:38 PM
BryanKaraffa
New Contributor III
Hi,

I am working on the UCSB Interactive Campus Map (http://map.geog.ucsb.edu/v1.5/) and I had an idea to move the legend from the AccordianContainer on the left to a floating DIV that is always visible when a layer is loaded.  Some of my layers have a long list of layers that appear in the legend (http://map.geog.ucsb.edu/v1.5/?xmin=-13341227.05393&ymin=4084362.42909&xmax=-13340876.48031&ymax=408...).  I was hoping there was some way to format the legend and possibly have multiple columns or have each feature listed horizontally versus vertically.

Any suggestions / resources on how to do this would be much appreciated!
0 Kudos
1 Reply
OliviaDiaz
New Contributor
I used the esri.request to load the legend by json. This way I could format the legend however I wanted.
0 Kudos