/legend-script

Script for generating a legend layout from a Description of Map Units table

Primary LanguageJavaScript

legend-script

Script for generating a legend layout from a Description of Map Units table.

To Use:

  • Clone this repo to a location on your computer.
  • Open an Adobe Illustrator document.
  • Select a rectangle or other path. This will set the upper-left and the width of the legend layout.
  • Select File > Scripts > Other script (or Ctrl+F12)
  • navigate to the script on your machine, and click 'Open' to run it.
  • You should see it generate a set of paths and text frames, forming a geologic map legend