openlayers-react-functional-component icon indicating copy to clipboard operation
openlayers-react-functional-component copied to clipboard

Basic example for using OpenLayers 6 with React and functional components.

OpenLayers 6 React example using a functional component

Basic example for using OpenLayers 6 with React and functional components.

Demo

You can visit a demo at https://dietrichmax.github.io/openlayers-react-functional-component/.

Development

To run this example:

  1. npm install
  2. npm start
  3. open http://localhost:3000/openlayers-react-functional-component in the browser