Skip to content

Commit

Permalink
Merge pull request #216 from nationalparkservice/v2-4-0
Browse files Browse the repository at this point in the history
merge assets for v2.4.0
  • Loading branch information
jakecoolidge authored Mar 14, 2018
2 parents 5715588 + 89fe4d7 commit 5e8f1d7
Show file tree
Hide file tree
Showing 926 changed files with 10,837 additions and 4,209 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

[![Circle CI](https://circleci.com/gh/nationalparkservice/npmap-symbol-library.svg?style=svg)](https://circleci.com/gh/nationalparkservice/npmap-symbol-library)

National Park Service [map symbols](http://www.nps.gov/hfc/carto/map-symbols.cfm) optimized for the web. Read more about this project on the [NPS maps website](http://www.nps.gov/maps/tools/symbol-library/).
National Park Service [map symbols](http://www.nps.gov/hfc/carto/map-symbols.cfm) optimized for the web. View the complete set and read more about this project and on the [NPS maps website](http://www.nps.gov/maps/tools/symbol-library/).

## New symbols

Add requests for new symbols as an [issue](https://github.com/nationalparkservice/npmap-symbol-library/issues/new). Newly developed symbols will be bundled into periodic releases. A more detailed release checklist can be found [here](https://github.com/nationalparkservice/npmap-symbol-library/wiki/Symbol-Library-release-checklist).
Add requests for new symbols as an [issue](https://github.com/nationalparkservice/npmap-symbol-library/issues/new). Starting in 2018, newly developed symbols will be added to the `src/standalone` directory and bundled into periodic releases. Symbol development for NPMap Builder will be temporarily suspended until that application is rewritten to pull symbols from the `standalone` directory. A more detailed release checklist can be found [here](https://github.com/nationalparkservice/npmap-symbol-library/wiki/Symbol-Library-release-checklist).

## Versioning

Expand All @@ -24,6 +24,7 @@ The Symbol Library uses a semantic versioning scheme:
* 2.2.2
* 2.2.3
* 2.3.0
* 2.4.0


## File structure
Expand All @@ -32,10 +33,7 @@ This repository was originally forked from Mapbox's [Maki](https://github.com/ma

### src

Source [SVG](http://en.wikipedia.org/wiki/Scalable_Vector_Graphics) files are in the `src` subdirectory. To create pixel-perfect icons at different sizes, each icon is designed 6 times to support two different use cases:

1. At 12, 18, and 24 pixels wide/tall for use in [NPMap Builder](https://github.com/nationalparkservice/npmap-builder/)
2. At 16, 24, and 32 pixels wide/tall, with a drop shadow, for use in [Park Tiles](https://github.com/nationalparkservice/park-tiles/)
Source [SVG](http://en.wikipedia.org/wiki/Scalable_Vector_Graphics) files are in the `src` subdirectory. Each symbol is designed at three pixel-perfect sizes (max dimensions 14, 22, and 30 pixels square) and in black and white versions to support different use cases. These can be found in the `src/standalone` directory. In addition, a subset of 94 symbols are designed at 12, 18, and 24 pixels square for use in NPMap Builder.

### renders

Expand All @@ -45,7 +43,7 @@ PNG renders of all of the SVGs are in the `renders` directory. High-resolution (

You can use the SVGs and PNGs in this repository as they are without building anything, however a render script is included to assist designers/developers who want to modify or create new icons. It will render SVGs to PNGs at 100% and 200% resolution, create sprites used by [NPMap.js](https://github.com/nationalparkservice/npmap.js), [NPMap Builder](https://github.com/nationalparkservice/npmap-builder), and the [Places Editor](https://github.com/nationalparkservice/places-editor), and generate corresponding CSS styles for the sprites.

The script requires Node, [Bash](http://www.gnu.org/software/bash/bash.html), [Inkscape](http://inkscape.org), and [ImageMagick](http://www.imagemagick.org/). In addition, each icon must have an appropriate entry in `www/npmaki.json` to be rendered correctly.
The script requires Node, [Bash](http://www.gnu.org/software/bash/bash.html), [Inkscape](http://inkscape.org), and [ImageMagick](http://www.imagemagick.org/). In addition, each icon must have an appropriate entry in `www/npmap-symbol-library.json` to be rendered correctly.

After installing the required prerequisites, you can run the script like this:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "National Park Service",
"name": "npmap-symbol-library",
"description": "National Park Service map symbols optimized for the web.",
"version": "2.3.0",
"version": "2.4.0",
"homepage": "http://www.nps.gov/npmap/tools/npmap-symbol-library/",
"scripts": {
"test": "tap test/*.js"
Expand Down
8 changes: 0 additions & 8 deletions src/standalone/aed-slate-14.svg

This file was deleted.

10 changes: 0 additions & 10 deletions src/standalone/aed-slate-22.svg

This file was deleted.

10 changes: 0 additions & 10 deletions src/standalone/aed-slate-30.svg

This file was deleted.

10 changes: 0 additions & 10 deletions src/standalone/airfield-slate-14.svg

This file was deleted.

10 changes: 0 additions & 10 deletions src/standalone/airfield-slate-22.svg

This file was deleted.

10 changes: 0 additions & 10 deletions src/standalone/airfield-slate-30.svg

This file was deleted.

6 changes: 0 additions & 6 deletions src/standalone/airport-slate-14.svg

This file was deleted.

11 changes: 0 additions & 11 deletions src/standalone/airport-slate-22.svg

This file was deleted.

11 changes: 0 additions & 11 deletions src/standalone/airport-slate-30.svg

This file was deleted.

7 changes: 7 additions & 0 deletions src/standalone/alcohol-black-14.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/standalone/alcohol-black-22.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/standalone/alcohol-black-30.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/standalone/alcohol-white-14.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/standalone/alcohol-white-22.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/standalone/alcohol-white-30.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 0 additions & 17 deletions src/standalone/all-terrain-trail-slate-14.svg

This file was deleted.

18 changes: 0 additions & 18 deletions src/standalone/all-terrain-trail-slate-22.svg

This file was deleted.

14 changes: 0 additions & 14 deletions src/standalone/all-terrain-trail-slate-30.svg

This file was deleted.

9 changes: 0 additions & 9 deletions src/standalone/amphitheater-slate-14.svg

This file was deleted.

14 changes: 0 additions & 14 deletions src/standalone/amphitheater-slate-22.svg

This file was deleted.

Loading

0 comments on commit 5e8f1d7

Please sign in to comment.