"
- is 1-3 letters, ideally the ISO 3166-2 subdivision code
- Label
- Text
- Type: path
- Attributes
- id="-text"
- class="label-text"
- Creation
- Font: Roboto (will need to be installed locally to create original text)
- Font Size: 16pt (~21.3px) - or at least the largest reasonably possible for readability
- Convert object to path
- Combine paths if necessary
- Box (Only if main body cannot contain Text)
- Type: path
- Attributes
- id="-box"
- class="label-box"
- Connector (Only if main body cannot contain Text)
- Type: path
- Attributes
- id="-connector"
- class="label-connector"
- Bodies of Water
- Unless they are necessary, add class="water" to hide them
- EXAMPLE:
```
public/images/canada.svg
```
- Creation of the database file.
- The JSON must follow the same structure as the others.
- "CODE": "NAME"
- EXAMPLE:
```
utils/canada.json
{
"AB": "Alberta",
"QC": "Quebec",
...
}
```
- Add 'canada' to validTypes in the database.js file.
- EXAMPLE:
```
utils/database.js
const validTypes = [..., 'canada'];
```
- Add to navbar
- To reduce clutter, please only do so if it's a major country.
- EXAMPLE:
```
views/includes/navbar.pug
...
ul
li
a(href='/') Home
li
a(href='/map/world') World
li
a(href='/map/united-states-of-america') USA
li
a(href='/map/canada') Canada
...
...
```
- Add a screenshot of the rendered map (unscratched)
- EXAMPLE:
- How-to: https://umaar.com/dev-tips/156-element-screenshot/
- Select the `` element
- Save to: public/images/canada.png