One Way OpenLayers
- Unidirectional data flow: One Way OpenLayers evolves the "Data down, actions up" ideas of React. Declarative updates make your code more predictable, simpler to understand, and easier to debug.
- API: The data structure maps, as close as possible, to the OpenLayers API.
More examples in the examples folder. Here is the first one to get you started:
This example will render a map with one tiled layer into a the body element and attach a click event to the ol.Map object.
npm install one-way-openlayers --save
git clone https://github.com/itjope/one-way-openlayers.git
Type checking with Flow