Skip to content

jameseaster/basic-react-arcgis-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Basic React ArcGIS App

Utilizing ArcGIS in React - Live Demo

Netlify Status GitHub last commit GitHub code size in bytes Code style prettier


Basic React ArcGIS App provides a very simple start to utilizing the ArcGIS for JS API inside of Create React App. The generation of the map is held in a custom hook to separate the business logic. This app contains only one extra dependency outside of create-react-app, esri-loader.


app-screenshot

Use & Purpose

You can click the "Log Current Center Coordinates" button and then open the dev tools to see that the map view center coordinates are. As you drag the map and click the button again, the coordinates change. This map view object updates autonomously from react's state. As a whole, Basic React ArcGIS App is meant to act as an easy gateway into map development with React.


Local development

In the project directory:

yarn install

Scripts

  • yarn start: starts app, viewable at http://localhost:3000
  • yarn build: Builds the production app
  • yarn eject: Ejects the app
  • yarn test: Runs the tests

Resources

About

A basic integration of ArcGIS and Create React App

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published