Basic example for using OpenLayers 6 with React and class components.
You can visit a demo at https://dietrichmax.github.io/openlayers-react-class-component/.
To run this example:
npm install
npm start
- open http://localhost:3000/openlayers-react-class-component in the browser