├── .eslintrc.js ├── .github └── dependabot.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .npmignore ├── .prettierrc ├── .storybook ├── main.js └── preview.js ├── .travis.yml ├── LICENSE ├── README.md ├── babel.config.js ├── commitlint.config.js ├── declarations.d.ts ├── example.png ├── lerna.json ├── logo.png ├── package.json ├── packages ├── core │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── components │ │ │ ├── MapContainer │ │ │ │ ├── MapContainer.tsx │ │ │ │ ├── index.ts │ │ │ │ ├── styles.module.scss │ │ │ │ └── styles.module.scss.d.ts │ │ │ ├── MultiMap │ │ │ │ ├── MultiMap.tsx │ │ │ │ └── index.ts │ │ │ ├── VectorMap │ │ │ │ ├── VectorMap.tsx │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── index.ts │ │ ├── types.ts │ │ └── utils │ │ │ ├── builders │ │ │ ├── AttributeSeriesBuilder.ts │ │ │ ├── LabelsBuilder.ts │ │ │ ├── LabelsPropsBuilder.ts │ │ │ ├── MarkerBuilder.ts │ │ │ ├── MultiMapBuilder.ts │ │ │ ├── SeriesBuilder.ts │ │ │ ├── StyleBuilder.ts │ │ │ ├── VectorMapBuilder.ts │ │ │ ├── __tests__ │ │ │ │ ├── AttributeSeriesBuilder.test.ts │ │ │ │ ├── MarkerBuilder.test.ts │ │ │ │ ├── MultiMapBuilder.test.ts │ │ │ │ ├── SeriesBuilder.test.ts │ │ │ │ ├── StyleBuilder.test.ts │ │ │ │ ├── VectorMapBuilder.test.ts │ │ │ │ └── mocks │ │ │ │ │ └── MapMock1.ts │ │ │ ├── index.ts │ │ │ ├── types.ts │ │ │ └── utils.ts │ │ │ └── index.ts │ ├── tsconfig.json │ ├── typings │ │ └── declarations.d.ts │ ├── webpack.config.js │ └── yarn.lock ├── jquery-mousewheel │ ├── .gitignore │ ├── ChangeLog.md │ ├── LICENSE.txt │ ├── README.md │ ├── bower.json │ ├── jquery.mousewheel.js │ ├── jquery.mousewheel.min.js │ ├── package-lock.json │ ├── package.json │ └── test │ │ ├── .eslintrc.js │ │ ├── index.html │ │ ├── karma.conf.js │ │ ├── manual.html │ │ ├── scroll.html │ │ └── unit.js ├── jvectormap │ ├── .gitignore │ ├── LICENSE-AGPL │ ├── LICENSE-COMMERCIAL │ ├── README.md │ ├── build.sh │ ├── converter │ │ ├── converter.py │ │ ├── processor.py │ │ └── simplifier.py │ ├── index.d.ts │ ├── index.js │ ├── jquery-jvectormap.css │ ├── jquery-jvectormap.js │ ├── jvectormap.jquery.json │ ├── lib │ │ └── jquery-mousewheel.js │ ├── package.json │ ├── src │ │ ├── abstract-canvas-element.js │ │ ├── abstract-element.js │ │ ├── abstract-shape-element.js │ │ ├── color-scale.js │ │ ├── data-series.js │ │ ├── jvectormap.js │ │ ├── legend.js │ │ ├── map-object.js │ │ ├── map.js │ │ ├── marker.js │ │ ├── multimap.js │ │ ├── numeric-scale.js │ │ ├── ordinal-scale.js │ │ ├── proj.js │ │ ├── region.js │ │ ├── simple-scale.js │ │ ├── svg-canvas-element.js │ │ ├── svg-circle-element.js │ │ ├── svg-element.js │ │ ├── svg-group-element.js │ │ ├── svg-image-element.js │ │ ├── svg-path-element.js │ │ ├── svg-shape-element.js │ │ ├── svg-text-element.js │ │ ├── vector-canvas.js │ │ ├── vml-canvas-element.js │ │ ├── vml-circle-element.js │ │ ├── vml-element.js │ │ ├── vml-group-element.js │ │ ├── vml-image-element.js │ │ ├── vml-path-element.js │ │ └── vml-shape-element.js │ └── tests │ │ ├── assets │ │ ├── bg-red-green.png │ │ ├── bg-yellow-blue.png │ │ ├── icon-bank.png │ │ ├── icon-factory.png │ │ ├── jquery-1.8.2.js │ │ ├── jquery-jvectormap-data-us-lcc-en.js │ │ ├── jquery-jvectormap-map.js │ │ ├── jquery-jvectormap-us-aea-en.js │ │ ├── jquery-jvectormap-us-lcc-en.js │ │ ├── jquery-jvectormap-us-merc-en.js │ │ ├── jquery-jvectormap-us-mill-en.js │ │ ├── jquery-jvectormap-world-mill-en.js │ │ └── us │ │ │ ├── jquery-jvectormap-data-us-ak-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-al-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-ar-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-az-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-ca-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-co-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-ct-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-dc-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-de-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-fl-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-ga-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-hi-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-ia-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-id-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-il-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-in-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-ks-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-ky-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-la-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-ma-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-md-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-me-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-mi-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-mn-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-mo-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-ms-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-mt-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-nc-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-nd-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-ne-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-nh-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-nj-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-nm-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-nv-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-ny-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-oh-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-ok-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-or-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-pa-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-ri-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-sc-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-sd-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-tn-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-tx-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-ut-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-va-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-vt-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-wa-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-wi-lcc-en.js │ │ │ ├── jquery-jvectormap-data-us-wv-lcc-en.js │ │ │ └── jquery-jvectormap-data-us-wy-lcc-en.js │ │ ├── basic.html │ │ ├── build.html │ │ ├── custom.html │ │ ├── drill-down.html │ │ ├── hidden.html │ │ ├── markers.html │ │ ├── memory.html │ │ ├── processor │ │ ├── continents.json │ │ ├── continents_wb.json │ │ ├── france_regions_2016.json │ │ ├── russia.json │ │ ├── russia_fd.json │ │ └── tz.json │ │ ├── reverse-projection.html │ │ ├── us.json │ │ └── world.json └── maps │ ├── .gitignore │ ├── Africa │ ├── README.md │ ├── africaMerc.json │ ├── africaMill.json │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Algeria │ ├── README.md │ ├── dzMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Argentina │ ├── README.md │ ├── arMerc.json │ ├── arMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Asia │ ├── README.md │ ├── asiaMerc.json │ ├── asiaMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Australia │ ├── README.md │ ├── auMerc.json │ ├── auMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Austria │ ├── README.md │ ├── atMerc.json │ ├── atMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Belgium │ ├── README.md │ ├── beMerc.json │ ├── beMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Brazil │ ├── README.md │ ├── brMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Canada │ ├── README.md │ ├── caLcc.json │ ├── caMerc.json │ ├── caMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Chicago │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── tsconfig.json │ ├── usIlChicagoMerc.json │ └── usIlChicagoMill.json │ ├── China │ ├── README.md │ ├── cnMerc.json │ ├── cnMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Colombia │ ├── README.md │ ├── coMerc.json │ ├── coMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Continents │ ├── README.md │ ├── continentsMerc.json │ ├── continentsMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Denmark │ ├── README.md │ ├── dkMerc.json │ ├── dkMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Europe │ ├── README.md │ ├── europeMerc.json │ ├── europeMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── France │ ├── README.md │ ├── frMerc.json │ ├── frMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── FranceRegions │ ├── README.md │ ├── frRegionsMerc.json │ ├── frRegionsMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── FranceRegions2016 │ ├── README.md │ ├── frRegions_2016Merc.json │ ├── frRegions_2016Mill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Germany │ ├── README.md │ ├── deMerc.json │ ├── deMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── India │ ├── README.md │ ├── inMerc.json │ ├── inMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Indonesia │ ├── README.md │ ├── idnMerc.json │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Iran │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── iranMill.json │ ├── package.json │ └── tsconfig.json │ ├── Italy │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── itMerc.json │ ├── itMill.json │ ├── package.json │ └── tsconfig.json │ ├── ItalyRegions │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── itRegionsMerc.json │ ├── itRegionsMill.json │ ├── package.json │ └── tsconfig.json │ ├── Netherlands │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── nlMerc.json │ ├── nlMill.json │ ├── package.json │ └── tsconfig.json │ ├── NewYork │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── tsconfig.json │ ├── usNyNewYorkMerc.json │ └── usNyNewYorkMill.json │ ├── NewZealand │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── nzMerc.json │ ├── nzMill.json │ ├── package.json │ └── tsconfig.json │ ├── NorthAmerica │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── northAmericaMerc.json │ ├── northAmericaMill.json │ ├── package.json │ └── tsconfig.json │ ├── Norway │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── noMerc.json │ ├── noMill.json │ ├── package.json │ └── tsconfig.json │ ├── Oceania │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── oceaniaMerc.json │ ├── oceaniaMill.json │ ├── package.json │ └── tsconfig.json │ ├── Poland │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── plMerc.json │ ├── plMill.json │ └── tsconfig.json │ ├── Portugal │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── ptMerc.json │ ├── ptMill.json │ └── tsconfig.json │ ├── PuertoRico │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── puertoRico.json │ └── tsconfig.json │ ├── Russia │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── ruMerc.json │ ├── ruMill.json │ └── tsconfig.json │ ├── RussiaFederalDistricts │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── ruFdMerc.json │ ├── ruFdMill.json │ └── tsconfig.json │ ├── SouthAfrica │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── tsconfig.json │ ├── zaMerc.json │ └── zaMill.json │ ├── SouthAmerica │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── southAmericaMerc.json │ ├── southAmericaMill.json │ └── tsconfig.json │ ├── SouthKorea │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── krMerc.json │ ├── krMill.json │ ├── package.json │ └── tsconfig.json │ ├── Spain │ ├── README.md │ ├── esMerc.json │ ├── esMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Sweden │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── seMerc.json │ ├── seMill.json │ └── tsconfig.json │ ├── Switzerland │ ├── README.md │ ├── chMerc.json │ ├── chMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ └── tsconfig.json │ ├── Thailand │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── thMerc.json │ ├── thMill.json │ └── tsconfig.json │ ├── Turkey │ ├── README.md │ ├── index.ts │ ├── package.json │ ├── trMill.json │ └── tsconfig.json │ ├── UkRegions │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── tsconfig.json │ ├── ukRegionsMerc.json │ └── ukRegionsMill.json │ ├── UnitedKingdomCountries │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── tsconfig.json │ ├── ukCountriesMerc.json │ └── ukCountriesMill.json │ ├── UnitedStates │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── tsconfig.json │ ├── usAea.json │ ├── usLcc.json │ ├── usMill.json │ └── useMerc.json │ ├── Venezuela │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── tsconfig.json │ ├── veMerc.json │ └── veMill.json │ ├── World │ ├── README.md │ ├── index.js │ ├── index.js.map │ ├── index.ts │ ├── package.json │ ├── tsconfig.json │ ├── worldMerc.json │ └── worldMill.json │ ├── index.js │ ├── index.js.map │ ├── index.ts │ └── tsconfig.json ├── scripts ├── map-scraper │ ├── index.js │ ├── node_modules │ │ ├── .yarn-integrity │ │ └── commander │ │ │ ├── LICENSE │ │ │ ├── Readme.md │ │ │ ├── esm.mjs │ │ │ ├── index.js │ │ │ ├── lib │ │ │ ├── argument.js │ │ │ ├── command.js │ │ │ ├── error.js │ │ │ ├── help.js │ │ │ ├── option.js │ │ │ └── suggestSimilar.js │ │ │ ├── package-support.json │ │ │ ├── package.json │ │ │ └── typings │ │ │ └── index.d.ts │ ├── package.json │ └── yarn.lock └── story-maker │ ├── index.js │ ├── node_modules │ ├── .yarn-integrity │ └── commander │ │ ├── LICENSE │ │ ├── Readme.md │ │ ├── esm.mjs │ │ ├── index.js │ │ ├── lib │ │ ├── argument.js │ │ ├── command.js │ │ ├── error.js │ │ ├── help.js │ │ ├── option.js │ │ └── suggestSimilar.js │ │ ├── package-support.json │ │ ├── package.json │ │ └── typings │ │ └── index.d.ts │ ├── package.json │ └── yarn.lock ├── stories ├── basic │ ├── MultiMap.stories.js │ ├── VectorMap.stories.js │ └── VectorMapExamples │ │ ├── DynamicRegionStyle.js │ │ ├── FetchData.js │ │ ├── FocusOnCountries.js │ │ ├── FranceElections.js │ │ ├── GDPByCountryVisualization.js │ │ ├── MallMap.js │ │ ├── MapLegends.js │ │ ├── MarkerIcons.js │ │ ├── MarkersOnTheWorldMap.js │ │ ├── RandomColors.js │ │ ├── RegionLabels.js │ │ ├── RegionsSelection.js │ │ ├── ReverseProjection.js │ │ ├── USAUnEmployment.js │ │ ├── assets │ │ ├── bg-red-green.png │ │ ├── bg-yellow-blue.png │ │ ├── icon-bank.png │ │ ├── icon-factory.png │ │ ├── icon-np-1.png │ │ ├── icon-np-2.png │ │ └── icon-np-3.png │ │ └── data │ │ ├── FranceElections.ts │ │ ├── USAUnemploymentData.ts │ │ ├── USStatetsColors.ts │ │ ├── gdpData.ts │ │ └── mallMap.ts ├── components │ └── MapContainer │ │ ├── MapContainer.module.scss │ │ ├── MapContainer.tsx │ │ ├── MapTemplate.js │ │ ├── MultiMapTemplate.js │ │ └── VectorMapTemplate.js ├── maps │ ├── Africa.stories.js │ ├── Algeria.stories.js │ ├── Argentina.stories.js │ ├── Asia.stories.js │ ├── Australia.stories.js │ ├── Austria.stories.js │ ├── Belgium.stories.js │ ├── Brazil.stories.js │ ├── Canada.stories.js │ ├── Chicago.stories.js │ ├── China.stories.js │ ├── Colombia.stories.js │ ├── Continents.stories.js │ ├── Denmark.stories.js │ ├── Europe.stories.js │ ├── France.stories.js │ ├── FranceRegions.stories.js │ ├── FranceRegions2016.stories.js │ ├── Germany.stories.js │ ├── India.stories.js │ ├── Indonesia.stories.js │ ├── Iran.stories.js │ ├── Italy.stories.js │ ├── ItalyRegions.stories.js │ ├── Netherlands.stories.js │ ├── NewYork.stories.js │ ├── NewZiland.stories.js │ ├── NorthAmerica.stories.js │ ├── Norway.stories.js │ ├── Oceania.stories.js │ ├── Poland.stories.js │ ├── Portugal.stories.js │ ├── PuertoRico.stories.js │ ├── Russia.stories.js │ ├── RussiaFederalDistricts.stories.js │ ├── SouthAfrica.stories.js │ ├── SouthAmerica.stories.js │ ├── SouthKorea.stories.js │ ├── Spain.stories.js │ ├── Sweden.stories.js │ ├── Switzerland.stories.js │ ├── Thailand.stories.js │ ├── Turkey.stories.js │ ├── UkRegions.stories.js │ ├── UnitedKingdomCountries.stories.js │ ├── UnitedStates.stories.js │ ├── Venezuela.stories.js │ └── World.stories.js └── static │ └── us-counties │ └── jquery-jvectormap-data-us-tx-lcc-en.json ├── tsconfig.json └── yarn.lock /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | parser: "@typescript-eslint/parser", 3 | extends: [ 4 | "plugin:@typescript-eslint/recommended", 5 | "plugin:import/typescript", 6 | "plugin:react-hooks/recommended", 7 | ], 8 | plugins: ["prettier"], 9 | parserOptions: { 10 | ecmaVersion: 2018, 11 | sourceType: "module", 12 | }, 13 | settings: { 14 | "import/resolver": { 15 | node: { 16 | extensions: [".js", ".jsx", ".ts", ".tsx"], 17 | }, 18 | }, 19 | }, 20 | rules: { 21 | "no-unused-vars": "error", 22 | "prettier/prettier": "error", 23 | "arrow-body-style": ["error", "as-needed"], 24 | "@typescript-eslint/explicit-module-boundary-types": "off", 25 | "@typescript-eslint/naming-convention": [ 26 | "error", 27 | { 28 | selector: "interface", 29 | format: ["PascalCase"], 30 | custom: { 31 | regex: "^I[A-Z]|(JQuery|Window)", 32 | match: true, 33 | }, 34 | }, 35 | ], 36 | }, 37 | ignorePatterns: [ 38 | "packages/*/**/webpack.config.js", 39 | "packages/jvectormap", 40 | "packages/jquery-mousewheel", 41 | "scripts", 42 | ], 43 | }; 44 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # To get started with Dependabot version updates, you'll need to specify which 2 | # package ecosystems to update and where the package manifests are located. 3 | # Please see the documentation for all configuration options: 4 | # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates 5 | 6 | version: 2 7 | updates: 8 | - package-ecosystem: "" # See documentation for possible values 9 | directory: "/" # Location of package manifests 10 | schedule: 11 | interval: "weekly" 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | 6 | # testing 7 | /coverage 8 | 9 | # misc 10 | .DS_Store 11 | .env.local 12 | .env.development.local 13 | .env.test.local 14 | .env.production.local 15 | 16 | npm-debug.log* 17 | yarn-debug.log* 18 | yarn-error.log* 19 | .idea 20 | packages/*/dist 21 | packages/*/node_modules 22 | build-storybook.log 23 | lerna-debug.log 24 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx --no-install commitlint --edit "$1" 5 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | yarn run pre-commit 5 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | src/demo 3 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "all", 3 | "tabWidth": 2, 4 | "semi": true, 5 | "singleQuote": false 6 | } 7 | -------------------------------------------------------------------------------- /.storybook/main.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | module.exports = { 4 | stories: [ 5 | "../stories/**/*.stories.mdx", 6 | "../stories/**/*.stories.@(js|jsx|ts|tsx)", 7 | ], 8 | addons: ["@storybook/addon-links", "@storybook/addon-essentials"], 9 | core: { 10 | builder: "webpack5", 11 | }, 12 | webpackFinal: async (config, { configType }) => { 13 | config.module.rules.push({ 14 | test: /\.scss$/, 15 | use: ["style-loader", "css-loader", "sass-loader"], 16 | include: path.resolve(__dirname, "../"), 17 | }); 18 | return config; 19 | }, 20 | }; 21 | -------------------------------------------------------------------------------- /.storybook/preview.js: -------------------------------------------------------------------------------- 1 | import jquery from 'jquery'; 2 | global.$ = jquery; 3 | global.jQuery = jquery; 4 | 5 | export const parameters = { 6 | actions: { argTypesRegex: "^on[A-Z].*" }, 7 | controls: { 8 | matchers: { 9 | color: /(background|color)$/i, 10 | date: /Date$/, 11 | }, 12 | }, 13 | } 14 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "node" 4 | script: 5 | - yarn test 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 Rubbby 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | ["@babel/preset-env", { targets: { node: "current" } }], 4 | "@babel/preset-typescript", 5 | "@babel/preset-react", 6 | ], 7 | }; 8 | -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line @typescript-eslint/no-var-requires 2 | const config = require("@commitlint/config-conventional"); 3 | const types = config.rules["type-enum"][2]; 4 | 5 | config.rules["type-enum"][2] = ["story"].concat(types); 6 | 7 | module.exports = { 8 | extends: ["@commitlint/config-conventional"], 9 | }; 10 | -------------------------------------------------------------------------------- /declarations.d.ts: -------------------------------------------------------------------------------- 1 | declare module "*.scss" { 2 | const styles: { [className: string]: string }; 3 | export default styles; 4 | } 5 | 6 | declare module "jvectormap-next"; 7 | -------------------------------------------------------------------------------- /example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kadoshms/react-jvectormap/a2ddb2e9a421c1a87606b79c1b761c1c033ff518/example.png -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- 1 | { 2 | "packages": [ 3 | "packages/*", 4 | "packages/maps/*" 5 | ], 6 | "useWorkspaces": true, 7 | "npmClient": "yarn", 8 | "version": "independent", 9 | "command": { 10 | "publish": { 11 | "allowBranch": "master", 12 | "message": "chore(release): %s" 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kadoshms/react-jvectormap/a2ddb2e9a421c1a87606b79c1b761c1c033ff518/logo.png -------------------------------------------------------------------------------- /packages/core/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: "../../babel.config.js", 3 | }; 4 | -------------------------------------------------------------------------------- /packages/core/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/core", 3 | "version": "1.0.4", 4 | "description": "> TODO: description", 5 | "author": "Mor Kadosh ", 6 | "homepage": "https://github.com/kadoshms/react-jvectormap#readme", 7 | "license": "ISC", 8 | "main": "dist/index.js", 9 | "types": "dist/index.d.ts", 10 | "publishConfig": { 11 | "access": "public" 12 | }, 13 | "peerDependencies": { 14 | "jquery": "^3.6", 15 | "react": "^16.8 || ^17 || ^18", 16 | "react-dom": "^16.8 || ^17 || ^18" 17 | }, 18 | "repository": { 19 | "type": "git", 20 | "url": "git+https://github.com/kadoshms/react-jvectormap.git" 21 | }, 22 | "scripts": { 23 | "test": "jest", 24 | "build": "rimraf dist && yarn run build:types && yarn run build:bundle", 25 | "build:bundle": "webpack --mode development", 26 | "build:types": "tsc --emitDeclarationOnly" 27 | }, 28 | "bugs": { 29 | "url": "https://github.com/kadoshms/react-jvectormap/issues" 30 | }, 31 | "devDependencies": { 32 | "@types/jquery": "^3.5.6", 33 | "@types/react": "^17.0.24", 34 | "jquery": "^3.6.0", 35 | "react": "^17.0.2", 36 | "react-dom": "^17.0.2", 37 | "webpack-bundle-analyzer": "^4.5.0" 38 | }, 39 | "dependencies": { 40 | "@react-jvectormap/lib": "^1.0.3", 41 | "classnames": "^2.3.1" 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /packages/core/src/components/MapContainer/MapContainer.tsx: -------------------------------------------------------------------------------- 1 | import React, { CSSProperties, FC, Ref } from "react"; 2 | import classNames from "classnames"; 3 | import styles from "./styles.module.scss"; 4 | 5 | interface IMapContainerProps { 6 | style?: CSSProperties; 7 | className?: string; 8 | containerRef: Ref; 9 | } 10 | 11 | export const MapContainer: FC = ({ 12 | containerRef, 13 | className, 14 | style, 15 | }) => ( 16 |
} 20 | /> 21 | ); 22 | -------------------------------------------------------------------------------- /packages/core/src/components/MapContainer/index.ts: -------------------------------------------------------------------------------- 1 | export { MapContainer } from "./MapContainer"; 2 | -------------------------------------------------------------------------------- /packages/core/src/components/MapContainer/styles.module.scss.d.ts: -------------------------------------------------------------------------------- 1 | export const root: string; 2 | -------------------------------------------------------------------------------- /packages/core/src/components/MultiMap/MultiMap.tsx: -------------------------------------------------------------------------------- 1 | import React, { FC, Ref, useLayoutEffect, useRef } from "react"; 2 | import $ from "jquery"; 3 | import { IMultiMapProps } from "../../types"; 4 | import { MapContainer } from "../MapContainer"; 5 | 6 | export const MultiMap: FC = ({ 7 | mapRef, 8 | style, 9 | className, 10 | ...props 11 | }) => { 12 | const containerRef = useRef(null); 13 | useLayoutEffect(() => { 14 | const mapContainer = containerRef.current; 15 | const { main, ...rest } = props; 16 | const { 17 | map: { name, content }, 18 | ...restMain 19 | } = main; 20 | $.fn.vectorMap("addMap", name, content); 21 | if (mapContainer) { 22 | $(mapContainer).multiMap({ 23 | main: { 24 | ...restMain, 25 | map: name, 26 | }, 27 | ...rest, 28 | }); 29 | } 30 | }, [mapRef, props]); 31 | 32 | return ( 33 | } 37 | /> 38 | ); 39 | }; 40 | -------------------------------------------------------------------------------- /packages/core/src/components/MultiMap/index.ts: -------------------------------------------------------------------------------- 1 | export { MultiMap } from "./MultiMap"; 2 | -------------------------------------------------------------------------------- /packages/core/src/components/VectorMap/index.ts: -------------------------------------------------------------------------------- 1 | export { VectorMap } from "./VectorMap"; 2 | -------------------------------------------------------------------------------- /packages/core/src/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./VectorMap"; 2 | export * from "./MultiMap"; 3 | -------------------------------------------------------------------------------- /packages/core/src/index.ts: -------------------------------------------------------------------------------- 1 | import { loadJVectorMap } from "@react-jvectormap/lib"; 2 | import $ from "jquery"; 3 | export * from "./components"; 4 | export * from "./utils"; 5 | 6 | loadJVectorMap($); 7 | -------------------------------------------------------------------------------- /packages/core/src/utils/builders/AttributeSeriesBuilder.ts: -------------------------------------------------------------------------------- 1 | import { IAttributeSeries, NormalizeFunctionType } from "../../types"; 2 | import { IBuilder } from "./types"; 3 | 4 | export class AttributeSeriesBuilder implements IBuilder { 5 | private attribute: string; 6 | private scale?: number[]; 7 | private values?: number[]; 8 | private normalizeFunction?: NormalizeFunctionType; 9 | 10 | constructor(attribute: string) { 11 | this.attribute = attribute; 12 | } 13 | 14 | /** 15 | * 16 | * @param value 17 | */ 18 | public setAttribute(value: string) { 19 | this.attribute = value; 20 | return this; 21 | } 22 | 23 | /** 24 | * 25 | * @param value 26 | */ 27 | public setScale(value: number[]) { 28 | this.scale = value; 29 | return this; 30 | } 31 | 32 | /** 33 | * 34 | * @param value 35 | */ 36 | public setValues(value: number[]) { 37 | this.values = value; 38 | return this; 39 | } 40 | 41 | /** 42 | * 43 | * @param value 44 | */ 45 | public setNormalizeFunction(value: NormalizeFunctionType) { 46 | this.normalizeFunction = value; 47 | return this; 48 | } 49 | 50 | public build() { 51 | return { 52 | scale: this.scale, 53 | values: this.values, 54 | attribute: this.attribute, 55 | normalizeFunction: this.normalizeFunction, 56 | }; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /packages/core/src/utils/builders/LabelsBuilder.ts: -------------------------------------------------------------------------------- 1 | import { ILabels, ILabelsProps } from "../../types"; 2 | import { stripUndefinedValues } from "./utils"; 3 | import { IBuilder } from "./types"; 4 | 5 | export class LabelsBuilder implements IBuilder { 6 | private markers?: ILabelsProps[]; 7 | private regions?: ILabelsProps[]; 8 | 9 | /** 10 | * 11 | * @param values 12 | */ 13 | public addMarkersLabelProps(...values: ILabelsProps[]) { 14 | if (!this.markers) { 15 | this.markers = []; 16 | } 17 | this.markers.push(...values); 18 | return this; 19 | } 20 | 21 | /** 22 | * 23 | * @param values 24 | */ 25 | public addRegionsLabelProps(...values: ILabelsProps[]) { 26 | if (!this.regions) { 27 | this.regions = []; 28 | } 29 | this.regions.push(...values); 30 | return this; 31 | } 32 | 33 | public build() { 34 | return stripUndefinedValues({ 35 | markers: this.markers, 36 | regions: this.regions, 37 | }); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /packages/core/src/utils/builders/LabelsPropsBuilder.ts: -------------------------------------------------------------------------------- 1 | import { GetOffsets, ILabelsProps, RenderLabel } from "../../types"; 2 | import { IBuilder } from "./types"; 3 | 4 | export class LabelsPropsBuilder implements IBuilder { 5 | private render: RenderLabel; 6 | private offsets: GetOffsets; 7 | 8 | public constructor(render: RenderLabel, offsets: GetOffsets) { 9 | this.render = render; 10 | this.offsets = offsets; 11 | } 12 | 13 | /** 14 | * 15 | * @param render 16 | */ 17 | public setRender(render: RenderLabel) { 18 | this.render = render; 19 | return this; 20 | } 21 | 22 | /** 23 | * 24 | * @param offsets 25 | */ 26 | public setOffsets(offsets: GetOffsets) { 27 | this.offsets = offsets; 28 | return this; 29 | } 30 | 31 | /** 32 | * 33 | */ 34 | public build() { 35 | return { 36 | render: this.render, 37 | offsets: this.offsets, 38 | }; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /packages/core/src/utils/builders/SeriesBuilder.ts: -------------------------------------------------------------------------------- 1 | import { IAttributeSeries, ISeries } from "../../types"; 2 | import { stripUndefinedValues } from "./utils"; 3 | import { IBuilder } from "./types"; 4 | 5 | export class SeriesBuilder implements IBuilder { 6 | private markers?: IAttributeSeries[]; 7 | private regions?: IAttributeSeries[]; 8 | 9 | /** 10 | * 11 | * @param values 12 | */ 13 | public addMarkersSeries(...values: IAttributeSeries[]) { 14 | if (!this.markers) { 15 | this.markers = []; 16 | } 17 | this.markers.push(...values); 18 | return this; 19 | } 20 | 21 | /** 22 | * 23 | * @param values 24 | */ 25 | public addRegionsSeries(...values: IAttributeSeries[]) { 26 | if (!this.regions) { 27 | this.regions = []; 28 | } 29 | this.regions.push(...values); 30 | return this; 31 | } 32 | 33 | public build() { 34 | return stripUndefinedValues({ 35 | markers: this.markers, 36 | regions: this.regions, 37 | }); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /packages/core/src/utils/builders/__tests__/AttributeSeriesBuilder.test.ts: -------------------------------------------------------------------------------- 1 | import { AttributeSeriesBuilder } from "../AttributeSeriesBuilder"; 2 | 3 | describe("AttributeSeriesBuilder", () => { 4 | it("should build an attribute series", () => { 5 | const series = new AttributeSeriesBuilder("r") 6 | .setValues([10, 10, 10]) 7 | .setScale([10, 10]) 8 | .setNormalizeFunction("polynomial") 9 | .build(); 10 | expect(series).toEqual({ 11 | attribute: "r", 12 | scale: [10, 10], 13 | values: [10, 10, 10], 14 | normalizeFunction: "polynomial", 15 | }); 16 | }); 17 | 18 | it("should build an attribute series and change it's values", () => { 19 | const series = new AttributeSeriesBuilder("r"); 20 | series.setAttribute("x").setScale([10, 10]).setValues([0]); 21 | expect(series).toEqual({ 22 | attribute: "x", 23 | scale: [10, 10], 24 | values: [0], 25 | }); 26 | }); 27 | }); 28 | -------------------------------------------------------------------------------- /packages/core/src/utils/builders/__tests__/MarkerBuilder.test.ts: -------------------------------------------------------------------------------- 1 | import { MarkerBuilder } from "../MarkerBuilder"; 2 | 3 | describe("MarkerBuilder", () => { 4 | it("should build a simple MarkerBuilder with latLng", () => { 5 | const marker = new MarkerBuilder("test-marker").setLatLng([10, 10]).build(); 6 | expect(marker).toEqual({ 7 | name: "test-marker", 8 | latLng: [10, 10], 9 | }); 10 | }); 11 | 12 | it("should build a simple MarkerBuilder with coords", () => { 13 | const marker = new MarkerBuilder("test-marker").setCoords([10, 10]).build(); 14 | expect(marker).toEqual({ 15 | name: "test-marker", 16 | coords: [10, 10], 17 | }); 18 | }); 19 | 20 | it("should build a simple MarkerBuilder with both props defined", () => { 21 | const marker = new MarkerBuilder("test-marker") 22 | .setLatLng([10, 10]) 23 | .setCoords([11, 11]) 24 | .build(); 25 | expect(marker).toEqual({ 26 | name: "test-marker", 27 | coords: [11, 11], 28 | }); 29 | }); 30 | 31 | it("should build a simple MarkerBuilder with both props defined, oposite case", () => { 32 | const marker = new MarkerBuilder("test-marker") 33 | .setCoords([10, 10]) 34 | .setLatLng([11, 11]) 35 | .build(); 36 | expect(marker).toEqual({ 37 | name: "test-marker", 38 | latLng: [11, 11], 39 | }); 40 | }); 41 | }); 42 | -------------------------------------------------------------------------------- /packages/core/src/utils/builders/__tests__/MultiMapBuilder.test.ts: -------------------------------------------------------------------------------- 1 | import { MapMock1 } from "./mocks/MapMock1"; 2 | import { MultiMapBuilder } from "../MultiMapBuilder"; 3 | 4 | jest.mock("../MarkerBuilder", () => ({ 5 | MarkerBuilder: jest.fn().mockImplementation(() => ({ 6 | build: () => ({ 7 | name: "test", 8 | coords: [10, 10], 9 | }), 10 | })), 11 | })); 12 | 13 | describe("MultiMapBuilder", () => { 14 | it("should build a simple MultiMap", () => { 15 | const multiMap = new MultiMapBuilder(MapMock1).setMaxLevel(2); 16 | expect(multiMap).toEqual({ 17 | main: { 18 | map: MapMock1, 19 | }, 20 | maxLevel: 2, 21 | }); 22 | }); 23 | 24 | it("should build a simple MultiMap with a URL getter", () => { 25 | const func = (code: string) => code; 26 | const multiMap = new MultiMapBuilder(MapMock1, 2).setUrlByCode(func); 27 | expect(multiMap).toEqual({ 28 | main: { 29 | map: MapMock1, 30 | }, 31 | mapUrlByCode: func, 32 | maxLevel: 2, 33 | }); 34 | }); 35 | }); 36 | -------------------------------------------------------------------------------- /packages/core/src/utils/builders/__tests__/StyleBuilder.test.ts: -------------------------------------------------------------------------------- 1 | import { StyleBuilder } from "../StyleBuilder"; 2 | 3 | describe("StyleBuilder", () => { 4 | it("should build a simple style builder", () => { 5 | const style = new StyleBuilder() 6 | .setHover({ fill: "red" }) 7 | .setInitial({ fill: "blue" }) 8 | .setSelectedHover({ stroke: "black" }) 9 | .build(); 10 | 11 | expect(style).toEqual({ 12 | initial: { 13 | fill: "blue", 14 | }, 15 | hover: { 16 | fill: "red", 17 | }, 18 | selectedHover: { 19 | stroke: "black", 20 | }, 21 | }); 22 | }); 23 | }); 24 | -------------------------------------------------------------------------------- /packages/core/src/utils/builders/__tests__/VectorMapBuilder.test.ts: -------------------------------------------------------------------------------- 1 | import { VectorMapBuilder } from "../VectorMapBuilder"; 2 | import { MarkerBuilder } from "../MarkerBuilder"; 3 | import { MapMock1 } from "./mocks/MapMock1"; 4 | 5 | jest.mock("../MarkerBuilder", () => ({ 6 | MarkerBuilder: jest.fn().mockImplementation(() => ({ 7 | build: () => ({ 8 | name: "test", 9 | coords: [10, 10], 10 | }), 11 | })), 12 | })); 13 | 14 | describe("VectorMapBuilder", () => { 15 | it("should build a simple VectorMap with markers", () => { 16 | const marker1 = new MarkerBuilder("test1").build(); 17 | const marker2 = new MarkerBuilder("test2").build(); 18 | const marker3 = new MarkerBuilder("test3").build(); 19 | const vectorMap = new VectorMapBuilder(MapMock1) 20 | .addMarker(marker1) 21 | .addMarker(marker2) 22 | .addMarker(marker3) 23 | .build(); 24 | expect(vectorMap).toEqual({ 25 | map: MapMock1, 26 | series: { 27 | markers: [marker1, marker2, marker3], 28 | }, 29 | }); 30 | }); 31 | }); 32 | -------------------------------------------------------------------------------- /packages/core/src/utils/builders/index.ts: -------------------------------------------------------------------------------- 1 | export { VectorMapBuilder } from "./VectorMapBuilder"; 2 | export { MarkerBuilder } from "./MarkerBuilder"; 3 | export { StyleBuilder } from "./StyleBuilder"; 4 | export { AttributeSeriesBuilder } from "./AttributeSeriesBuilder"; 5 | export { SeriesBuilder } from "./SeriesBuilder"; 6 | export { LabelsBuilder } from "./LabelsBuilder"; 7 | export { LabelsPropsBuilder } from "./LabelsPropsBuilder"; 8 | export { MultiMapBuilder } from "./MultiMapBuilder"; 9 | -------------------------------------------------------------------------------- /packages/core/src/utils/builders/types.ts: -------------------------------------------------------------------------------- 1 | export interface IBuilder { 2 | build: () => T; 3 | } 4 | -------------------------------------------------------------------------------- /packages/core/src/utils/builders/utils.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * remove undefined values from object 3 | * @param object 4 | */ 5 | export const stripUndefinedValues = (object: { [key: string]: unknown }) => 6 | Object.fromEntries( 7 | Object.entries(object).filter((entry) => entry[1] !== undefined), 8 | ); 9 | -------------------------------------------------------------------------------- /packages/core/src/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./builders"; 2 | -------------------------------------------------------------------------------- /packages/core/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "rootDir": "src", 5 | "outDir": "dist", 6 | "declaration": true, 7 | "declarationDir": "dist", 8 | "emitDeclarationOnly": false 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /packages/core/typings/declarations.d.ts: -------------------------------------------------------------------------------- 1 | import jQuery from "@types/jquery"; 2 | import { IRegion, Marker } from "../src/types"; 3 | 4 | type DataSeries = { 5 | clearAndSet: (values: { [key: string]: number } | number[]) => void; 6 | }; 7 | 8 | declare global { 9 | interface Window { 10 | jQuery: typeof jQuery; 11 | $: typeof jQuery; 12 | } 13 | interface JQuery { 14 | vectorMap(...args: unknown[]): JQuery; 15 | multiMap(...args: unknown[]): JQuery; 16 | series?: { 17 | regions?: DataSeries[]; 18 | markers?: DataSeries[]; 19 | }; 20 | } 21 | } 22 | 23 | declare module "jvectormap-next"; 24 | 25 | declare module "*.scss" { 26 | const styles: { [className: string]: string }; 27 | export default styles; 28 | } 29 | -------------------------------------------------------------------------------- /packages/core/webpack.config.js: -------------------------------------------------------------------------------- 1 | const path = require("path"); 2 | 3 | module.exports = { 4 | entry: path.resolve(__dirname, "./src/index.ts"), 5 | output: { 6 | path: path.resolve(__dirname, "dist"), 7 | filename: "index.js", 8 | libraryTarget: "umd", 9 | }, 10 | resolve: { 11 | extensions: [".ts", ".tsx", ".js", ".jsx"], 12 | }, 13 | module: { 14 | rules: [ 15 | { 16 | test: /\.tsx?$/, 17 | loader: "babel-loader", 18 | }, 19 | { 20 | test: /\.s[ac]ss$/i, 21 | use: ["style-loader", "css-loader", "sass-loader"], 22 | }, 23 | ], 24 | }, 25 | externals: { 26 | react: "react", 27 | "react-dom": "reactDOM", 28 | jquery: "jquery", 29 | }, 30 | plugins: [] 31 | }; 32 | -------------------------------------------------------------------------------- /packages/core/yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | -------------------------------------------------------------------------------- /packages/jquery-mousewheel/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /npm-debug.log 3 | /node_modules 4 | *.min.js 5 | -------------------------------------------------------------------------------- /packages/jquery-mousewheel/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-mousewheel", 3 | "main": "./jquery.mousewheel.js", 4 | "ignore": [ 5 | "*.json", 6 | "*.markdown", 7 | "*.txt", 8 | ".*", 9 | "!LICENSE.txt", 10 | "test" 11 | ], 12 | "dependencies": { 13 | "jquery": ">=1.7.2" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /packages/jquery-mousewheel/test/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "globals": { 3 | "QUnit": "readonly" 4 | }, 5 | "rules": { 6 | } 7 | }; -------------------------------------------------------------------------------- /packages/jquery-mousewheel/test/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jQuery Mousewheel Unit Test 6 | 7 | 8 | 9 | 13 | 14 | 15 | 20 | 24 | 25 | 26 |

Using jQuery (unknown)

27 |

Add ?v=1.8.3 or ?v=2.2.4.min to specify a jQuery version from code.jquery.com.

28 |

29 | In addition to unit tests, run the 30 | manual test and scrolling test 31 | in all supported browsers. 32 |

33 | 34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /packages/jquery-mousewheel/test/karma.conf.js: -------------------------------------------------------------------------------- 1 | module.exports = function( config ) { 2 | config.set( { 3 | basePath: "..", 4 | frameworks: [ "qunit" ], 5 | files: [ 6 | { pattern: "./node_modules/jquery/dist/jquery.js" }, 7 | { pattern: "jquery.mousewheel.js" }, 8 | { pattern: "test/unit.js" } 9 | ], 10 | exclude: [], 11 | preprocessors: {}, 12 | reporters: [ "progress" ], 13 | port: 9876, 14 | colors: true, 15 | logLevel: config.LOG_WARN, //LOG_INFO 16 | autoWatch: false, 17 | singleRun: true, 18 | browsers: [ "Chrome", "Firefox" ], 19 | concurrency: 5 20 | } ); 21 | }; 22 | -------------------------------------------------------------------------------- /packages/jvectormap/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | jquery.jvectormap.min.js 3 | .idea 4 | node_modules 5 | -------------------------------------------------------------------------------- /packages/jvectormap/LICENSE-COMMERCIAL: -------------------------------------------------------------------------------- 1 | Commercial license: 2 | - License does not expire. 3 | - Can be used on 1 site, unlimited servers 4 | - Source-code or binary products cannot be resold or distributed 5 | - Commercial use allowed 6 | - Can modify source-code but cannot distribute modifications (derivative works) 7 | Full licensing terms are avaialble at http://www.binpress.com/license/read/id/3085/app/2122 8 | 9 | 10 | Developer license: 11 | - License does not expire. 12 | - Can be distributed in unlimited projects 13 | - Can be distributed and / or packaged as a code or binary product (sublicensed) 14 | - Commercial use allowed 15 | - Can modify source-code but cannot distribute modifications (derivative works) 16 | Full licensing terms are avaialble at http://www.binpress.com/license/read/id/3086/app/2122 -------------------------------------------------------------------------------- /packages/jvectormap/README.md: -------------------------------------------------------------------------------- 1 | jVectorMap is a vector-based, cross-browser and cross-platform component for interactive geography-related data visualization on the web. It provides numerious features like smooth zooming and panning, fully-customizable styling, markers, labels and tooltips. 2 | 3 | You can find maps, documentation, examples and more at [the official site](http://jvectormap.com/) -------------------------------------------------------------------------------- /packages/jvectormap/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const loadJVectorMap: ($: JQueryStatic) => JQueryStatic; 2 | -------------------------------------------------------------------------------- /packages/jvectormap/index.js: -------------------------------------------------------------------------------- 1 | export { loadJVectorMap } from "./jquery.jvectormap.min"; 2 | -------------------------------------------------------------------------------- /packages/jvectormap/jvectormap.jquery.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jvectormap", 3 | "title": "jVectorMap", 4 | "description": "jQuery plugin for embedding vector maps with reach API and methods for data visualization to the web-pages.", 5 | "keywords": [ 6 | "map", 7 | "vector", 8 | "world", 9 | "usa", 10 | "choropleth" 11 | ], 12 | "version": "2.0.5", 13 | "author": { 14 | "name": "Kirill Lebedev", 15 | "email" : "echo.bjornd@gmail.com" 16 | }, 17 | "licenses": [ 18 | { 19 | "type": "AGPL", 20 | "url": "http://www.gnu.org/copyleft/gpl.html" 21 | }, 22 | { 23 | "type": "Commercial", 24 | "url": "http://www.binpress.com/license/read/id/3085/app/2122" 25 | } 26 | ], 27 | "bugs": "https://github.com/bjornd/jvectormap/issues", 28 | "homepage": "http://jvectormap.com", 29 | "docs": "http://jvectormap.com/documentation/", 30 | "download": "http://jvectormap.com/download/", 31 | "dependencies": { 32 | "jquery": ">=1.5" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /packages/jvectormap/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/lib", 3 | "version": "1.0.3", 4 | "main": "jquery-jvectormap.min.js", 5 | "types": "index.d.ts", 6 | "repository": "git@github.com:bjornd/jvectormap.git", 7 | "license": "(AGPL OR Commercial)", 8 | "author": "Kirill Lebedev ", 9 | "scripts": { 10 | "build": "./build.sh" 11 | }, 12 | "publishConfig": { 13 | "access": "public" 14 | }, 15 | "dependencies": { 16 | "@react-jvectormap/jquery-mousewheel": "^1.0.2" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /packages/jvectormap/src/color-scale.js: -------------------------------------------------------------------------------- 1 | jvm.ColorScale = function(colors, normalizeFunction, minValue, maxValue) { 2 | jvm.ColorScale.parentClass.apply(this, arguments); 3 | } 4 | 5 | jvm.inherits(jvm.ColorScale, jvm.NumericScale); 6 | 7 | jvm.ColorScale.prototype.setScale = function(scale) { 8 | var i; 9 | 10 | for (i = 0; i < scale.length; i++) { 11 | this.scale[i] = jvm.ColorScale.rgbToArray(scale[i]); 12 | } 13 | }; 14 | 15 | jvm.ColorScale.prototype.getValue = function(value) { 16 | return jvm.ColorScale.numToRgb(jvm.ColorScale.parentClass.prototype.getValue.call(this, value)); 17 | }; 18 | 19 | jvm.ColorScale.arrayToRgb = function(ar) { 20 | var rgb = '#', 21 | d, 22 | i; 23 | 24 | for (i = 0; i < ar.length; i++) { 25 | d = ar[i].toString(16); 26 | rgb += d.length == 1 ? '0'+d : d; 27 | } 28 | return rgb; 29 | }; 30 | 31 | jvm.ColorScale.numToRgb = function(num) { 32 | num = num.toString(16); 33 | 34 | while (num.length < 6) { 35 | num = '0' + num; 36 | } 37 | 38 | return '#'+num; 39 | }; 40 | 41 | jvm.ColorScale.rgbToArray = function(rgb) { 42 | rgb = rgb.substr(1); 43 | return [parseInt(rgb.substr(0, 2), 16), parseInt(rgb.substr(2, 2), 16), parseInt(rgb.substr(4, 2), 16)]; 44 | }; -------------------------------------------------------------------------------- /packages/jvectormap/src/ordinal-scale.js: -------------------------------------------------------------------------------- 1 | jvm.OrdinalScale = function(scale){ 2 | this.scale = scale; 3 | }; 4 | 5 | jvm.OrdinalScale.prototype.getValue = function(value){ 6 | return this.scale[value]; 7 | }; 8 | 9 | jvm.OrdinalScale.prototype.getTicks = function(){ 10 | var ticks = [], 11 | key; 12 | 13 | for (key in this.scale) { 14 | ticks.push({ 15 | label: key, 16 | value: this.scale[key] 17 | }); 18 | } 19 | 20 | return ticks; 21 | }; -------------------------------------------------------------------------------- /packages/jvectormap/src/simple-scale.js: -------------------------------------------------------------------------------- 1 | jvm.SimpleScale = function(scale){ 2 | this.scale = scale; 3 | }; 4 | 5 | jvm.SimpleScale.prototype.getValue = function(value){ 6 | return value; 7 | }; -------------------------------------------------------------------------------- /packages/jvectormap/src/svg-canvas-element.js: -------------------------------------------------------------------------------- 1 | jvm.SVGCanvasElement = function (container, width, height) { 2 | this.classPrefix = "SVG"; 3 | jvm.SVGCanvasElement.parentClass.call(this, "svg"); 4 | 5 | this.defsElement = new jvm.SVGElement("defs"); 6 | this.node.appendChild(this.defsElement.node); 7 | 8 | jvm.AbstractCanvasElement.apply(this, arguments); 9 | }; 10 | 11 | jvm.inherits(jvm.SVGCanvasElement, jvm.SVGElement); 12 | jvm.mixin(jvm.SVGCanvasElement, jvm.AbstractCanvasElement); 13 | 14 | jvm.SVGCanvasElement.prototype.setSize = function (width, height) { 15 | this.width = width; 16 | this.height = height; 17 | this.node.setAttribute("width", width); 18 | this.node.setAttribute("height", height); 19 | }; 20 | 21 | jvm.SVGCanvasElement.prototype.applyTransformParams = function ( 22 | scale, 23 | transX, 24 | transY, 25 | ) { 26 | this.scale = scale; 27 | this.transX = transX; 28 | this.transY = transY; 29 | if (!isNaN(transX) && !isNaN(transY) && !isNaN(scale)) { 30 | this.rootElement.node.setAttribute( 31 | "transform", 32 | "scale(" + scale + ") translate(" + transX + ", " + transY + ")", 33 | ); 34 | } 35 | }; 36 | -------------------------------------------------------------------------------- /packages/jvectormap/src/svg-circle-element.js: -------------------------------------------------------------------------------- 1 | jvm.SVGCircleElement = function(config, style){ 2 | jvm.SVGCircleElement.parentClass.call(this, 'circle', config, style); 3 | }; 4 | 5 | jvm.inherits(jvm.SVGCircleElement, jvm.SVGShapeElement); -------------------------------------------------------------------------------- /packages/jvectormap/src/svg-group-element.js: -------------------------------------------------------------------------------- 1 | jvm.SVGGroupElement = function(){ 2 | jvm.SVGGroupElement.parentClass.call(this, 'g'); 3 | } 4 | 5 | jvm.inherits(jvm.SVGGroupElement, jvm.SVGElement); 6 | 7 | jvm.SVGGroupElement.prototype.add = function(element){ 8 | this.node.appendChild( element.node ); 9 | }; -------------------------------------------------------------------------------- /packages/jvectormap/src/svg-path-element.js: -------------------------------------------------------------------------------- 1 | jvm.SVGPathElement = function(config, style){ 2 | jvm.SVGPathElement.parentClass.call(this, 'path', config, style); 3 | this.node.setAttribute('fill-rule', 'evenodd'); 4 | } 5 | 6 | jvm.inherits(jvm.SVGPathElement, jvm.SVGShapeElement); -------------------------------------------------------------------------------- /packages/jvectormap/src/svg-text-element.js: -------------------------------------------------------------------------------- 1 | jvm.SVGTextElement = function(config, style){ 2 | jvm.SVGTextElement.parentClass.call(this, 'text', config, style); 3 | } 4 | 5 | jvm.inherits(jvm.SVGTextElement, jvm.SVGShapeElement); 6 | 7 | jvm.SVGTextElement.prototype.applyAttr = function(attr, value){ 8 | if (attr === 'text') { 9 | this.node.textContent = value; 10 | } else { 11 | jvm.SVGTextElement.parentClass.prototype.applyAttr.apply(this, arguments); 12 | } 13 | }; -------------------------------------------------------------------------------- /packages/jvectormap/src/vector-canvas.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Class for vector images manipulations. 3 | * @constructor 4 | * @param {DOMElement} container to place canvas to 5 | * @param {Number} width 6 | * @param {Number} height 7 | */ 8 | jvm.VectorCanvas = function(container, width, height) { 9 | this.mode = window.SVGAngle ? 'svg' : 'vml'; 10 | 11 | if (this.mode == 'svg') { 12 | this.impl = new jvm.SVGCanvasElement(container, width, height); 13 | } else { 14 | this.impl = new jvm.VMLCanvasElement(container, width, height); 15 | } 16 | this.impl.mode = this.mode; 17 | return this.impl; 18 | }; -------------------------------------------------------------------------------- /packages/jvectormap/src/vml-circle-element.js: -------------------------------------------------------------------------------- 1 | jvm.VMLCircleElement = function(config, style){ 2 | jvm.VMLCircleElement.parentClass.call(this, 'oval', config, style); 3 | }; 4 | 5 | jvm.inherits(jvm.VMLCircleElement, jvm.VMLShapeElement); 6 | 7 | jvm.VMLCircleElement.prototype.applyAttr = function(attr, value){ 8 | switch (attr) { 9 | case 'r': 10 | this.node.style.width = value*2+'px'; 11 | this.node.style.height = value*2+'px'; 12 | this.applyAttr('cx', this.get('cx') || 0); 13 | this.applyAttr('cy', this.get('cy') || 0); 14 | break; 15 | case 'cx': 16 | if (!value) return; 17 | this.node.style.left = value - (this.get('r') || 0) + 'px'; 18 | break; 19 | case 'cy': 20 | if (!value) return; 21 | this.node.style.top = value - (this.get('r') || 0) + 'px'; 22 | break; 23 | default: 24 | jvm.VMLCircleElement.parentClass.prototype.applyAttr.call(this, attr, value); 25 | } 26 | }; -------------------------------------------------------------------------------- /packages/jvectormap/src/vml-group-element.js: -------------------------------------------------------------------------------- 1 | jvm.VMLGroupElement = function(){ 2 | jvm.VMLGroupElement.parentClass.call(this, 'group'); 3 | 4 | this.node.style.left = '0px'; 5 | this.node.style.top = '0px'; 6 | this.node.coordorigin = "0 0"; 7 | }; 8 | 9 | jvm.inherits(jvm.VMLGroupElement, jvm.VMLElement); 10 | 11 | jvm.VMLGroupElement.prototype.add = function(element){ 12 | this.node.appendChild( element.node ); 13 | }; -------------------------------------------------------------------------------- /packages/jvectormap/tests/assets/bg-red-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kadoshms/react-jvectormap/a2ddb2e9a421c1a87606b79c1b761c1c033ff518/packages/jvectormap/tests/assets/bg-red-green.png -------------------------------------------------------------------------------- /packages/jvectormap/tests/assets/bg-yellow-blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kadoshms/react-jvectormap/a2ddb2e9a421c1a87606b79c1b761c1c033ff518/packages/jvectormap/tests/assets/bg-yellow-blue.png -------------------------------------------------------------------------------- /packages/jvectormap/tests/assets/icon-bank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kadoshms/react-jvectormap/a2ddb2e9a421c1a87606b79c1b761c1c033ff518/packages/jvectormap/tests/assets/icon-bank.png -------------------------------------------------------------------------------- /packages/jvectormap/tests/assets/icon-factory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kadoshms/react-jvectormap/a2ddb2e9a421c1a87606b79c1b761c1c033ff518/packages/jvectormap/tests/assets/icon-factory.png -------------------------------------------------------------------------------- /packages/jvectormap/tests/build.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | jVectorMap demo 5 | 6 | 7 | 8 | 9 | 16 | 17 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /packages/jvectormap/tests/processor/continents_wb.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "name": "read_data", 3 | "file_name": "/Users/kirilllebedev/Maps/ne_110m_admin_0_map_units/ne_110m_admin_0_map_units.shp" 4 | },{ 5 | "name": "buffer", 6 | "distance": 0.0000001, 7 | "resolution": 1 8 | },{ 9 | "name": "join_data", 10 | "data": [ 11 | ["Antarctica", "ANT"], 12 | ["East Asia & Pacific", "EAP"], 13 | ["Europe & Central Asia", "ECA"], 14 | ["Latin America & Caribbean", "LAC"], 15 | ["Middle East & North Africa", "MENA"], 16 | ["North America", "NA"], 17 | ["South Asia", "SA"], 18 | ["Sub-Saharan Africa", "SSA"] 19 | ], 20 | "fields": [{ 21 | "name": "region_wb", 22 | "type": 4, 23 | "width": 100 24 | },{ 25 | "name": "r_wb_code", 26 | "type": 4, 27 | "width": 4 28 | }], 29 | "on": "region_wb" 30 | },{ 31 | "name": "union", 32 | "by": "r_wb_code" 33 | },{ 34 | "name": "remove_other_fields", 35 | "fields": ["r_wb_code", "region_wb"] 36 | },{ 37 | "name": "write_data", 38 | "file_name": "/Users/kirilllebedev/Maps/continents_wb/continents_wb.shp" 39 | }] -------------------------------------------------------------------------------- /packages/jvectormap/tests/us.json: -------------------------------------------------------------------------------- 1 | { 2 | "input_file": "/Users/kirilllebedev/Maps/ne_10m_admin_1_states_provinces_lakes/ne_10m_admin_1_states_provinces_lakes.shp", 3 | "output_file": "tests/assets/jquery-jvectormap-data-us-lcc-en.js", 4 | "name_field": "name", 5 | "code_field": "iso_3166_2", 6 | "projection": "lcc", 7 | "name": "us", 8 | "longitude0": -100, 9 | "where": "iso_a2 = 'US'", 10 | "minimal_area": 4000000, 11 | "insets": [{ 12 | "codes": ["US-AK"], 13 | "width": 220, 14 | "left": 0, 15 | "top": 440 16 | },{ 17 | "codes": ["US-HI"], 18 | "width": 80, 19 | "left": 245, 20 | "top": 460 21 | }], 22 | "for_each": { 23 | "input_file": "/Users/kirilllebedev/Maps/us-counties/countyp010g.shp", 24 | "output_file": "tests/assets/us/jquery-jvectormap-data-{{code}}-lcc-en.js", 25 | "width": 1000, 26 | "name_field": "ADMIN_NAME", 27 | "code_field": "ADMIN_FIPS", 28 | "where": "STATE = SUBSTR('{{code}}', 4)", 29 | "projection": "lcc", 30 | "name": "{{code}}", 31 | "longitude0": -100 32 | } 33 | } -------------------------------------------------------------------------------- /packages/jvectormap/tests/world.json: -------------------------------------------------------------------------------- 1 | { 2 | "input_file": "/Users/kirilllebedev/Maps/ne_110m_admin_0_countries_lakes/ne_110m_admin_0_countries_lakes.shp", 3 | "output_file": "tests/assets/jquery-jvectormap-world-mill-en.js", 4 | "name_field": "name", 5 | "code_field": "iso_a2", 6 | "where": "iso_a2 != 'AQ'", 7 | "longitude0": 11.5, 8 | "name": "world", 9 | "projection": "mill" 10 | } -------------------------------------------------------------------------------- /packages/maps/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/maps/Africa/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/africa 2 | 3 | A collection of JvectorMap maps of Africa. 4 | 5 | Available Maps: 6 | 7 | - africaMill 8 | - africaMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/africa 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/africa 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { africaMill } from '@react-jvectormap/africa'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import africaMill from '@react-jvectormap/africa/dist/africaMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Africa/index.ts: -------------------------------------------------------------------------------- 1 | import africaMerc from "./africaMerc.json"; 2 | import africaMill from "./africaMill.json"; 3 | 4 | export { africaMerc, africaMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Africa/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/africa", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Africa/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Algeria/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/algeria 2 | 3 | A collection of JvectorMap maps of Algeria. 4 | 5 | Available Maps: 6 | 7 | - dzMill 8 | 9 | ## Installation: 10 | 11 | ``` 12 | yarn add @react-jvectormap/algeria 13 | ``` 14 | 15 | or: 16 | 17 | ``` 18 | npm install --save @react-jvectormap/algeria 19 | ``` 20 | 21 | ## Usage 22 | 23 | ``` 24 | import { dzMill } from '@react-jvectormap/algeria'; 25 | ``` 26 | 27 | or: 28 | 29 | ``` 30 | import dzMill from '@react-jvectormap/algeria/dist/dzMill'; 31 | ``` 32 | -------------------------------------------------------------------------------- /packages/maps/Algeria/index.js: -------------------------------------------------------------------------------- 1 | import dzMill from "./dzMill.json"; 2 | export { dzMill }; 3 | // attribution: https://github.com/Reddine/Algerian-map 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Algeria/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,CAAC;AAElB,uDAAuD"} -------------------------------------------------------------------------------- /packages/maps/Algeria/index.ts: -------------------------------------------------------------------------------- 1 | import dzMill from "./dzMill.json"; 2 | 3 | export { dzMill }; 4 | 5 | // attribution: https://github.com/Reddine/Algerian-map 6 | -------------------------------------------------------------------------------- /packages/maps/Algeria/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/algeria", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Algeria/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Argentina/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/argentina 2 | 3 | A collection of JvectorMap maps of Argentina. 4 | 5 | Available Maps: 6 | 7 | - arMill 8 | - arMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/argentina 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/argentina 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { arMill } from '@react-jvectormap/argentina'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import arMill from '@react-jvectormap/argentina/dist/arMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Argentina/index.js: -------------------------------------------------------------------------------- 1 | import arMerc from "./arMerc.json"; 2 | import arMill from "./arMill.json"; 3 | export { arMerc, arMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Argentina/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Argentina/index.ts: -------------------------------------------------------------------------------- 1 | import arMerc from "./arMerc.json"; 2 | import arMill from "./arMill.json"; 3 | 4 | export { arMerc, arMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Argentina/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/argentina", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Argentina/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Asia/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/asia 2 | 3 | A collection of JvectorMap maps of Asia. 4 | 5 | Available Maps: 6 | 7 | - asiaMill 8 | - asiaMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/asia 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/asia 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { asiaMill } from '@react-jvectormap/asia'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import asiaMill from '@react-jvectormap/asia/dist/asiaMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Asia/index.js: -------------------------------------------------------------------------------- 1 | import asiaMerc from "./asiaMerc.json"; 2 | import asiaMill from "./asiaMill.json"; 3 | export { asiaMerc, asiaMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Asia/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AACvC,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Asia/index.ts: -------------------------------------------------------------------------------- 1 | import asiaMerc from "./asiaMerc.json"; 2 | import asiaMill from "./asiaMill.json"; 3 | 4 | export { asiaMerc, asiaMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Asia/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/asia", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Asia/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Australia/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/australia 2 | 3 | A collection of JvectorMap maps of Australia. 4 | 5 | Available Maps: 6 | 7 | - auMill 8 | - auMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/australia 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/australia 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { auMill } from '@react-jvectormap/australia'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import auMill from '@react-jvectormap/australia/dist/auMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Australia/index.js: -------------------------------------------------------------------------------- 1 | import auMerc from "./auMerc.json"; 2 | import auMill from "./auMill.json"; 3 | export { auMerc, auMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Australia/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Australia/index.ts: -------------------------------------------------------------------------------- 1 | import auMerc from "./auMerc.json"; 2 | import auMill from "./auMill.json"; 3 | 4 | export { auMerc, auMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Australia/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/australia", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Australia/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Austria/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/austria 2 | 3 | A collection of JvectorMap maps of Austria. 4 | 5 | Available Maps: 6 | 7 | - atMill 8 | - atMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/austria 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/austria 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { atMill } from '@react-jvectormap/austria'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import atMill from '@react-jvectormap/austria/dist/atMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Austria/index.js: -------------------------------------------------------------------------------- 1 | import atMerc from "./atMerc.json"; 2 | import atMill from "./atMill.json"; 3 | export { atMerc, atMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Austria/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Austria/index.ts: -------------------------------------------------------------------------------- 1 | import atMerc from "./atMerc.json"; 2 | import atMill from "./atMill.json"; 3 | 4 | export { atMerc, atMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Austria/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/austria", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Austria/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Belgium/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/belgium 2 | 3 | A collection of JvectorMap maps of Belgium. 4 | 5 | Available Maps: 6 | 7 | - beMill 8 | - beMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/belgium 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/belgium 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { beMill } from '@react-jvectormap/belgium'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import beMill from '@react-jvectormap/belgium/dist/beMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Belgium/index.js: -------------------------------------------------------------------------------- 1 | import beMerc from "./beMerc.json"; 2 | import beMill from "./beMill.json"; 3 | export { beMerc, beMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Belgium/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Belgium/index.ts: -------------------------------------------------------------------------------- 1 | import beMerc from "./beMerc.json"; 2 | import beMill from "./beMill.json"; 3 | 4 | export { beMerc, beMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Belgium/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/belgium", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Belgium/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Brazil/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/brazil 2 | 3 | A collection of JvectorMap maps of Brazil. 4 | 5 | Available Maps: 6 | 7 | - brMill 8 | 9 | ## Installation: 10 | 11 | ``` 12 | yarn add @react-jvectormap/brazil 13 | ``` 14 | 15 | or: 16 | 17 | ``` 18 | npm install --save @react-jvectormap/brazil 19 | ``` 20 | 21 | ## Usage 22 | 23 | ``` 24 | import { brMill } from '@react-jvectormap/brazil'; 25 | ``` 26 | 27 | or: 28 | 29 | ``` 30 | import brMill from '@react-jvectormap/brazil/dist/brMill'; 31 | ``` 32 | -------------------------------------------------------------------------------- /packages/maps/Brazil/index.js: -------------------------------------------------------------------------------- 1 | import brMill from "./brMill.json"; 2 | export { brMill }; 3 | // attribution: https://raw.githubusercontent.com/paulofreitas/jvectormap-brazil-map 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Brazil/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,CAAC;AAElB,oFAAoF"} -------------------------------------------------------------------------------- /packages/maps/Brazil/index.ts: -------------------------------------------------------------------------------- 1 | import brMill from "./brMill.json"; 2 | 3 | export { brMill }; 4 | 5 | // attribution: https://raw.githubusercontent.com/paulofreitas/jvectormap-brazil-map 6 | -------------------------------------------------------------------------------- /packages/maps/Brazil/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/brazil", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Brazil/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Canada/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/canada 2 | 3 | A collection of JvectorMap maps of Canada. 4 | 5 | Available Maps: 6 | 7 | - caMill 8 | - caMerc 9 | - caLcc 10 | 11 | ## Installation: 12 | 13 | ``` 14 | yarn add @react-jvectormap/canada 15 | ``` 16 | 17 | or: 18 | 19 | ``` 20 | npm install --save @react-jvectormap/canada 21 | ``` 22 | 23 | ## Usage 24 | 25 | ``` 26 | import { caMill } from '@react-jvectormap/canada'; 27 | ``` 28 | 29 | or: 30 | 31 | ``` 32 | import caMill from '@react-jvectormap/canada/dist/caMill'; 33 | ``` 34 | -------------------------------------------------------------------------------- /packages/maps/Canada/index.js: -------------------------------------------------------------------------------- 1 | import caLcc from "./caLcc.json"; 2 | import caMerc from "./caMerc.json"; 3 | import caMill from "./caMill.json"; 4 | export { caLcc, caMerc, caMill }; 5 | //# sourceMappingURL=index.js.map 6 | -------------------------------------------------------------------------------- /packages/maps/Canada/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,cAAc,CAAC;AACjC,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Canada/index.ts: -------------------------------------------------------------------------------- 1 | import caLcc from "./caLcc.json"; 2 | import caMerc from "./caMerc.json"; 3 | import caMill from "./caMill.json"; 4 | 5 | export { caLcc, caMerc, caMill }; 6 | -------------------------------------------------------------------------------- /packages/maps/Canada/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/canada", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Canada/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Chicago/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/chicago 2 | 3 | A collection of JvectorMap maps of Chicago. 4 | 5 | Available Maps: 6 | 7 | - usIlChicagoMill 8 | - usIlChicagoMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/chicago 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/chicago 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { usIlChicagoMill } from '@react-jvectormap/chicago'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import usIlChicagoMill from '@react-jvectormap/chicago/dist/usIlChicagoMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Chicago/index.js: -------------------------------------------------------------------------------- 1 | import usIlChicagoMerc from "./usIlChicagoMerc.json"; 2 | import usIlChicagoMill from "./usIlChicagoMill.json"; 3 | export { usIlChicagoMerc, usIlChicagoMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Chicago/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,wBAAwB,CAAC;AACrD,OAAO,eAAe,MAAM,wBAAwB,CAAC;AAErD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Chicago/index.ts: -------------------------------------------------------------------------------- 1 | import usIlChicagoMerc from "./usIlChicagoMerc.json"; 2 | import usIlChicagoMill from "./usIlChicagoMill.json"; 3 | 4 | export { usIlChicagoMerc, usIlChicagoMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Chicago/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/chicago", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Chicago/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/China/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/china 2 | 3 | A collection of JvectorMap maps of China. 4 | 5 | Available Maps: 6 | 7 | - cnMill 8 | - cnMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/china 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/china 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { cnMill } from '@react-jvectormap/china'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import cnMill from '@react-jvectormap/china/dist/cnMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/China/index.js: -------------------------------------------------------------------------------- 1 | import cnMerc from "./cnMerc.json"; 2 | import cnMill from "./cnMill.json"; 3 | export { cnMerc, cnMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/China/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/China/index.ts: -------------------------------------------------------------------------------- 1 | import cnMerc from "./cnMerc.json"; 2 | import cnMill from "./cnMill.json"; 3 | 4 | export { cnMerc, cnMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/China/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/china", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/China/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Colombia/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/colombia 2 | 3 | A collection of JvectorMap maps of Colombia. 4 | 5 | Available Maps: 6 | 7 | - coMill 8 | - coMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/colombia 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/colombia 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { coMill } from '@react-jvectormap/colombia'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import coMill from '@react-jvectormap/colombia/dist/coMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Colombia/index.js: -------------------------------------------------------------------------------- 1 | import coMerc from "./coMerc.json"; 2 | import coMill from "./coMill.json"; 3 | export { coMerc, coMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Colombia/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Colombia/index.ts: -------------------------------------------------------------------------------- 1 | import coMerc from "./coMerc.json"; 2 | import coMill from "./coMill.json"; 3 | 4 | export { coMerc, coMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Colombia/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/colombia", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Colombia/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Continents/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/continents 2 | 3 | A collection of JvectorMap maps of Continents. 4 | 5 | Available Maps: 6 | 7 | - continentsMill 8 | - continentsMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/continents 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/continents 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { continentsMill } from '@react-jvectormap/continents'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import continentsMill from '@react-jvectormap/continents/dist/continentsMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Continents/index.js: -------------------------------------------------------------------------------- 1 | import continentsMerc from "./continentsMerc.json"; 2 | import continentsMill from "./continentsMill.json"; 3 | export { continentsMerc, continentsMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Continents/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,uBAAuB,CAAC;AACnD,OAAO,cAAc,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Continents/index.ts: -------------------------------------------------------------------------------- 1 | import continentsMerc from "./continentsMerc.json"; 2 | import continentsMill from "./continentsMill.json"; 3 | 4 | export { continentsMerc, continentsMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Continents/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/continents", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Continents/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Denmark/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/denmark 2 | 3 | A collection of JvectorMap maps of Denmark. 4 | 5 | Available Maps: 6 | 7 | - dkMill 8 | - dkMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/denmark 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/denmark 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { dkMill } from '@react-jvectormap/denmark'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import dkMill from '@react-jvectormap/denmark/dist/dkMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Denmark/index.js: -------------------------------------------------------------------------------- 1 | import dkMerc from "./dkMerc.json"; 2 | import dkMill from "./dkMill.json"; 3 | export { dkMerc, dkMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Denmark/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Denmark/index.ts: -------------------------------------------------------------------------------- 1 | import dkMerc from "./dkMerc.json"; 2 | import dkMill from "./dkMill.json"; 3 | 4 | export { dkMerc, dkMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Denmark/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/denmark", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Denmark/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Europe/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/europe 2 | 3 | A collection of JvectorMap maps of Europe. 4 | 5 | Available Maps: 6 | 7 | - europeMill 8 | - europeMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/europe 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/europe 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { europeMill } from '@react-jvectormap/europe'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import europeMill from '@react-jvectormap/europe/dist/europeMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Europe/index.js: -------------------------------------------------------------------------------- 1 | import europeMerc from "./europeMerc.json"; 2 | import europeMill from "./europeMill.json"; 3 | export { europeMerc, europeMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Europe/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAC3C,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Europe/index.ts: -------------------------------------------------------------------------------- 1 | import europeMerc from "./europeMerc.json"; 2 | import europeMill from "./europeMill.json"; 3 | 4 | export { europeMerc, europeMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Europe/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/europe", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Europe/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/France/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/france 2 | 3 | A collection of JvectorMap maps of France. 4 | 5 | Available Maps: 6 | 7 | - frMill 8 | - frMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/france 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/france 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { frMill } from '@react-jvectormap/france'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import frMill from '@react-jvectormap/france/dist/frMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/France/index.js: -------------------------------------------------------------------------------- 1 | import frMerc from "./frMerc.json"; 2 | import frMill from "./frMill.json"; 3 | export { frMerc, frMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/France/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/France/index.ts: -------------------------------------------------------------------------------- 1 | import frMerc from "./frMerc.json"; 2 | import frMill from "./frMill.json"; 3 | 4 | export { frMerc, frMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/France/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/france", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/France/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/FranceRegions/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/franceregions 2 | 3 | A collection of JvectorMap maps of FranceRegions. 4 | 5 | Available Maps: 6 | 7 | - frRegionsMill 8 | - frRegionsMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/franceregions 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/franceregions 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { frRegionsMill } from '@react-jvectormap/franceregions'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import frRegionsMill from '@react-jvectormap/franceregions/dist/frRegionsMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/FranceRegions/index.js: -------------------------------------------------------------------------------- 1 | import frRegionsMerc from "./frRegionsMerc.json"; 2 | import frRegionsMill from "./frRegionsMill.json"; 3 | export { frRegionsMerc, frRegionsMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/FranceRegions/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,sBAAsB,CAAC;AACjD,OAAO,aAAa,MAAM,sBAAsB,CAAC;AAEjD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/FranceRegions/index.ts: -------------------------------------------------------------------------------- 1 | import frRegionsMerc from "./frRegionsMerc.json"; 2 | import frRegionsMill from "./frRegionsMill.json"; 3 | 4 | export { frRegionsMerc, frRegionsMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/FranceRegions/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/franceregions", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/FranceRegions/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/FranceRegions2016/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/franceregions2016 2 | 3 | A collection of JvectorMap maps of France Regions 2016. 4 | 5 | Available Maps: 6 | 7 | - frRegions_2016Mill 8 | - frRegions_2016Merc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/franceregions2016 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/franceregions2016 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { frRegions_2016Mill } from '@react-jvectormap/franceregions2016'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import frRegions_2016Mill from '@react-jvectormap/franceregions2016/dist/frRegions_2016Mill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/FranceRegions2016/index.js: -------------------------------------------------------------------------------- 1 | import frRegions_2016Merc from "./frRegions_2016Merc.json"; 2 | import frRegions_2016Mill from "./frRegions_2016Mill.json"; 3 | export { frRegions_2016Merc, frRegions_2016Mill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/FranceRegions2016/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,2BAA2B,CAAC;AAC3D,OAAO,kBAAkB,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/FranceRegions2016/index.ts: -------------------------------------------------------------------------------- 1 | import frRegions_2016Merc from "./frRegions_2016Merc.json"; 2 | import frRegions_2016Mill from "./frRegions_2016Mill.json"; 3 | 4 | export { frRegions_2016Merc, frRegions_2016Mill }; 5 | -------------------------------------------------------------------------------- /packages/maps/FranceRegions2016/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/franceregions2016", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/FranceRegions2016/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Germany/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/germany 2 | 3 | A collection of JvectorMap maps of Germany. 4 | 5 | Available Maps: 6 | 7 | - deMill 8 | - deMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/germany 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/germany 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { deMill } from '@react-jvectormap/germany'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import deMill from '@react-jvectormap/germany/dist/deMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Germany/index.js: -------------------------------------------------------------------------------- 1 | import deMerc from "./deMerc.json"; 2 | import deMill from "./deMill.json"; 3 | export { deMerc, deMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Germany/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Germany/index.ts: -------------------------------------------------------------------------------- 1 | import deMerc from "./deMerc.json"; 2 | import deMill from "./deMill.json"; 3 | 4 | export { deMerc, deMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Germany/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/germany", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Germany/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/India/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/india 2 | 3 | A collection of JvectorMap maps of India. 4 | 5 | Available Maps: 6 | 7 | - inMill 8 | - inMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/india 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/india 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { inMill } from '@react-jvectormap/india'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import inMill from '@react-jvectormap/india/dist/inMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/India/index.js: -------------------------------------------------------------------------------- 1 | import inMerc from "./inMerc.json"; 2 | import inMill from "./inMill.json"; 3 | export { inMerc, inMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/India/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/India/index.ts: -------------------------------------------------------------------------------- 1 | import inMerc from "./inMerc.json"; 2 | import inMill from "./inMill.json"; 3 | 4 | export { inMerc, inMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/India/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/india", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/India/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Indonesia/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/indonesia 2 | 3 | A collection of JvectorMap maps of Indonesia. 4 | 5 | Available Maps: 6 | 7 | - idnMerc 8 | 9 | ## Installation: 10 | 11 | ``` 12 | yarn add @react-jvectormap/indonesia 13 | ``` 14 | 15 | or: 16 | 17 | ``` 18 | npm install --save @react-jvectormap/indonesia 19 | ``` 20 | 21 | ## Usage 22 | 23 | ``` 24 | import { idnMerc } from '@react-jvectormap/indonesia'; 25 | ``` 26 | 27 | or: 28 | 29 | ``` 30 | import idnMerc from '@react-jvectormap/indonesia/dist/idnMerc'; 31 | ``` 32 | -------------------------------------------------------------------------------- /packages/maps/Indonesia/index.ts: -------------------------------------------------------------------------------- 1 | import idnMerc from "./idnMerc.json"; 2 | 3 | export { idnMerc }; 4 | -------------------------------------------------------------------------------- /packages/maps/Indonesia/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/indonesia", 3 | "version": "2.0.0", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Indonesia/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Iran/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/iran 2 | 3 | A collection of JvectorMap maps of Iran. 4 | 5 | Available Maps: 6 | 7 | - iranMill 8 | 9 | ## Installation: 10 | 11 | ``` 12 | yarn add @react-jvectormap/iran 13 | ``` 14 | 15 | or: 16 | 17 | ``` 18 | npm install --save @react-jvectormap/iran 19 | ``` 20 | 21 | ## Usage 22 | 23 | ``` 24 | import { iranMill } from '@react-jvectormap/iran'; 25 | ``` 26 | 27 | or: 28 | 29 | ``` 30 | import iranMill from '@react-jvectormap/iran/dist/iranMill'; 31 | ``` 32 | -------------------------------------------------------------------------------- /packages/maps/Iran/index.js: -------------------------------------------------------------------------------- 1 | import iranMill from "./iranMill.json"; 2 | export { iranMill }; 3 | // attribution: https://github.com/soroush897/iran_jvectormap 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Iran/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB,6DAA6D"} -------------------------------------------------------------------------------- /packages/maps/Iran/index.ts: -------------------------------------------------------------------------------- 1 | import iranMill from "./iranMill.json"; 2 | 3 | export { iranMill }; 4 | 5 | // attribution: https://github.com/soroush897/iran_jvectormap 6 | -------------------------------------------------------------------------------- /packages/maps/Iran/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/iran", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Iran/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Italy/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/italy 2 | 3 | A collection of JvectorMap maps of Italy. 4 | 5 | Available Maps: 6 | 7 | - itMill 8 | - itMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/italy 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/italy 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { itMill } from '@react-jvectormap/italy'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import itMill from '@react-jvectormap/italy/dist/itMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Italy/index.js: -------------------------------------------------------------------------------- 1 | import itMerc from "./itMerc.json"; 2 | import itMill from "./itMill.json"; 3 | export { itMerc, itMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Italy/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Italy/index.ts: -------------------------------------------------------------------------------- 1 | import itMerc from "./itMerc.json"; 2 | import itMill from "./itMill.json"; 3 | 4 | export { itMerc, itMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Italy/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/italy", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Italy/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/ItalyRegions/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/italyregions 2 | 3 | A collection of JvectorMap maps of ItalyRegions. 4 | 5 | Available Maps: 6 | 7 | - itRegionsMill 8 | - itRegionsMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/italyregions 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/italyregions 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { itRegionsMill } from '@react-jvectormap/italyregions'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import itRegionsMill from '@react-jvectormap/italyregions/dist/itRegionsMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/ItalyRegions/index.js: -------------------------------------------------------------------------------- 1 | import itRegionsMerc from "./itRegionsMerc.json"; 2 | import itRegionsMill from "./itRegionsMill.json"; 3 | export { itRegionsMerc, itRegionsMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/ItalyRegions/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,sBAAsB,CAAC;AACjD,OAAO,aAAa,MAAM,sBAAsB,CAAC;AAEjD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/ItalyRegions/index.ts: -------------------------------------------------------------------------------- 1 | import itRegionsMerc from "./itRegionsMerc.json"; 2 | import itRegionsMill from "./itRegionsMill.json"; 3 | 4 | export { itRegionsMerc, itRegionsMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/ItalyRegions/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/italyregions", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/ItalyRegions/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Netherlands/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/netherlands 2 | 3 | A collection of JvectorMap maps of Netherlands. 4 | 5 | Available Maps: 6 | 7 | - nlMill 8 | - nlMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/netherlands 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/netherlands 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { nlMill } from '@react-jvectormap/netherlands'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import nlMill from '@react-jvectormap/netherlands/dist/nlMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Netherlands/index.js: -------------------------------------------------------------------------------- 1 | import nlMerc from "./nlMerc.json"; 2 | import nlMill from "./nlMill.json"; 3 | export { nlMerc, nlMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Netherlands/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Netherlands/index.ts: -------------------------------------------------------------------------------- 1 | import nlMerc from "./nlMerc.json"; 2 | import nlMill from "./nlMill.json"; 3 | 4 | export { nlMerc, nlMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Netherlands/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/netherlands", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Netherlands/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/NewYork/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/newyork 2 | 3 | A collection of JvectorMap maps of NewYork. 4 | 5 | Available Maps: 6 | 7 | - usNyNewYorkMill 8 | - usNyNewYorkMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/newyork 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/newyork 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { usNyNewYorkMill } from '@react-jvectormap/newyork'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import usNyNewYorkMill from '@react-jvectormap/newyork/dist/usNyNewYorkMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/NewYork/index.js: -------------------------------------------------------------------------------- 1 | import usNyNewYorkMerc from "./usNyNewYorkMerc.json"; 2 | import usNyNewYorkMill from "./usNyNewYorkMill.json"; 3 | export { usNyNewYorkMerc, usNyNewYorkMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/NewYork/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,wBAAwB,CAAC;AACrD,OAAO,eAAe,MAAM,wBAAwB,CAAC;AAErD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/NewYork/index.ts: -------------------------------------------------------------------------------- 1 | import usNyNewYorkMerc from "./usNyNewYorkMerc.json"; 2 | import usNyNewYorkMill from "./usNyNewYorkMill.json"; 3 | 4 | export { usNyNewYorkMerc, usNyNewYorkMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/NewYork/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/newyork", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/NewYork/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/NewZealand/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/newzealand 2 | 3 | A collection of JvectorMap maps of New Zealand. 4 | 5 | Available Maps: 6 | 7 | - nzMill 8 | - nzMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/newzealand 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/newzealand 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { nzMill } from '@react-jvectormap/newzealand'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import nzMill from '@react-jvectormap/newzealand/dist/nzMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/NewZealand/index.js: -------------------------------------------------------------------------------- 1 | import nzMerc from "./nzMerc.json"; 2 | import nzMill from "./nzMill.json"; 3 | export { nzMerc, nzMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/NewZealand/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/NewZealand/index.ts: -------------------------------------------------------------------------------- 1 | import nzMerc from "./nzMerc.json"; 2 | import nzMill from "./nzMill.json"; 3 | 4 | export { nzMerc, nzMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/NewZealand/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/newzealand", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/NewZealand/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/NorthAmerica/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/northamerica 2 | 3 | A collection of JvectorMap maps of North America. 4 | 5 | Available Maps: 6 | 7 | - northAmericaMill 8 | - northAmericaMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/northamerica 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/northamerica 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { northAmericaMill } from '@react-jvectormap/northamerica'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import northAmericaMill from '@react-jvectormap/northamerica/dist/northAmericaMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/NorthAmerica/index.js: -------------------------------------------------------------------------------- 1 | import northAmericaMerc from "./northAmericaMerc.json"; 2 | import northAmericaMill from "./northAmericaMill.json"; 3 | export { northAmericaMerc, northAmericaMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/NorthAmerica/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,yBAAyB,CAAC;AACvD,OAAO,gBAAgB,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/NorthAmerica/index.ts: -------------------------------------------------------------------------------- 1 | import northAmericaMerc from "./northAmericaMerc.json"; 2 | import northAmericaMill from "./northAmericaMill.json"; 3 | 4 | export { northAmericaMerc, northAmericaMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/NorthAmerica/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/northamerica", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/NorthAmerica/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Norway/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/norway 2 | 3 | A collection of JvectorMap maps of Norway. 4 | 5 | Available Maps: 6 | 7 | - noMill 8 | - noMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/norway 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/norway 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { noMill } from '@react-jvectormap/norway'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import noMill from '@react-jvectormap/norway/dist/noMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Norway/index.js: -------------------------------------------------------------------------------- 1 | import noMerc from "./noMerc.json"; 2 | import noMill from "./noMill.json"; 3 | export { noMerc, noMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Norway/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Norway/index.ts: -------------------------------------------------------------------------------- 1 | import noMerc from "./noMerc.json"; 2 | import noMill from "./noMill.json"; 3 | 4 | export { noMerc, noMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Norway/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/norway", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Norway/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Oceania/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/oceania 2 | 3 | A collection of JvectorMap maps of Oceania. 4 | 5 | Available Maps: 6 | 7 | - oceaniaMill 8 | - oceaniaMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/oceania 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/oceania 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { oceaniaMill } from '@react-jvectormap/oceania'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import oceaniaMill from '@react-jvectormap/oceania/dist/oceaniaMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Oceania/index.js: -------------------------------------------------------------------------------- 1 | import oceaniaMerc from "./oceaniaMerc.json"; 2 | import oceaniaMill from "./oceaniaMill.json"; 3 | export { oceaniaMerc, oceaniaMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Oceania/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Oceania/index.ts: -------------------------------------------------------------------------------- 1 | import oceaniaMerc from "./oceaniaMerc.json"; 2 | import oceaniaMill from "./oceaniaMill.json"; 3 | 4 | export { oceaniaMerc, oceaniaMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Oceania/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/oceania", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Oceania/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Poland/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/poland 2 | 3 | A collection of JvectorMap maps of Poland. 4 | 5 | Available Maps: 6 | 7 | - plMill 8 | - plMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/poland 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/poland 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { plMill } from '@react-jvectormap/poland'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import plMill from '@react-jvectormap/poland/dist/plMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Poland/index.js: -------------------------------------------------------------------------------- 1 | import plMerc from "./plMerc.json"; 2 | import plMill from "./plMill.json"; 3 | export { plMerc, plMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Poland/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Poland/index.ts: -------------------------------------------------------------------------------- 1 | import plMerc from "./plMerc.json"; 2 | import plMill from "./plMill.json"; 3 | 4 | export { plMerc, plMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Poland/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/poland", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Poland/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Portugal/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/portugal 2 | 3 | A collection of JvectorMap maps of Portugal. 4 | 5 | Available Maps: 6 | 7 | - ptMill 8 | - ptMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/portugal 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/portugal 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { ptMill } from '@react-jvectormap/portugal'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import ptMill from '@react-jvectormap/portugal/dist/ptMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Portugal/index.js: -------------------------------------------------------------------------------- 1 | import ptMerc from "./ptMerc.json"; 2 | import ptMill from "./ptMill.json"; 3 | export { ptMerc, ptMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Portugal/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Portugal/index.ts: -------------------------------------------------------------------------------- 1 | import ptMerc from "./ptMerc.json"; 2 | import ptMill from "./ptMill.json"; 3 | 4 | export { ptMerc, ptMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Portugal/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/portugal", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Portugal/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/PuertoRico/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/puertorico 2 | 3 | A collection of JvectorMap maps of Puerto Rico. 4 | 5 | Available Maps: 6 | 7 | - puertoRico 8 | 9 | ## Installation: 10 | 11 | ``` 12 | yarn add @react-jvectormap/puertorico 13 | ``` 14 | 15 | or: 16 | 17 | ``` 18 | npm install --save @react-jvectormap/puertorico 19 | ``` 20 | 21 | ## Usage 22 | 23 | ``` 24 | import { puertoRico } from '@react-jvectormap/puertorico'; 25 | ``` 26 | 27 | or: 28 | 29 | ``` 30 | import puertoRico from '@react-jvectormap/puertorico/dist/puertoRico'; 31 | ``` 32 | -------------------------------------------------------------------------------- /packages/maps/PuertoRico/index.js: -------------------------------------------------------------------------------- 1 | import puertoRico from "./puertoRico.json"; 2 | export { puertoRico }; 3 | //# sourceMappingURL=index.js.map 4 | -------------------------------------------------------------------------------- /packages/maps/PuertoRico/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/PuertoRico/index.ts: -------------------------------------------------------------------------------- 1 | import puertoRico from "./puertoRico.json"; 2 | 3 | export { puertoRico }; 4 | -------------------------------------------------------------------------------- /packages/maps/PuertoRico/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/puertorico", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/PuertoRico/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Russia/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/russia 2 | 3 | A collection of JvectorMap maps of Russia. 4 | 5 | Available Maps: 6 | 7 | - ruMill 8 | - ruMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/russia 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/russia 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { ruMill } from '@react-jvectormap/russia'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import ruMill from '@react-jvectormap/russia/dist/ruMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Russia/index.js: -------------------------------------------------------------------------------- 1 | import ruMerc from "./ruMerc.json"; 2 | import ruMill from "./ruMill.json"; 3 | export { ruMerc, ruMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Russia/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Russia/index.ts: -------------------------------------------------------------------------------- 1 | import ruMerc from "./ruMerc.json"; 2 | import ruMill from "./ruMill.json"; 3 | 4 | export { ruMerc, ruMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Russia/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/russia", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Russia/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/RussiaFederalDistricts/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/russiafederaldistricts 2 | 3 | A collection of JvectorMap maps of Russia Federal Districts. 4 | 5 | Available Maps: 6 | 7 | - ruFdMill 8 | - ruFdMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/russiafederaldistricts 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/russiafederaldistricts 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { ruFdMill } from '@react-jvectormap/russiafederaldistricts'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import ruFdMill from '@react-jvectormap/russiafederaldistricts/dist/ruFdMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/RussiaFederalDistricts/index.js: -------------------------------------------------------------------------------- 1 | import ruFdMerc from "./ruFdMerc.json"; 2 | import ruFdMill from "./ruFdMill.json"; 3 | export { ruFdMerc, ruFdMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/RussiaFederalDistricts/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AACvC,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/RussiaFederalDistricts/index.ts: -------------------------------------------------------------------------------- 1 | import ruFdMerc from "./ruFdMerc.json"; 2 | import ruFdMill from "./ruFdMill.json"; 3 | 4 | export { ruFdMerc, ruFdMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/RussiaFederalDistricts/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/russiafederaldistricts", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/RussiaFederalDistricts/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/SouthAfrica/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/southafrica 2 | 3 | A collection of JvectorMap maps of SouthAfrica. 4 | 5 | Available Maps: 6 | 7 | - zaMill 8 | - zaMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/southafrica 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/southafrica 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { zaMill } from '@react-jvectormap/southafrica'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import zaMill from '@react-jvectormap/southafrica/dist/zaMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/SouthAfrica/index.js: -------------------------------------------------------------------------------- 1 | import zaMerc from "./zaMerc.json"; 2 | import zaMill from "./zaMill.json"; 3 | export { zaMerc, zaMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/SouthAfrica/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/SouthAfrica/index.ts: -------------------------------------------------------------------------------- 1 | import zaMerc from "./zaMerc.json"; 2 | import zaMill from "./zaMill.json"; 3 | 4 | export { zaMerc, zaMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/SouthAfrica/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/southafrica", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/SouthAfrica/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/SouthAmerica/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/southamerica 2 | 3 | A collection of JvectorMap maps of SouthAmerica. 4 | 5 | Available Maps: 6 | 7 | - southAmericaMill 8 | - southAmericaMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/southamerica 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/southamerica 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { southAmericaMill } from '@react-jvectormap/southamerica'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import southAmericaMill from '@react-jvectormap/southamerica/dist/southAmericaMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/SouthAmerica/index.js: -------------------------------------------------------------------------------- 1 | import southAmericaMerc from "./southAmericaMerc.json"; 2 | import southAmericaMill from "./southAmericaMill.json"; 3 | export { southAmericaMerc, southAmericaMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/SouthAmerica/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,yBAAyB,CAAC;AACvD,OAAO,gBAAgB,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/SouthAmerica/index.ts: -------------------------------------------------------------------------------- 1 | import southAmericaMerc from "./southAmericaMerc.json"; 2 | import southAmericaMill from "./southAmericaMill.json"; 3 | 4 | export { southAmericaMerc, southAmericaMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/SouthAmerica/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/southamerica", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/SouthAmerica/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/SouthKorea/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/southkorea 2 | 3 | A collection of JvectorMap maps of SouthKorea. 4 | 5 | Available Maps: 6 | 7 | - krMill 8 | - krMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/southkorea 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/southkorea 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { krMill } from '@react-jvectormap/southkorea'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import krMill from '@react-jvectormap/southkorea/dist/krMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/SouthKorea/index.js: -------------------------------------------------------------------------------- 1 | import krMerc from "./krMerc.json"; 2 | import krMill from "./krMill.json"; 3 | export { krMerc, krMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/SouthKorea/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/SouthKorea/index.ts: -------------------------------------------------------------------------------- 1 | import krMerc from "./krMerc.json"; 2 | import krMill from "./krMill.json"; 3 | 4 | export { krMerc, krMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/SouthKorea/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/southkorea", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/SouthKorea/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Spain/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/spain 2 | 3 | A collection of JvectorMap maps of Spain. 4 | 5 | Available Maps: 6 | 7 | - esMill 8 | - esMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/spain 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/spain 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { esMill } from '@react-jvectormap/spain'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import esMill from '@react-jvectormap/spain/dist/esMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Spain/index.js: -------------------------------------------------------------------------------- 1 | import esMerc from "./esMerc.json"; 2 | import esMill from "./esMill.json"; 3 | export { esMerc, esMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Spain/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Spain/index.ts: -------------------------------------------------------------------------------- 1 | import esMerc from "./esMerc.json"; 2 | import esMill from "./esMill.json"; 3 | 4 | export { esMerc, esMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Spain/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/spain", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Spain/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Sweden/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/sweden 2 | 3 | A collection of JvectorMap maps of Sweden. 4 | 5 | Available Maps: 6 | 7 | - seMill 8 | - seMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/sweden 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/sweden 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { seMill } from '@react-jvectormap/sweden'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import seMill from '@react-jvectormap/sweden/dist/seMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Sweden/index.js: -------------------------------------------------------------------------------- 1 | import seMerc from "./seMerc.json"; 2 | import seMill from "./seMill.json"; 3 | export { seMerc, seMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Sweden/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Sweden/index.ts: -------------------------------------------------------------------------------- 1 | import seMerc from "./seMerc.json"; 2 | import seMill from "./seMill.json"; 3 | 4 | export { seMerc, seMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Sweden/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/sweden", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Sweden/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Switzerland/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/switzerland 2 | 3 | A collection of JvectorMap maps of Switzerland. 4 | 5 | Available Maps: 6 | 7 | - chMill 8 | - chMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/switzerland 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/switzerland 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { chMill } from '@react-jvectormap/switzerland'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import chMill from '@react-jvectormap/switzerland/dist/chMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Switzerland/index.js: -------------------------------------------------------------------------------- 1 | import chMerc from "./chMerc.json"; 2 | import chMill from "./chMill.json"; 3 | export { chMerc, chMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Switzerland/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Switzerland/index.ts: -------------------------------------------------------------------------------- 1 | import chMerc from "./chMerc.json"; 2 | import chMill from "./chMill.json"; 3 | 4 | export { chMerc, chMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Switzerland/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/switzerland", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Switzerland/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Thailand/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/thailand 2 | 3 | A collection of JvectorMap maps of Thailand. 4 | 5 | Available Maps: 6 | 7 | - thMill 8 | - thMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/thailand 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/thailand 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { thMill } from '@react-jvectormap/thailand'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import thMill from '@react-jvectormap/thailand/dist/thMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Thailand/index.js: -------------------------------------------------------------------------------- 1 | import thMerc from "./thMerc.json"; 2 | import thMill from "./thMill.json"; 3 | export { thMerc, thMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Thailand/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Thailand/index.ts: -------------------------------------------------------------------------------- 1 | import thMerc from "./thMerc.json"; 2 | import thMill from "./thMill.json"; 3 | 4 | export { thMerc, thMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Thailand/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/thailand", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Thailand/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Turkey/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/turkey 2 | 3 | A collection of JvectorMap maps of Turkey. 4 | 5 | Available Maps: 6 | 7 | - trMill 8 | 9 | ## Installation: 10 | 11 | ``` 12 | yarn add @react-jvectormap/turkey 13 | ``` 14 | 15 | or: 16 | 17 | ``` 18 | npm install --save @react-jvectormap/turkey 19 | ``` 20 | 21 | ## Usage 22 | 23 | ``` 24 | import { trMill } from '@react-jvectormap/turkey'; 25 | ``` 26 | 27 | or: 28 | 29 | ``` 30 | import trMill from '@react-jvectormap/turkey/dist/trMill'; 31 | ``` 32 | 33 | ## Attribution 34 | 35 | https://github.com/cbilgili/jVectorMap-Turkey 36 | -------------------------------------------------------------------------------- /packages/maps/Turkey/index.ts: -------------------------------------------------------------------------------- 1 | import trMill from "./trMill.json"; 2 | 3 | export { trMill }; 4 | -------------------------------------------------------------------------------- /packages/maps/Turkey/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/turkey", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Turkey/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/UkRegions/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/ukregions 2 | 3 | A collection of JvectorMap maps of UkRegions. 4 | 5 | Available Maps: 6 | 7 | - ukRegionsMill 8 | - ukRegionsMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/ukregions 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/ukregions 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { ukRegionsMill } from '@react-jvectormap/ukregions'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import ukRegionsMill from '@react-jvectormap/ukregions/dist/ukRegionsMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/UkRegions/index.js: -------------------------------------------------------------------------------- 1 | import ukRegionsMerc from "./ukRegionsMerc.json"; 2 | import ukRegionsMill from "./ukRegionsMill.json"; 3 | export { ukRegionsMerc, ukRegionsMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/UkRegions/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,sBAAsB,CAAC;AACjD,OAAO,aAAa,MAAM,sBAAsB,CAAC;AAEjD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/UkRegions/index.ts: -------------------------------------------------------------------------------- 1 | import ukRegionsMerc from "./ukRegionsMerc.json"; 2 | import ukRegionsMill from "./ukRegionsMill.json"; 3 | 4 | export { ukRegionsMerc, ukRegionsMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/UkRegions/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/ukregions", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/UkRegions/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/UnitedKingdomCountries/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/unitedkingdomcountries 2 | 3 | A collection of JvectorMap maps of United Kingdom Countries. 4 | 5 | Available Maps: 6 | 7 | - ukCountriesMill 8 | - ukCountriesMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/unitedkingdomcountries 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/unitedkingdomcountries 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { ukCountriesMill } from '@react-jvectormap/unitedkingdomcountries'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import ukCountriesMill from '@react-jvectormap/unitedkingdomcountries/dist/ukCountriesMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/UnitedKingdomCountries/index.js: -------------------------------------------------------------------------------- 1 | import ukCountriesMerc from "./ukCountriesMerc.json"; 2 | import ukCountriesMill from "./ukCountriesMill.json"; 3 | export { ukCountriesMerc, ukCountriesMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/UnitedKingdomCountries/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,wBAAwB,CAAC;AACrD,OAAO,eAAe,MAAM,wBAAwB,CAAC;AAErD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/UnitedKingdomCountries/index.ts: -------------------------------------------------------------------------------- 1 | import ukCountriesMerc from "./ukCountriesMerc.json"; 2 | import ukCountriesMill from "./ukCountriesMill.json"; 3 | 4 | export { ukCountriesMerc, ukCountriesMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/UnitedKingdomCountries/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/unitedkingdomcountries", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/UnitedKingdomCountries/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/UnitedStates/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/unitedstates 2 | 3 | A collection of JvectorMap maps of United States. 4 | 5 | Available Maps: 6 | 7 | - useMerc 8 | - usMill 9 | - usLcc 10 | - usAea 11 | 12 | ## Installation: 13 | 14 | ``` 15 | yarn add @react-jvectormap/unitedstates 16 | ``` 17 | 18 | or: 19 | 20 | ``` 21 | npm install --save @react-jvectormap/unitedstates 22 | ``` 23 | 24 | ## Usage 25 | 26 | ``` 27 | import { useMerc } from '@react-jvectormap/unitedstates'; 28 | ``` 29 | 30 | or: 31 | 32 | ``` 33 | import useMerc from '@react-jvectormap/unitedstates/dist/useMerc'; 34 | ``` 35 | -------------------------------------------------------------------------------- /packages/maps/UnitedStates/index.js: -------------------------------------------------------------------------------- 1 | import usAea from "./usAea.json"; 2 | import usLcc from "./usLcc.json"; 3 | import usMill from "./usMill.json"; 4 | import usMerc from "./useMerc.json"; 5 | export { usAea, usLcc, usMill, usMerc }; 6 | //# sourceMappingURL=index.js.map 7 | -------------------------------------------------------------------------------- /packages/maps/UnitedStates/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,MAAM,cAAc,CAAC;AACjC,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,gBAAgB,CAAC;AAEpC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/UnitedStates/index.ts: -------------------------------------------------------------------------------- 1 | import usAea from "./usAea.json"; 2 | import usLcc from "./usLcc.json"; 3 | import usMill from "./usMill.json"; 4 | import usMerc from "./useMerc.json"; 5 | 6 | export { usAea, usLcc, usMill, usMerc }; 7 | -------------------------------------------------------------------------------- /packages/maps/UnitedStates/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/unitedstates", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/UnitedStates/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/Venezuela/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/venezuela 2 | 3 | A collection of JvectorMap maps of Venezuela. 4 | 5 | Available Maps: 6 | 7 | - veMill 8 | - veMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/venezuela 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/venezuela 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { veMill } from '@react-jvectormap/venezuela'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import veMill from '@react-jvectormap/venezuela/dist/veMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/Venezuela/index.js: -------------------------------------------------------------------------------- 1 | import veMerc from "./veMerc.json"; 2 | import veMill from "./veMill.json"; 3 | export { veMerc, veMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/Venezuela/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,MAAM,MAAM,eAAe,CAAC;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/Venezuela/index.ts: -------------------------------------------------------------------------------- 1 | import veMerc from "./veMerc.json"; 2 | import veMill from "./veMill.json"; 3 | 4 | export { veMerc, veMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/Venezuela/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/venezuela", 3 | "version": "1.0.1", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/Venezuela/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/World/README.md: -------------------------------------------------------------------------------- 1 | # @react-jvectormap/world 2 | 3 | A collection of JvectorMap maps of World. 4 | 5 | Available Maps: 6 | 7 | - worldMill 8 | - worldMerc 9 | 10 | ## Installation: 11 | 12 | ``` 13 | yarn add @react-jvectormap/world 14 | ``` 15 | 16 | or: 17 | 18 | ``` 19 | npm install --save @react-jvectormap/world 20 | ``` 21 | 22 | ## Usage 23 | 24 | ``` 25 | import { worldMill } from '@react-jvectormap/world'; 26 | ``` 27 | 28 | or: 29 | 30 | ``` 31 | import worldMill from '@react-jvectormap/world/dist/worldMill'; 32 | ``` 33 | -------------------------------------------------------------------------------- /packages/maps/World/index.js: -------------------------------------------------------------------------------- 1 | import worldMerc from "./worldMerc.json"; 2 | import worldMill from "./worldMill.json"; 3 | export { worldMerc, worldMill }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /packages/maps/World/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,OAAO,SAAS,MAAM,kBAAkB,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC"} -------------------------------------------------------------------------------- /packages/maps/World/index.ts: -------------------------------------------------------------------------------- 1 | import worldMerc from "./worldMerc.json"; 2 | import worldMill from "./worldMill.json"; 3 | 4 | export { worldMerc, worldMill }; 5 | -------------------------------------------------------------------------------- /packages/maps/World/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@react-jvectormap/world", 3 | "version": "1.1.2", 4 | "main": "dist/index.js", 5 | "sideEffects": false, 6 | "license": "MIT", 7 | "scripts": { 8 | "build": "rimraf dist && tsc" 9 | }, 10 | "publishConfig": { 11 | "access": "public" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/maps/World/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "dist", 5 | "rootDir": "." 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/maps/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"} -------------------------------------------------------------------------------- /packages/maps/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "declaration": true, 5 | "declarationDir": "dist", 6 | "emitDeclarationOnly": false, 7 | "resolveJsonModule": true, 8 | "esModuleInterop": true 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /scripts/map-scraper/node_modules/.yarn-integrity: -------------------------------------------------------------------------------- 1 | { 2 | "systemParams": "darwin-x64-83", 3 | "modulesFolders": [ 4 | "node_modules" 5 | ], 6 | "flags": [], 7 | "linkedModules": [], 8 | "topLevelPatterns": [ 9 | "commander@^8.2.0" 10 | ], 11 | "lockfileEntries": { 12 | "commander@^8.2.0": "https://registry.yarnpkg.com/commander/-/commander-8.2.0.tgz#37fe2bde301d87d47a53adeff8b5915db1381ca8" 13 | }, 14 | "files": [], 15 | "artifacts": {} 16 | } -------------------------------------------------------------------------------- /scripts/map-scraper/node_modules/commander/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2011 TJ Holowaychuk 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /scripts/map-scraper/node_modules/commander/esm.mjs: -------------------------------------------------------------------------------- 1 | import commander from './index.js'; 2 | 3 | // wrapper to provide named exports for ESM. 4 | export const { 5 | program, 6 | createCommand, 7 | createArgument, 8 | createOption, 9 | CommanderError, 10 | InvalidArgumentError, 11 | Command, 12 | Argument, 13 | Option, 14 | Help 15 | } = commander; 16 | -------------------------------------------------------------------------------- /scripts/map-scraper/node_modules/commander/index.js: -------------------------------------------------------------------------------- 1 | const { Argument } = require('./lib/argument.js'); 2 | const { Command } = require('./lib/command.js'); 3 | const { CommanderError, InvalidArgumentError } = require('./lib/error.js'); 4 | const { Help } = require('./lib/help.js'); 5 | const { Option } = require('./lib/option.js'); 6 | 7 | // @ts-check 8 | 9 | /** 10 | * Expose the root command. 11 | */ 12 | 13 | exports = module.exports = new Command(); 14 | exports.program = exports; // More explicit access to global command. 15 | // Implicit export of createArgument, createCommand, and createOption. 16 | 17 | /** 18 | * Expose classes 19 | */ 20 | 21 | exports.Argument = Argument; 22 | exports.Command = Command; 23 | exports.CommanderError = CommanderError; 24 | exports.Help = Help; 25 | exports.InvalidArgumentError = InvalidArgumentError; 26 | exports.InvalidOptionArgumentError = InvalidArgumentError; // Deprecated 27 | exports.Option = Option; 28 | -------------------------------------------------------------------------------- /scripts/map-scraper/node_modules/commander/package-support.json: -------------------------------------------------------------------------------- 1 | { 2 | "versions": [ 3 | { 4 | "version": "*", 5 | "target": { 6 | "node": "supported" 7 | }, 8 | "response": { 9 | "type": "time-permitting" 10 | }, 11 | "backing": { 12 | "npm-funding": true 13 | } 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /scripts/map-scraper/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "map-scraper", 3 | "version": "1.0.0", 4 | "main": "index.js", 5 | "license": "MIT", 6 | "dependencies": { 7 | "commander": "^8.2.0" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /scripts/map-scraper/yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | commander@^8.2.0: 6 | version "8.2.0" 7 | resolved "https://registry.yarnpkg.com/commander/-/commander-8.2.0.tgz#37fe2bde301d87d47a53adeff8b5915db1381ca8" 8 | integrity sha512-LLKxDvHeL91/8MIyTAD5BFMNtoIwztGPMiM/7Bl8rIPmHCZXRxmSWr91h57dpOpnQ6jIUqEWdXE/uBYMfiVZDA== 9 | -------------------------------------------------------------------------------- /scripts/story-maker/node_modules/.yarn-integrity: -------------------------------------------------------------------------------- 1 | { 2 | "systemParams": "darwin-x64-83", 3 | "modulesFolders": [ 4 | "node_modules" 5 | ], 6 | "flags": [], 7 | "linkedModules": [], 8 | "topLevelPatterns": [ 9 | "commander@^8.2.0" 10 | ], 11 | "lockfileEntries": { 12 | "commander@^8.2.0": "https://registry.yarnpkg.com/commander/-/commander-8.2.0.tgz#37fe2bde301d87d47a53adeff8b5915db1381ca8" 13 | }, 14 | "files": [], 15 | "artifacts": {} 16 | } -------------------------------------------------------------------------------- /scripts/story-maker/node_modules/commander/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2011 TJ Holowaychuk 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /scripts/story-maker/node_modules/commander/esm.mjs: -------------------------------------------------------------------------------- 1 | import commander from './index.js'; 2 | 3 | // wrapper to provide named exports for ESM. 4 | export const { 5 | program, 6 | createCommand, 7 | createArgument, 8 | createOption, 9 | CommanderError, 10 | InvalidArgumentError, 11 | Command, 12 | Argument, 13 | Option, 14 | Help 15 | } = commander; 16 | -------------------------------------------------------------------------------- /scripts/story-maker/node_modules/commander/index.js: -------------------------------------------------------------------------------- 1 | const { Argument } = require('./lib/argument.js'); 2 | const { Command } = require('./lib/command.js'); 3 | const { CommanderError, InvalidArgumentError } = require('./lib/error.js'); 4 | const { Help } = require('./lib/help.js'); 5 | const { Option } = require('./lib/option.js'); 6 | 7 | // @ts-check 8 | 9 | /** 10 | * Expose the root command. 11 | */ 12 | 13 | exports = module.exports = new Command(); 14 | exports.program = exports; // More explicit access to global command. 15 | // Implicit export of createArgument, createCommand, and createOption. 16 | 17 | /** 18 | * Expose classes 19 | */ 20 | 21 | exports.Argument = Argument; 22 | exports.Command = Command; 23 | exports.CommanderError = CommanderError; 24 | exports.Help = Help; 25 | exports.InvalidArgumentError = InvalidArgumentError; 26 | exports.InvalidOptionArgumentError = InvalidArgumentError; // Deprecated 27 | exports.Option = Option; 28 | -------------------------------------------------------------------------------- /scripts/story-maker/node_modules/commander/package-support.json: -------------------------------------------------------------------------------- 1 | { 2 | "versions": [ 3 | { 4 | "version": "*", 5 | "target": { 6 | "node": "supported" 7 | }, 8 | "response": { 9 | "type": "time-permitting" 10 | }, 11 | "backing": { 12 | "npm-funding": true 13 | } 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /scripts/story-maker/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "story-maker", 3 | "version": "1.0.0", 4 | "main": "index.js", 5 | "license": "MIT", 6 | "dependencies": { 7 | "commander": "^8.2.0" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /scripts/story-maker/yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | commander@^8.2.0: 6 | version "8.2.0" 7 | resolved "https://registry.yarnpkg.com/commander/-/commander-8.2.0.tgz#37fe2bde301d87d47a53adeff8b5915db1381ca8" 8 | integrity sha512-LLKxDvHeL91/8MIyTAD5BFMNtoIwztGPMiM/7Bl8rIPmHCZXRxmSWr91h57dpOpnQ6jIUqEWdXE/uBYMfiVZDA== 9 | -------------------------------------------------------------------------------- /stories/basic/MultiMap.stories.js: -------------------------------------------------------------------------------- 1 | import { MultiMap } from "@react-jvectormap/core"; 2 | import { usLcc } from "@react-jvectormap/unitedstates"; 3 | import { MultiMapTemplate } from "../components/MapContainer/MultiMapTemplate"; 4 | 5 | export default { 6 | title: "core/MultiMap", 7 | component: MultiMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const DrillDownUSMap = MultiMapTemplate.bind({}); 12 | 13 | DrillDownUSMap.args = { 14 | description: 15 | "Following is an example of a MultiMap. Click on Texas map to drill down.", 16 | main: { 17 | map: usLcc, 18 | }, 19 | mapUrlByCode: function (code, multiMap) { 20 | return `/us-counties/jquery-jvectormap-data-${code.toLowerCase()}-${ 21 | multiMap.defaultProjection 22 | }-en.json`; 23 | }, 24 | }; 25 | -------------------------------------------------------------------------------- /stories/basic/VectorMapExamples/DynamicRegionStyle.js: -------------------------------------------------------------------------------- 1 | import { worldMill } from "@react-jvectormap/world"; 2 | import { initial, hover } from "./data/USStatetsColors"; 3 | 4 | export default { 5 | map: worldMill, 6 | regionStyle: (code) => ({ 7 | initial: { 8 | fill: initial[code], 9 | }, 10 | hover: { 11 | fill: hover[code], 12 | }, 13 | }), 14 | }; 15 | -------------------------------------------------------------------------------- /stories/basic/VectorMapExamples/FocusOnCountries.js: -------------------------------------------------------------------------------- 1 | import { worldMerc } from "@react-jvectormap/world"; 2 | import { VectorMapBuilder } from "@react-jvectormap/core"; 3 | import { MapContainer } from "../../components/MapContainer/MapContainer"; 4 | import React, { useRef } from "react"; 5 | import { VectorMap } from "@react-jvectormap/core"; 6 | 7 | export const FocusOnCountriesTemplate = (args) => { 8 | const ref = useRef(null); 9 | const focusOnRegion = (code) => { 10 | ref.current.setFocus({ 11 | regions: [code], 12 | animate: true, 13 | }); 14 | }; 15 | 16 | return ( 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | ); 25 | }; 26 | 27 | const map = new VectorMapBuilder(worldMerc).build(); 28 | export default map; 29 | -------------------------------------------------------------------------------- /stories/basic/VectorMapExamples/FranceElections.js: -------------------------------------------------------------------------------- 1 | import { frRegionsMerc } from "@react-jvectormap/franceregions"; 2 | import { 3 | VectorMapBuilder, 4 | SeriesBuilder, 5 | AttributeSeriesBuilder, 6 | } from "@react-jvectormap/core"; 7 | import { FranceElections } from "./data/FranceElections"; 8 | 9 | const electionsSeries = new AttributeSeriesBuilder("fill") 10 | .setScale({ 11 | 1: "#4169E1", 12 | 2: "#FF69B4", 13 | }) 14 | .setValues(FranceElections.results) 15 | .build(); 16 | 17 | const series = new SeriesBuilder().addRegionsSeries(electionsSeries).build(); 18 | 19 | const map = new VectorMapBuilder(frRegionsMerc).setSeries(series).build(); 20 | 21 | export default map; 22 | -------------------------------------------------------------------------------- /stories/basic/VectorMapExamples/GDPByCountryVisualization.js: -------------------------------------------------------------------------------- 1 | import { worldMill } from "@react-jvectormap/world"; 2 | import { gdpData } from "./data/gdpData"; 3 | 4 | export default { 5 | map: worldMill, 6 | onRegionTipShow: (e, el, code) => { 7 | el.html(el.html() + " (GDP - " + gdpData[code] + ")"); 8 | }, 9 | series: { 10 | regions: [ 11 | { 12 | values: gdpData, 13 | scale: ["#C8EEFF", "#0071A4"], 14 | normalizeFunction: "polynomial", 15 | }, 16 | ], 17 | }, 18 | }; 19 | -------------------------------------------------------------------------------- /stories/basic/VectorMapExamples/RegionLabels.js: -------------------------------------------------------------------------------- 1 | import { usAea } from "@react-jvectormap/unitedstates"; 2 | const map = { 3 | map: usAea, 4 | regionLabelStyle: { 5 | initial: { 6 | fill: "#B90E32", 7 | }, 8 | hover: { 9 | fill: "black", 10 | }, 11 | }, 12 | labels: { 13 | regions: { 14 | render: (code) => { 15 | const doNotShow = ["US-RI", "US-DC", "US-DE", "US-MD"]; 16 | 17 | if (doNotShow.indexOf(code) === -1) { 18 | return code.split("-")[1]; 19 | } 20 | }, 21 | offsets: (code) => 22 | ({ 23 | CA: [-10, 10], 24 | ID: [0, 40], 25 | OK: [25, 0], 26 | LA: [-20, 0], 27 | FL: [45, 0], 28 | KY: [10, 5], 29 | VA: [15, 5], 30 | MI: [30, 30], 31 | AK: [50, -25], 32 | HI: [25, 50], 33 | }[code.split("-")[1]]), 34 | }, 35 | }, 36 | }; 37 | 38 | export default map; 39 | -------------------------------------------------------------------------------- /stories/basic/VectorMapExamples/assets/bg-red-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kadoshms/react-jvectormap/a2ddb2e9a421c1a87606b79c1b761c1c033ff518/stories/basic/VectorMapExamples/assets/bg-red-green.png -------------------------------------------------------------------------------- /stories/basic/VectorMapExamples/assets/bg-yellow-blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kadoshms/react-jvectormap/a2ddb2e9a421c1a87606b79c1b761c1c033ff518/stories/basic/VectorMapExamples/assets/bg-yellow-blue.png -------------------------------------------------------------------------------- /stories/basic/VectorMapExamples/assets/icon-bank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kadoshms/react-jvectormap/a2ddb2e9a421c1a87606b79c1b761c1c033ff518/stories/basic/VectorMapExamples/assets/icon-bank.png -------------------------------------------------------------------------------- /stories/basic/VectorMapExamples/assets/icon-factory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kadoshms/react-jvectormap/a2ddb2e9a421c1a87606b79c1b761c1c033ff518/stories/basic/VectorMapExamples/assets/icon-factory.png -------------------------------------------------------------------------------- /stories/basic/VectorMapExamples/assets/icon-np-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kadoshms/react-jvectormap/a2ddb2e9a421c1a87606b79c1b761c1c033ff518/stories/basic/VectorMapExamples/assets/icon-np-1.png -------------------------------------------------------------------------------- /stories/basic/VectorMapExamples/assets/icon-np-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kadoshms/react-jvectormap/a2ddb2e9a421c1a87606b79c1b761c1c033ff518/stories/basic/VectorMapExamples/assets/icon-np-2.png -------------------------------------------------------------------------------- /stories/basic/VectorMapExamples/assets/icon-np-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kadoshms/react-jvectormap/a2ddb2e9a421c1a87606b79c1b761c1c033ff518/stories/basic/VectorMapExamples/assets/icon-np-3.png -------------------------------------------------------------------------------- /stories/basic/VectorMapExamples/data/FranceElections.ts: -------------------------------------------------------------------------------- 1 | export const FranceElections = { 2 | candidate1: "Hollande", 3 | candidate2: "Sarkozy", 4 | results: { 5 | "FR-J": 1, 6 | "FR-G": 2, 7 | "FR-S": 1, 8 | "FR-Q": 1, 9 | "FR-F": 2, 10 | "FR-P": 1, 11 | "FR-D": 1, 12 | "FR-O": 1, 13 | "FR-M": 2, 14 | "FR-A": 2, 15 | "FR-I": 2, 16 | "FR-R": 1, 17 | "FR-E": 1, 18 | "FR-T": 1, 19 | "FR-B": 1, 20 | "FR-N": 1, 21 | "FR-L": 1, 22 | "FR-V": 2, 23 | "FR-C": 1, 24 | "FR-K": 1, 25 | "FR-U": 2, 26 | "FR-H": 2, 27 | "FR-GP": 1, 28 | "FR-MQ": 1, 29 | "FR-GF": 1, 30 | "FR-YT": 2, 31 | }, 32 | }; 33 | -------------------------------------------------------------------------------- /stories/components/MapContainer/MapContainer.module.scss: -------------------------------------------------------------------------------- 1 | .root { 2 | .map { 3 | width: 500px; 4 | height: 500px; 5 | } 6 | .description { 7 | margin-bottom: 20px; 8 | } 9 | } 10 | 11 | :global(.jvectormap-legend-title) { 12 | font-size: 12px; 13 | } 14 | 15 | :global(.jvectormap-legend .jvectormap-legend-tick-sample) { 16 | height: 26px !important; 17 | } 18 | 19 | :global(.jvectormap-legend-icons) { 20 | background: white !important; 21 | border: black 1px solid; 22 | } 23 | 24 | :global(.jvectormap-legend-icons) { 25 | color: black !important; 26 | } 27 | 28 | -------------------------------------------------------------------------------- /stories/components/MapContainer/MapContainer.tsx: -------------------------------------------------------------------------------- 1 | import React, { FC } from "react"; 2 | import styles from "./MapContainer.module.scss"; 3 | 4 | interface IMapContainerProps { 5 | description?: string; 6 | } 7 | 8 | export const MapContainer: FC = ({ 9 | children, 10 | description, 11 | }) => ( 12 |
13 |
14 | {description &&
{description}
} 15 |
{children}
16 |
17 |
18 | ); 19 | -------------------------------------------------------------------------------- /stories/components/MapContainer/MapTemplate.js: -------------------------------------------------------------------------------- 1 | import { MapContainer } from "./MapContainer"; 2 | import React from "react"; 3 | import { VectorMap } from "@react-jvectormap/core"; 4 | 5 | const codeBlockStyle = { 6 | background: "#000", 7 | color: "#fff", 8 | padding: "8px", 9 | width: 500, 10 | borderRadius: 4, 11 | }; 12 | 13 | export const MapTemplate = (args) => { 14 | const { fileName, country, ...rest } = args; 15 | return ( 16 |
17 |
18 |         import {"{ "}
19 |         {fileName}
20 |         {" }"} from '{`@react-jvectormap/${country}`}';
21 |       
22 | 23 | 24 | 25 |
26 | ); 27 | }; 28 | -------------------------------------------------------------------------------- /stories/components/MapContainer/MultiMapTemplate.js: -------------------------------------------------------------------------------- 1 | import { MapContainer } from "./MapContainer"; 2 | import React from "react"; 3 | import { MultiMap } from "@react-jvectormap/core"; 4 | 5 | export const MultiMapTemplate = (args) => ( 6 | 7 | 8 | 9 | ); 10 | -------------------------------------------------------------------------------- /stories/components/MapContainer/VectorMapTemplate.js: -------------------------------------------------------------------------------- 1 | import { MapContainer } from "./MapContainer"; 2 | import React from "react"; 3 | import { VectorMap } from "@react-jvectormap/core"; 4 | 5 | export const VectorMapTemplate = (args) => ( 6 | 7 | 8 | 9 | ); 10 | -------------------------------------------------------------------------------- /stories/maps/Africa.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { africaMill, africaMerc } from "@react-jvectormap/africa"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Africa", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: africaMill, 14 | fileName: "africaMill", 15 | country: "africa", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: africaMerc, 21 | fileName: "africaMerc", 22 | country: "africa", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Algeria.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { dzMill } from "@react-jvectormap/algeria"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Algeria", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: dzMill, 14 | fileName: "dzMill", 15 | country: "algeria", 16 | }; 17 | -------------------------------------------------------------------------------- /stories/maps/Argentina.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { arMill, arMerc } from "@react-jvectormap/argentina"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Argentina", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: arMill, 14 | fileName: "arMill", 15 | country: "argentina", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: arMerc, 21 | fileName: "arMerc", 22 | country: "argentina", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Asia.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { asiaMill, asiaMerc } from "@react-jvectormap/asia"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Asia", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: asiaMill, 14 | fileName: "asiaMill", 15 | country: "asia", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: asiaMerc, 21 | fileName: "asiaMerc", 22 | country: "asia", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Australia.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { auMill, auMerc } from "@react-jvectormap/australia"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Australia", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: auMill, 14 | fileName: "auMill", 15 | country: "australia", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: auMerc, 21 | fileName: "auMerc", 22 | country: "australia", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Austria.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { atMill, atMerc } from "@react-jvectormap/austria"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Austria", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: atMill, 14 | fileName: "atMill", 15 | country: "austria", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: atMerc, 21 | fileName: "atMerc", 22 | country: "austria", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Belgium.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { beMill, beMerc } from "@react-jvectormap/belgium"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Belgium", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: beMill, 14 | fileName: "beMill", 15 | country: "belgium", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: beMerc, 21 | fileName: "beMerc", 22 | country: "belgium", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Brazil.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { brMill } from "@react-jvectormap/brazil"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Brazil", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: brMill, 14 | fileName: "brMill", 15 | country: "brazil", 16 | }; 17 | -------------------------------------------------------------------------------- /stories/maps/Canada.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { caMill, caMerc, caLcc } from "@react-jvectormap/canada"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Canada", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: caMill, 14 | fileName: "caMill", 15 | country: "canada", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: caMerc, 21 | fileName: "caMerc", 22 | country: "canada", 23 | }; 24 | 25 | export const Lambert = MapTemplate.bind({}); 26 | Lambert.args = { 27 | map: caLcc, 28 | fileName: "caLcc", 29 | country: "canada", 30 | }; 31 | -------------------------------------------------------------------------------- /stories/maps/Chicago.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { usIlChicagoMill, usIlChicagoMerc } from "@react-jvectormap/chicago"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Chicago", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: usIlChicagoMill, 14 | fileName: "usIlChicagoMill", 15 | country: "chicago", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: usIlChicagoMerc, 21 | fileName: "usIlChicagoMerc", 22 | country: "chicago", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/China.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { cnMill, cnMerc } from "@react-jvectormap/china"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/China", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: cnMill, 14 | fileName: "cnMill", 15 | country: "china", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: cnMerc, 21 | fileName: "cnMerc", 22 | country: "china", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Colombia.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { coMill, coMerc } from "@react-jvectormap/colombia"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Colombia", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: coMill, 14 | fileName: "coMill", 15 | country: "colombia", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: coMerc, 21 | fileName: "coMerc", 22 | country: "colombia", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Continents.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { continentsMill, continentsMerc } from "@react-jvectormap/continents"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Continents", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: continentsMill, 14 | fileName: "continentsMill", 15 | country: "continents", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: continentsMerc, 21 | fileName: "continentsMerc", 22 | country: "continents", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Denmark.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { dkMill, dkMerc } from "@react-jvectormap/denmark"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Denmark", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: dkMill, 14 | fileName: "dkMill", 15 | country: "denmark", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: dkMerc, 21 | fileName: "dkMerc", 22 | country: "denmark", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Europe.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { europeMill, europeMerc } from "@react-jvectormap/europe"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Europe", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: europeMill, 14 | fileName: "europeMill", 15 | country: "europe", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: europeMerc, 21 | fileName: "europeMerc", 22 | country: "europe", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/France.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { frMill, frMerc } from "@react-jvectormap/france"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/France", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: frMill, 14 | fileName: "frMill", 15 | country: "france", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: frMerc, 21 | fileName: "frMerc", 22 | country: "france", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/FranceRegions.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { frRegionsMill, frRegionsMerc } from "@react-jvectormap/franceregions"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/FranceRegions", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: frRegionsMill, 14 | fileName: "frRegionsMill", 15 | country: "franceregions", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: frRegionsMerc, 21 | fileName: "frRegionsMerc", 22 | country: "franceregions", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/FranceRegions2016.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { 3 | frRegions_2016Mill, 4 | frRegions_2016Merc, 5 | } from "@react-jvectormap/franceregions2016"; 6 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 7 | 8 | export default { 9 | title: "maps/Map/FranceRegions2016", 10 | component: VectorMap, 11 | argTypes: {}, 12 | }; 13 | 14 | export const Miller = MapTemplate.bind({}); 15 | Miller.args = { 16 | map: frRegions_2016Mill, 17 | fileName: "frRegions_2016Mill", 18 | country: "franceregions2016", 19 | }; 20 | 21 | export const Mercator = MapTemplate.bind({}); 22 | Mercator.args = { 23 | map: frRegions_2016Merc, 24 | fileName: "frRegions_2016Merc", 25 | country: "franceregions2016", 26 | }; 27 | -------------------------------------------------------------------------------- /stories/maps/Germany.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { deMill, deMerc } from "@react-jvectormap/germany"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Germany", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: deMill, 14 | fileName: "deMill", 15 | country: "germany", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: deMerc, 21 | fileName: "deMerc", 22 | country: "germany", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/India.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { inMill, inMerc } from "@react-jvectormap/india"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/India", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: inMill, 14 | fileName: "inMill", 15 | country: "india", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: inMerc, 21 | fileName: "inMerc", 22 | country: "india", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Indonesia.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { idnMerc } from "@react-jvectormap/indonesia"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Indonesia", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Mercator = MapTemplate.bind({}); 12 | Mercator.args = { 13 | map: idnMerc, 14 | fileName: "idnMerc", 15 | country: "indonesia", 16 | }; 17 | -------------------------------------------------------------------------------- /stories/maps/Iran.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { iranMill } from "@react-jvectormap/iran"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Iran", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: iranMill, 14 | fileName: "iranMill", 15 | country: "iran", 16 | }; 17 | -------------------------------------------------------------------------------- /stories/maps/Italy.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { itMill, itMerc } from "@react-jvectormap/italy"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Italy", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: itMill, 14 | fileName: "itMill", 15 | country: "italy", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: itMerc, 21 | fileName: "itMerc", 22 | country: "italy", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/ItalyRegions.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { itRegionsMill, itRegionsMerc } from "@react-jvectormap/italyregions"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/ItalyRegions", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: itRegionsMill, 14 | fileName: "itRegionsMill", 15 | country: "italyregions", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: itRegionsMerc, 21 | fileName: "itRegionsMerc", 22 | country: "italyregions", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Netherlands.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { nlMill, nlMerc } from "@react-jvectormap/netherlands"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Netherlands", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: nlMill, 14 | fileName: "nlMill", 15 | country: "netherlands", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: nlMerc, 21 | fileName: "nlMerc", 22 | country: "netherlands", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/NewYork.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { usNyNewYorkMill, usNyNewYorkMerc } from "@react-jvectormap/newyork"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/NewYork", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: usNyNewYorkMill, 14 | fileName: "usNyNewYorkMill", 15 | country: "newyork", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: usNyNewYorkMerc, 21 | fileName: "usNyNewYorkMerc", 22 | country: "newyork", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/NewZiland.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { nzMill, nzMerc } from "@react-jvectormap/newzealand"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/NewZealand", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: nzMill, 14 | fileName: "nzMill", 15 | country: "NewZealand", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: nzMerc, 21 | fileName: "nzMerc", 22 | country: "NewZealand", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/NorthAmerica.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { 3 | northAmericaMill, 4 | northAmericaMerc, 5 | } from "@react-jvectormap/northamerica"; 6 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 7 | 8 | export default { 9 | title: "maps/Map/NorthAmerica", 10 | component: VectorMap, 11 | argTypes: {}, 12 | }; 13 | 14 | export const Miller = MapTemplate.bind({}); 15 | Miller.args = { 16 | map: northAmericaMill, 17 | fileName: "northAmericaMill", 18 | country: "northamerica", 19 | }; 20 | 21 | export const Mercator = MapTemplate.bind({}); 22 | Mercator.args = { 23 | map: northAmericaMerc, 24 | fileName: "northAmericaMerc", 25 | country: "northamerica", 26 | }; 27 | -------------------------------------------------------------------------------- /stories/maps/Norway.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { noMill, noMerc } from "@react-jvectormap/norway"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Norway", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: noMill, 14 | fileName: "noMill", 15 | country: "norway", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: noMerc, 21 | fileName: "noMerc", 22 | country: "norway", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Oceania.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { oceaniaMill, oceaniaMerc } from "@react-jvectormap/oceania"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Oceania", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: oceaniaMill, 14 | fileName: "oceaniaMill", 15 | country: "oceania", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: oceaniaMerc, 21 | fileName: "oceaniaMerc", 22 | country: "oceania", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Poland.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { plMill, plMerc } from "@react-jvectormap/poland"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Poland", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: plMill, 14 | fileName: "plMill", 15 | country: "poland", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: plMerc, 21 | fileName: "plMerc", 22 | country: "poland", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Portugal.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { ptMill, ptMerc } from "@react-jvectormap/portugal"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Portugal", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: ptMill, 14 | fileName: "ptMill", 15 | country: "portugal", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: ptMerc, 21 | fileName: "ptMerc", 22 | country: "portugal", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/PuertoRico.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { puertoRico } from "@react-jvectormap/puertorico"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/PuertoRico", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | -------------------------------------------------------------------------------- /stories/maps/Russia.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { ruMill, ruMerc } from "@react-jvectormap/russia"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Russia", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: ruMill, 14 | fileName: "ruMill", 15 | country: "russia", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: ruMerc, 21 | fileName: "ruMerc", 22 | country: "russia", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/RussiaFederalDistricts.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { ruFdMill, ruFdMerc } from "@react-jvectormap/russiafederaldistricts"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/RussiaFederalDistricts", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: ruFdMill, 14 | fileName: "ruFdMill", 15 | country: "russiafederaldistricts", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: ruFdMerc, 21 | fileName: "ruFdMerc", 22 | country: "russiafederaldistricts", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/SouthAfrica.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { zaMill, zaMerc } from "@react-jvectormap/southafrica"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/SouthAfrica", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: zaMill, 14 | fileName: "zaMill", 15 | country: "southafrica", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: zaMerc, 21 | fileName: "zaMerc", 22 | country: "southafrica", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/SouthAmerica.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { 3 | southAmericaMill, 4 | southAmericaMerc, 5 | } from "@react-jvectormap/southamerica"; 6 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 7 | 8 | export default { 9 | title: "maps/Map/SouthAmerica", 10 | component: VectorMap, 11 | argTypes: {}, 12 | }; 13 | 14 | export const Miller = MapTemplate.bind({}); 15 | Miller.args = { 16 | map: southAmericaMill, 17 | fileName: "southAmericaMill", 18 | country: "southamerica", 19 | }; 20 | 21 | export const Mercator = MapTemplate.bind({}); 22 | Mercator.args = { 23 | map: southAmericaMerc, 24 | fileName: "southAmericaMerc", 25 | country: "southamerica", 26 | }; 27 | -------------------------------------------------------------------------------- /stories/maps/SouthKorea.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { krMill, krMerc } from "@react-jvectormap/southkorea"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/SouthKorea", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: krMill, 14 | fileName: "krMill", 15 | country: "southkorea", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: krMerc, 21 | fileName: "krMerc", 22 | country: "southkorea", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Spain.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { esMill, esMerc } from "@react-jvectormap/spain"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Spain", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: esMill, 14 | fileName: "esMill", 15 | country: "spain", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: esMerc, 21 | fileName: "esMerc", 22 | country: "spain", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Sweden.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { seMill, seMerc } from "@react-jvectormap/sweden"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Sweden", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: seMill, 14 | fileName: "seMill", 15 | country: "sweden", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: seMerc, 21 | fileName: "seMerc", 22 | country: "sweden", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Switzerland.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { chMill, chMerc } from "@react-jvectormap/switzerland"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Switzerland", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: chMill, 14 | fileName: "chMill", 15 | country: "switzerland", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: chMerc, 21 | fileName: "chMerc", 22 | country: "switzerland", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Thailand.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { thMill, thMerc } from "@react-jvectormap/thailand"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Thailand", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: thMill, 14 | fileName: "thMill", 15 | country: "thailand", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: thMerc, 21 | fileName: "thMerc", 22 | country: "thailand", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/Turkey.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { trMill } from "@react-jvectormap/turkey"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Turkey", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: trMill, 14 | fileName: "trMill", 15 | country: "turkey", 16 | }; 17 | -------------------------------------------------------------------------------- /stories/maps/UkRegions.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { ukRegionsMill, ukRegionsMerc } from "@react-jvectormap/ukregions"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/UkRegions", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: ukRegionsMill, 14 | fileName: "ukRegionsMill", 15 | country: "ukregions", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: ukRegionsMerc, 21 | fileName: "ukRegionsMerc", 22 | country: "ukregions", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/UnitedKingdomCountries.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { 3 | ukCountriesMill, 4 | ukCountriesMerc, 5 | } from "@react-jvectormap/unitedkingdomcountries"; 6 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 7 | 8 | export default { 9 | title: "maps/Map/UnitedKingdomCountries", 10 | component: VectorMap, 11 | argTypes: {}, 12 | }; 13 | 14 | export const Miller = MapTemplate.bind({}); 15 | Miller.args = { 16 | map: ukCountriesMill, 17 | fileName: "ukCountriesMill", 18 | country: "unitedkingdomcountries", 19 | }; 20 | 21 | export const Mercator = MapTemplate.bind({}); 22 | Mercator.args = { 23 | map: ukCountriesMerc, 24 | fileName: "ukCountriesMerc", 25 | country: "unitedkingdomcountries", 26 | }; 27 | -------------------------------------------------------------------------------- /stories/maps/UnitedStates.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { useMerc, usMill, usLcc, usAea } from "@react-jvectormap/unitedstates"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/UnitedStates", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: usMill, 14 | fileName: "usMill", 15 | country: "unitedstates", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: useMerc, 21 | fileName: "useMerc", 22 | country: "unitedstates", 23 | }; 24 | 25 | export const Albers = MapTemplate.bind({}); 26 | Albers.args = { 27 | map: usAea, 28 | fileName: "usAea", 29 | country: "unitedstates", 30 | }; 31 | 32 | export const Lambert = MapTemplate.bind({}); 33 | Lambert.args = { 34 | map: usLcc, 35 | fileName: "usLcc", 36 | country: "unitedstates", 37 | }; 38 | -------------------------------------------------------------------------------- /stories/maps/Venezuela.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { veMill, veMerc } from "@react-jvectormap/venezuela"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/Venezuela", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: veMill, 14 | fileName: "veMill", 15 | country: "venezuela", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: veMerc, 21 | fileName: "veMerc", 22 | country: "venezuela", 23 | }; 24 | -------------------------------------------------------------------------------- /stories/maps/World.stories.js: -------------------------------------------------------------------------------- 1 | import { VectorMap } from "@react-jvectormap/core"; 2 | import { worldMill, worldMerc } from "@react-jvectormap/world"; 3 | import { MapTemplate } from "../components/MapContainer/MapTemplate"; 4 | 5 | export default { 6 | title: "maps/Map/World", 7 | component: VectorMap, 8 | argTypes: {}, 9 | }; 10 | 11 | export const Miller = MapTemplate.bind({}); 12 | Miller.args = { 13 | map: worldMill, 14 | fileName: "worldMill", 15 | country: "world", 16 | }; 17 | 18 | export const Mercator = MapTemplate.bind({}); 19 | Mercator.args = { 20 | map: worldMerc, 21 | fileName: "worldMerc", 22 | country: "world", 23 | }; 24 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "module": "esnext", 5 | "jsx": "react", 6 | "sourceMap": true, 7 | "strict": true, 8 | "moduleResolution": "node", 9 | "allowSyntheticDefaultImports": true, 10 | "esModuleInterop": true, 11 | "skipLibCheck": true, 12 | "forceConsistentCasingInFileNames": true, 13 | "declaration": true 14 | }, 15 | "exclude": [ 16 | "node_modules", 17 | ] 18 | } 19 | --------------------------------------------------------------------------------