Questions tagged [fluttermap]

187 questions
3
votes
1 answer

Flutter_map pan boundaries depending on zoom level

I'm having a problem with flutter_map. I have my own offline set of tiles (4 zoom levels) and I use Crs.Simple() as crs. But I face a problem with grey area displayed while tapping and zooming when map "ends", as described here:…
3
votes
3 answers

Flutter Map on position change end

I am using flutter_map to add a map to my project. I am able to work with it and use its options. But I want something that I did not find in flutter_map. I want to listen to a position change and get the last position when the user stops touching…
Arash Mohammadi
  • 1,313
  • 1
  • 13
  • 28
3
votes
1 answer

How to use gestures on FlutterMap (flutter_map package) inside Column (or any scrollable View)?

I have the problem that I have a map inside a scrollable column. As map I use FlutterMap (flutter_map package). This is leaflet for flutter. In Google Maps there is a solution for exactly the problem by using "gestureRecognizers". The solution of…
Jakob Kühne
  • 915
  • 2
  • 12
  • 26
3
votes
4 answers

Error '_InternalLinkedHashMap' is not a subtype of type 'Iterable'

Displaying A-List fetched from a 3rd a Third Party API with the search Function the error only shows when I ran the App, It Says _InternalLinkedHashMap' is not a subtype of type 'Iterable Please Welp *** Edit A new Error Showed…
user10040349
  • 283
  • 3
  • 7
  • 16
2
votes
1 answer

Styling map of flutter_map package

I'm working on a Flutter app that displays an OpenStreetMap (OSM) map. I'm trying to style the map to look like the following image: However, I haven't been able to find a way to achieve this style directly within the mobile application. All the…
Ali Abbas
  • 1,415
  • 12
  • 19
2
votes
1 answer

How to make this, when we type ab in textified then display applebanana as a single word ? in flutter

When type "ab" like this then should display applebanana, Here it is my code
dola23
  • 87
  • 6
2
votes
2 answers

Darkmode for OpenStreetMap in flutter_map

I want to display OpenStreetMaps in the package flutter_map in a darkmode. I have read that you can use the tileBuilder or a tilesContainerBuilder to create a ColorFiltered, with the help of which the map is then displayed in dark mode. When I…
MAESTRO_DE
  • 433
  • 2
  • 17
2
votes
1 answer

The argument type 'Future Function(TapPosition)' can't be assigned to the parameter type 'void Function(TapPosition, LatLng)?'

FlutterMap( options: MapOptions( onTap: (p, point) async { GeoData location = await Geocoder2.getDataFromCoordinates( latitude: p.latitude, longitude: p.longitude, googleMapApiKey: ''); …
Pratishtha S
  • 81
  • 2
  • 11
2
votes
0 answers

Inverted Polygon in Flutter_Map

I have to use Flutter Map for my project and I'm using PolygonLayerOptions to draw a polygon, but how can I fill every place on my map except the interior of the polygon. Like the image below. PolygonLayerOptions( polygons: [ …
LayTexas
  • 545
  • 2
  • 6
  • 19
2
votes
1 answer

How to open google maps by clicking on a button in flutter

I am new to flutter and I want to open google maps by clicking on button using flutter. Here is my code and in that code on line no 98 I want to open google maps by clicking on share your location button so please give me a suggestion that which…
2
votes
2 answers

FlutterMap LateInitializationError State Management

I'm trying to make a Flutter app, using Riverpod for state management and FlutterMaps. I have set up notifiers for pages, and am also using a (State)NotifierProvider for the map page. I am building a search function, which goes to a search page…
2
votes
1 answer

How to use flutter_map MapEventLongPress?

I'm working with a flutter_map application and I have the map setup with markers and all but I can't figure out how to use the MapEventLongPress class event. Basically I want to long press the map and get coordinates from the event, anyone willing…
2
votes
0 answers

Create tiled map with no geo location using flutter_map package

I'd like to tile a large image and view it in a Flutter app with flutter_map package. I.e, use the flutter_map package as a large bitmap viewer for a zoomable, tiled image. On the web I can achieve this with Leaflet and believe it's quite a common…
Ryan
  • 2,240
  • 17
  • 17
2
votes
1 answer

Flutter Login through API

After Successful Login, I am getting User_id and User_type I want to access the User_id and User_type. By Using User_type,I want to log in the supervisor or Promoter Future postMethod() async { var api =…
2
votes
3 answers

How to add live location tracking in flutter_map?

How to integrate live tracking with flutter_map. Does anyone know which library is integrated into it? or How to implement it?
paul
  • 519
  • 6
  • 13
1
2
3
12 13