Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.15 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.15 KB

LA JENI index visualization.

Setup

Make sure to install the dependencies:

# yarn
yarn install

Development Server

Start the development server on http://localhost:3000:

# yarn
yarn dev

Production

Build the application for production:

# yarn
yarn build

Locally preview production build:

# npm
# yarn
yarn preview

Env Variables

You will need a mapbox access token to access maps and styles. Create your own account and contact the author to get access to the map styles. Paste the token into a .env and you're off to the races.

MAPBOX_TOKEN="xxx"

Todos

Please look for todos in the code. Additionally consider these optimizations:

  • Speed optimizations on the map. Digure out how to minimize layer data and map load times, optimize tile layer.
  • Create a loader when map changes
  • Optimize responsiveness
  • Add more Integration tests.
  • Add metadata for search optimization and display
  • Possibly move styling data to code from saved mapbox map style.

Check out the nuxt documentation for more information. More info on mapbox.