Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 4.44 KB

README.md

File metadata and controls

60 lines (44 loc) · 4.44 KB

🧭 Geospatial demos for Dart

License Twitter URL style: very good analysis

Geospatial demo and sample apps for Dart and Flutter.

This is a companion demo code repository for the Geospatial tools for Dart repository that contains Dart packages providing coordinates, geometries, feature objects, metadata, projections, tiling schemes, vector data models and formats, and gespatial Web APIs.

✨ See also the article Geospatial tools for Dart - version 1.0 published at Medium.

Dart Flutter

✨ Code samples

earthquake_map

  • Shows earthquakes on a basic map view with data fetched from the GeoJSON feed provided by USGS (the United States Geological Survey) and OGC API Feature service provided by BGS (the British Geological Survey).
  • Coding topics
    • State management (settings, query filters, repositories and fecthing data from APIs, presentation formatters, map view markers).
    • Using API clients to fetch geospatial data (GeoJSON) from a custom REST service or a standardized OGC API Features service.
    • Visualizing earthquakes (that are geospatial feature entities with point geometries) as map markers on a map view.
  • Notes
    • The UI of this sample app is very basic. The app focuses on a clean demonstration of the topics mentioned above.
    • To run this demo, you need to obtain and configure an API key for Google Maps.
    • Supported platforms: only iOS and Android
  • Dart packages utilized
    • equatable: equality and hash utils
    • geobase: geospatial data structures and vector data support for GeoJSON
    • geodata: fetching a Web API with GeoJSON data
    • intl: localized date formatting
    • state_notifier: helps manipulating a state object with multiple ways to update it
  • Flutter packages utilized

🗞️ News

2023-10-31

2022-08-29 (small updates on 2022-12-03)

  • The first version of the earthquake_map sample demonstrating state management, Web APIs for geospatial data and visualizing markers on a map view.

🏡 Authors

This project is authored by Navibyte.

©️ License

This project is licensed under the "BSD-3-Clause"-style license.

Please see the LICENSE.