This is a package/ repositry that contains geoJSON info for all Jordan cities.
To begin, you'll need to install jordan-cities-geojson
:
npm install --save jordan-cities-geojson
Then import the GeoJSON data for the city that you want
my-cool-map-app.js
const { Amman } = require('jordan-cities-geojson');
To import all cities just require the whole package
const JordanCities = require('jordan-cities-geojson');
Please take a moment to read our contributing guidelines if you haven't yet done so.