Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ A set of SVG maps that can be installed via [npm](https://www.npmjs.com):
* 🇦🇺 [Australia](packages/australia)
* 🇦🇹 [Austria](packages/austria)
* 🇧🇷 [Brazil](packages/brazil)
* 🇧🇷 [Brazil, Telephone Area Codes](packages/brazil.ddd)
* 🇰🇭 [Cambodia](packages/cambodia)
* 🇨🇲 [Cameroon](packages/cameroon)
* 🇨🇦 [Canada](packages/canada)
Expand Down
173 changes: 173 additions & 0 deletions packages/brazil.ddd/LICENSE.md

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions packages/brazil.ddd/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# 🇧🇷 Brazil Telephone Area Codes

[![npm version](https://badgen.net/npm/v/@svg-maps/brazil)](https://www.npmjs.com/package/@svg-maps/brazil)
[![License: CC BY 4.0](https://img.shields.io/badge/License-CC%20BY%204.0-blue.svg)](https://creativecommons.org/licenses/by/4.0/)

Map of the 67 Brazilian DDD (telephone area code) regions in the `svg-maps` format.
Each location uses its two-digit DDD code as the `id` and `DDD <code>` as the `aria-label`.

Further information about this map could be found at [Wikipedia](https://pt.wikipedia.org/wiki/Discagem_direta_a_dist%C3%A2ncia)


## Installation

### npm

`npm install --save @svg-maps/brazil.ddd`

## Credits

- Original DDD map by [João Vitor Bachini](https://commons.wikimedia.org/wiki/File:Mapa_do_Brasil_por_c%C3%B3digo_DDD.svg) (CC BY-SA 4.0)
- Community repository from [@pedrokkrause](https://github.com/pedrokkrause/Mapa-de-DDDs-do-Brasil/tree/main)


### Changes

* Remove unnecessary attributes
* Replace title by name attributes
* Add viewBox
* Rename ids
* Sort `<path/>` alphabetically
341 changes: 341 additions & 0 deletions packages/brazil.ddd/brazil.ddd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions packages/brazil.ddd/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import type { Map } from "svg-maps__common";
declare const map: Map;
export default map;
1 change: 1 addition & 0 deletions packages/brazil.ddd/index.js

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions packages/brazil.ddd/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "@svg-maps/brazil.ddd",
"version": "1.0.0",
"description": "Map of Brazil by Telephone Area Codes (DDD)",
"main": "index.js",
"types": "index.d.ts",
"files": [
"index.js",
"index.d.ts",
"brazil.ddd.svg"
],
"repository": {
"type": "git",
"url": "https://github.com/VictorCazanave/svg-maps/tree/master/packages/brazil.ddd"
},
"keywords": [
"svg",
"map",
"brazil",
"ddd",
"telephone"
],
"author": "Thiago Grisolfi <thiago.grisolfi@gmail.com>",
"publishConfig": {
"access": "public"
},
"license": "CC-BY-SA-4.0"
}