Skip to content

transformatek/flutter-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📍 Photon Location Search App (Flutter)

A lightweight Flutter app to search addresses and get locations using the Photon API (geocoding & reverse geocoding).


🚀 Getting Started

1. Clone the project

git clone https://github.com/transformatek/flutter-examples.git
cd geo_services

2. Install dependencies

flutter pub get

🔑 API Key Setup

1. Open the file

2. Replace the placeholder with your Photon API key from deploily

var response = await http.get(uri, headers: {
  'accept': 'application/json',
  'apikey': 'YOUR_API_KEY_HERE',
});

▶️ Run the app

flutter run



🧭 ORS Directions (Routing)

This app also supports route calculation between two coordinates using the OpenRouteService (ORS) Directions API.

🔑 API Key Setup

1. Open the file ors service

2. Replace the placeholder with your Ors API key from deploily

http.Response response = await http.get(Uri.parse(url), headers: {
        'accept': 'application/geo+json, */*',
        'apikey': 'your_api_key', // Replace with your actual API key
      });

▶️ Run the app

flutter run

About

Flutter examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •