Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Openstreetmap in Flutter?

Tags:

flutter

dart

Can we use Openstreetmap in Flutter or can we only use Google Maps? I wanted to get another way to display a Map. Cause when using googlemaps api key they need to know a Credit Card and i dont have one.

like image 417
Anton Schrage Avatar asked Aug 14 '18 13:08

Anton Schrage


People also ask

Is OpenStreetMap API free?

Openstreetmap API is an open-source initiative that generates world map data and makes them available for free. This means you don't have to pay anything to request data from its database. In fact, you'll even have access to the entire database of Openstreetmap, which isn't so in paid APIs.

What is map () in flutter?

map() Iterable<T> map<T> (T Function(String) f) Returns a new lazy Iterable with elements that are created by calling f on each element of this Iterable in iteration order. This method returns a view of the mapped elements.

How do you use flutter map in flutter?

To use Google Maps in your Flutter app, you need to configure an API project with the Google Maps Platform, following the Maps SDK for Android's Using API key, Maps SDK for iOS' Using API key, and Maps JavaScript API's Using API key.


1 Answers

You can use the below plugin. An example is included in the repository.

https://github.com/apptreesoftware/flutter_map

Pub.dev link:

https://pub.dev/packages/flutter_map

like image 162
Yamin Avatar answered Sep 27 '22 00:09

Yamin