Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

morocco-map

yousfiSaad32ODbL-1.01.3.0

TopoJSON files for moroccan regions

topojson, morocco, map

readme

Morocco Map

Moroccan regions in TopoJSON format

Usage

You can see the example in examples folder or live example here and here (for provinces)

File reference

# regions.json Download

A TopoJSON file containing the 12 moroccan regions, the id of each region respects the the ISO 3166 standard.

\ # provinces.json Download

A TopoJSON file containing the provinces and prefectures, the ids of the items are not yet set to ISO 3166 standard.

TODO:

  • <input disabled="" type="checkbox"> Set ids in ISO 3166 standard for provinces/prefectures in provinces.json file
  • <input disabled="" type="checkbox"> Add cities