Questions tagged [fluttermap]

187 questions
2
votes
3 answers

Error parsing LocalFile: 'E:\android\app\src\main\AndroidManifest.xml' Please ensure that the android manifest is a valid XML document and try again

my application worsks perfectly fine. but when i add some uses-permission for internet and map and api key for google map it gives me error. i tried flutter clean, flutter run but still getting the same error. I dont understand what i am doing wrong…
Mrunal
  • 578
  • 2
  • 21
  • 39
2
votes
3 answers

FlutterMap zooms into white screen

When zooming in on the map, it creates a white screen at the end. Anyone have any idea why? Happens on both Android and iOS. On emulator/simulator and on physical device in release mode. Happens with all tile services: Google, MapBox &…
Wesley Barnes
  • 554
  • 4
  • 18
2
votes
2 answers

Why does centering a flutter_map not work?

I am using flutter_map in a form in my Flutter app and centering the map does not work. The map just shows a piece of the ocean. That's because my fallback value (coordinates) is 0, 0. The marker then get's updated to the correct position from…
PlutoHDDev
  • 540
  • 7
  • 25
2
votes
1 answer

Convert "Instance of QueryRow" to a List or Map

I have an asset database holding reference data. I'm trying to create another table (in this case list of maps) based on this table like; var data = db.execute("SELECT * FROM customers"); data > [{1, George, male}, {2, Michael, male}, {3, Lucy,…
2
votes
2 answers

flutter GestureDetector with the flutter map or mapbox

I am new in the flutter and my problem is when the GestureDetector child is a flutter map a OnTapUp method not response but when the child is a container every things work fine. How to get response from OnTapUp when GestureDetector child is a…
Masoud H
  • 194
  • 4
  • 15
2
votes
1 answer

How can I disable the gestures in mapbox in flutter?

Can I disable the gestures present in Mapbox in flutter such as zoom, moving through two-finger, etc? If yes, then please tell me. I have researched but found nowhere. If anyone of you know then please tell.
2
votes
2 answers

create maker with InfoWindow flutter map

along with greeting you, I wanted to ask you if someone has been able to show an InfoWindow in the flutter map maker, or create a container that is floating so that it appears next to the maker, in google map if possible. new Marker …
2
votes
2 answers

How can you access to FlutterMap Controller from different class

I'm trying to finding a way to access to flutter_map controller from outside the class the idea is that i have markers on the map screen . when you tap on the marker the map should move so that spicefic marker be on the middle the Problem that the…
M.Akyuzlu
  • 185
  • 2
  • 13
1
vote
1 answer

How to run tests with FlutterMap widget?

I have a test which has to load a screen which contains the FlutterMap widget. Unfortunately the test throws an exception because all http calls for the map tile images return a 400 response. I would have to mock a http client that responds with an…
Kulpas
  • 167
  • 1
  • 9
1
vote
0 answers

Why is a double polyline appearing on Google Maps in Flutter instead of just one?

In my Flutter project, I've been working on drawing a polyline while updating a card. Generally, the implementation has been successful and the polyline appears as expected. However, I've encountered an issue where, at times, multiple polylines are…
DHANESH P
  • 51
  • 5
1
vote
1 answer

Incorrect GestureDetector arguments

so i have a GestureDetector where if i scale it will increase or decrease the values ,The values are latitude and longitude, Next if i pan it will again do the same for latitude and longitude, Please note these values are the values of image overlay…
Pannam
  • 482
  • 1
  • 3
  • 16
1
vote
1 answer

How to display a random Flutter map?

I am trying to display a random Flutter map using the flutter_maps package. When I was creating this, I couldn't find the 'layers' option under the map options. If I type layers I got an error "Parameter named 'layers' is not defined." I have added…
Divya
  • 129
  • 8
1
vote
1 answer

The named parameters arent definded

I'm trying to develop a simple application where you can you to anonymously see where friended users are on a realistic map. These are the three errors I get: The named parameter 'layers' isn't defined. Try correcting the name to an existing named…
Donovan
  • 11
  • 2
1
vote
0 answers

Ripple animation using circles on google map flutter lags the app

Following is the video that demonstrate the problem I am facing doing animations on google map. output of animation I don't know why the app lags doing animations on google map specifically. I have also used…
Muddassar
  • 349
  • 2
  • 13
1
vote
1 answer

Flutter maps: implement dotted line when coordinates is not on the main road

Is there a way to replicate this from google maps? I currently have now the polyline on the road close to the marker but no dots when the marker is not on the road.
1 2
3
12 13