The Book of OpenLayers3 [Code samples]

These are the code samples for The Book of OpenLayer3. Feel free to download the source code and contribute to this repository:

Reading and writing features

This sample show how to read and write feature in a given data format.

Paste any valid GeoJSON string and press the read button:

Click the button to write the current map features to GeoJSON string:

Source code: