• Stars
    star
    135
  • Rank 263,496 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🗺 A React component for interactive vector maps of the world and 100+ countries

react-vector-maps

🗺️ A React component for interactive vector maps of the world and 100+ countries

npm

Features

  • Simple and easy to implement React component for rendering interactive vector maps
  • 100+ vector maps included out of the box, free from MapSVG
  • Convert your own vector map for the component to use with the online converter
  • Quick and straight forward to style your map however you want to

Basic Usage

import React from 'react';
import { VectorMap } from '@south-paw/react-vector-maps';

// You'll need to download the json file from the docs site or you can create your own.
import world from './world.json';

export const Map = () => <VectorMap {...world} />;

See the documentation for more examples and advanced usage of the component.

Issues and Bugs

If you manage to find any, please report them here so they can be squashed.

Development and Contributing

Grab the repo and then install dependencies with npm i.

# Run TypeScript check and ESLint
npm run lint

# Run unit tests
npm run test

# Build package for publishing (/dist)
npm run build

# Remove build artifacts (/dist and /coverage)
npm run clean

# npm install for the docs
npm run docs:install

# Start docs for development
npm run docs:start

# Build docs for deployment
npm run docs:build

# Serve docs from /public after build
npm run docs:serve

# Clean up docs folders
npm run docs:clean

License

MIT, see the LICENSE file.

More Repositories

1

salien-script-js

👽 A easy to install, run and update Node.js script for the Steam salien mini-game.
JavaScript
172
star
2

awesome-gatsby-starter

👌 A starter for Gatsby 4 with TypeScript, Chakra UI, ESLint and Prettier
TypeScript
36
star
3

action-netlify-deploy

🙌 Netlify deployments via GitHub actions
TypeScript
32
star
4

typeface-minecraft

Minecraft typeface and colors
CSS
29
star
5

discord-music-bot

🎧 A music bot for Discord servers, self-hosted, easy to use and extendable
JavaScript
28
star
6

warframe-item-list

👾 A list of all Warframe items that contribute to player mastery rank
JavaScript
12
star
7

action-netlify-cli

🙌 Netlify deployments and CLI via GitHub actions
Shell
10
star
8

koa-typescript

♨️ Simple boilerplate for a Koa server with Typescript, ESLint, Prettier and Jest
TypeScript
9
star
9

storybook-addon-overview-angular

📖 An addon for Storybook to document your Angular components with
TypeScript
9
star
10

typeface-fixed-system-excelsior

Fixed System Excelsior typeface
CSS
7
star
11

react-obfuscate-ts

🕵️ A React component to obfuscate contact links and text
TypeScript
7
star
12

awesome-gatsby-starter-ts

👌 A TypeScript starter for GatsbyJS with a preconfigured MDX, Storybook and ESLint environment
TypeScript
6
star
13

covid-19

😷 COVID-19 data visualizations and dashboard
TypeScript
5
star
14

koa-mongoose

🍃 Mongoose middleware for Koa 2
JavaScript
5
star
15

styled-suite

🏨 Some simple helpers and components to reduce boilerplate when building themed UIs
JavaScript
4
star
16

simple-react-starterkit

A dead simple react starter kit with React, Babel, Sass and Webpack.
JavaScript
4
star
17

HTML-Bootstrap-Stovetop

A clean template for HTML5 and CSS3 projects using Bootstrap 3.
HTML
4
star
18

styled-angular-components

💡 POC of a React styled-component pattern for Angular components
TypeScript
4
star
19

kiwijam18

🏰 Dungeoneer: Try to escape the dungeon with your life. (a kiwijam 2018 game entry)
JavaScript
3
star
20

some-react-examples

⚛ Some basic react examples + a router implementation
JavaScript
3
star
21

spaz-mod-package

🛰 Mirror of the official Space Pirates and Zombies (SPAZ) mod package provided by Minmax Games
C#
3
star
22

typeface-vag-rounded

VAG Rounded typeface
CSS
3
star
23

Bootstrap-MediaWiki

A Bootstrap 3 theme for MediaWiki.
PHP
3
star
24

express-typescript

♨️ Simple boilerplate for a Express server with Typescript, ESLint, Prettier and Jest
TypeScript
2
star
25

PHP-CI-Stovetop

A ready to roll out of the box CodeIgniter and Bootstrap 3 bundle.
PHP
2
star
26

minecraft-enchantment-planner

🛍️ Plan out your Minecraft item enchantments
TypeScript
2
star
27

UCFK-Space-Racer

ENCE260 2015 Assignment: Player vs Player Space Racer game for the UC Fun Kit.
C
2
star
28

Python-UDP

COSC264 2015 Assignment: Python UDP sender/channel/receiver application.
Python
2
star
29

Xinity

SENG302 2016 Group Project: A Musical Application.
Java
2
star
30

remix-chakra-reproduction

TypeScript
1
star
31

todo-app-remix

TypeScript
1
star
32

Northwind

SENG365 2016 Assignment 1: Simple CodeIgniter Application with the Northwind database.
PHP
1
star
33

poll.me

SENG365 2016 Assignment 2: RESTful CodeIgniter App with a AngularJs front-end.
PHP
1
star