EOX-A / EOxElements

A Web Component collection of geospatial UI elements, crafted by EOX.
https://eox-a.github.io/EOxElements/
MIT License
13 stars 2 forks source link

Create `loader` directly from `flatgeobuf`-library #1341

Open RobertOrthofer opened 4 weeks ago

RobertOrthofer commented 4 weeks ago

While not mentioned in the flatgeobuf-npm site, the official documentation of the package reveals a createLoader-method, that creates an ol-loader for a VectorSource while removing the need of reading the data in a GeoJSON-Format, as we do now.

I think using this exposed method might simplify the code as well as improve the performance by removing the extra step of the GeoJSON format.