Skip to content

Geospatial demo and sample apps for Dart and Flutter.

License

Notifications You must be signed in to change notification settings

navibyte/geospatial_demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧭 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.