Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 809 Bytes

File metadata and controls

40 lines (27 loc) · 809 Bytes

us-states-svg-to-png-with-legend

A tool to assist creating a PNG image from an SVG with custom legend colors and labels. View Demo

The was built with the Vue CLI tool and follows the basic structure provided.

Demo

Limitations

Up to 6 colors and labels can be specified. This is because the <text> annd <rect> components are hardcoded into the SVG image.

Developed and Tested on a Desktop running Chrome.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint