farmOS / farmOS-map

farmOS-map is an OpenLayers wrapper library designed for agricultural mapping needs. It can be used in any project that has similar requirements.
https://farmOS.github.io/farmOS-map
MIT License
35 stars 21 forks source link

Expose methods for reading features from GeoJSON and WKT. #194

Closed mstenta closed 1 year ago

mstenta commented 1 year ago

This PR separates the code for reading features from GeoJSON and WKT out of layer.js to a new features.js, and exposes a new readFeatures() method that can be used by code outside of farmOS-map.