decision-labs / maplibre-react-quickstart

Fork the project to get started with a basic react app with an integrated maplibre map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started with MapLibre and React

Fork this project to quickly create a react maplibre application.

Setting up the environment variables

In the root directory of the showcase project, run the following commands

cp .env.example .env

The REACT_APP_MAPTILER_APIKEY can be generated here.

Run the project

In the project root directory, run the following commands:

npm i
npm start

This should start the application on http://localhost:3000/

And voila, that's all there is to it.

About

Fork the project to get started with a basic react app with an integrated maplibre map


Languages

Language:HTML 43.8%Language:JavaScript 33.9%Language:CSS 22.3%