Questions tagged [fluttermap]
187 questions
0
votes
1 answer
flutter_map: how to make a Marker active
My task is to allow the user to build a polygon on the map. I use the flutter_map library and openstreetmaps. I do not know how to complete the building of the polygon.
Now, by the very first onTap, an IconButton appears on the map. I want to make…

kokserek
- 530
- 8
- 21
0
votes
1 answer
how to create spatial buffers in flutter using flutter_map
How can one create a Polygon buffer, let's say 20 m around a specific point?
I am using the flutter_map package. Is there anyone who's got any ideas on how to implement this?

Douglas Bett
- 117
- 1
- 6
0
votes
1 answer
what is meaning of GoogleMapController in flutter?
I'm new to flutter so this question sounds like foolish but I really want this meaning.
What is going on in the code after onMapCreated?
What value is being passed to the controller?
What the difference between controller and _controller?
class…

Aspas
- 11
- 3
0
votes
2 answers
Is there a way to know if the map was successfully loaded? (in case of bad internet)
So I'm using the flutter_map package to include openstreetmap in my app. I want my app to skip the map if it can't load it within 10 seconds, in case the internet connection is too bad. Is there a way to know if the downloading process has finished?

wileykay311
- 106
- 4
0
votes
3 answers
Flutter : polylines show straight line
Im implementing a flutter app to display polylines by flutter google maps plugin, But It only shows a straight line between those two points rather than showing actual route, I'm not quite sure what needed to do.
Here my add markers function
void…

Sandun Sameera
- 402
- 6
- 13
0
votes
2 answers
How To Create List From Map Key
I have a map
Map> myMap = {
'Example1': ['A', 'B', 'C', 'D'],
'Example2': ['E', 'F', 'G', 'H'],
'Example3': ['I', 'J', 'K', 'L'],
'Example4': ['M', 'N', 'O', 'P']
};
How…

CuriousCoder
- 262
- 4
- 14
0
votes
1 answer
Flutter_map get geographical extent on screen
I use flutter_map to import openstreetmap tiles, I would like to know if it is possible to retrieve the geographical extent of what is displayed on the screen?

SCH kiman
- 23
- 6
0
votes
1 answer
Programmatically turn off GPS on Flutter
I need to close the GPS that opened for the Flutter app .
this work is possible ?

Esmaeil Ahmadipour
- 840
- 1
- 11
- 32
0
votes
1 answer
Search for locations with flutter_map
I am using the Flutter Package "flutter_map" (https://pub.dev/packages/flutter_map) and have implemented a map into my flutter application.
Now I want to add a search box where I can search for places which will be then focused on the map. Is…
user8270129
0
votes
1 answer
Create custom map overlay (polylines) [Mapbox]
I have a Flutter project using flutter_map and tiles from Mapbox. I also have a very large list of coordinates to create polylines on the map. The coordinates are worldwide geographical boundaries. It's working fine but when displaying the polylines…

DesertBunny
- 21
- 3
-1
votes
0 answers
Being a beginner with Flutter, I am trying to build a basic map (with custom markers at certain geopoints) with osm plugin 0.60.4. How do i do this?
My main.dart looks like:
void main() { runApp(MaterialApp(home: MyMap())); }
class GeoPoint { final double latitude; final double longitude; GeoPoint({required this.latitude, required this.longitude}); }
class MyMap extends StatefulWidget…
-1
votes
2 answers
How can I fix _TypeError in Flutter?
I have a trivial map like this:
Map _datiMap = box.get("exc") ?? {};
when it runs:
_datiMap.addAll({"${DateFormat("y-MM-dd", "${AppLocalizations.of(context)!.codice}").format(_giornoSelezionato)}" : "${_oreProgrammateGiornoAttuale! +…

Jonathan
- 106
- 1
- 8
-1
votes
1 answer
How can I sort data by the value of a flutter map?
i'm trying to sort the values i get from my realtime database converted to Map. This is what I get:
{Table 2:
{
order 1:
{
WATER: {price: 1.50, quantity: 2},
date: 2022-12-14 17:34:51.428972}
},
Table 1:
{
…

Jonathan
- 106
- 1
- 8
-1
votes
1 answer
Free Autocomplete map on Flutter
I'm implementing a map using openstreetmap which you guys know it is 100% free. So I want the same approach talking about searching addresses with a textfield. Is it that possible? Or I really have to generate an API key for Google or other provider…

Sir_Catapimba
- 93
- 1
- 11
-1
votes
1 answer
Flutter API Call using http
I'm trying to get json data from Api by using the following
Future getsubjectList(
String userId, String accountId) async {
final response = await http
.get(Uri.https(_baseUrl, 'v1/package/subject-details'), headers:…

Febin Johnson
- 277
- 1
- 6
- 21