Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
0 votes
1 answer
108 views

How to add a marker in mapsforge_flutter?

I am using the mapsforge_flutter package to display an offline .map file. I want to add a marker (for example, a pin at a specific latitude/longitude), but I cannot find a clear example in the ...
Vipul Vikraman's user avatar
0 votes
1 answer
83 views

How can a widget be displayed alone if it overlaps others?

I have three cards positioned 10 pixels from the bottom-left corner within a Stack as follows: Positioned( bottom: 10, left: 10, child: Card( elevation: 0, color: Colors.white, child:...
Gery's user avatar
  • 9,255
0 votes
1 answer
94 views

GeoJSON polygon filtering example based on attribute

I tested the neat flutter_map_geojson2 package to display GeoJSON files and it works nicely. However, I am wondering how a GeoJSON file with polygons can be filtered to display polygons painted with ...
Gery's user avatar
  • 9,255
0 votes
1 answer
63 views

GeoJSON displayed when checkbox is checked in flutter_map

Being new in the flutter world, I am wondering if someone can give me a hand with the following issue. I want to display a GeoJSON after a checkbox is checked but not sure how to call it: ...
Gery's user avatar
  • 9,255
0 votes
0 answers
64 views

Use flutter-map to load Baidu Map tiles

The tile slicing rules of map services like Google, Gaode, and OpenStreetMap (OSM) differ from those of Baidu Maps primarily in two aspects: Origin of the Tile Coordinate System: For Google, Gaode, ...
Doctor.Who.'s user avatar
0 votes
0 answers
79 views

Flutter map using Mapsforge

I'm trying to implement an offline map viewer in Flutter using the mapsforge_flutter package. I've followed various examples and attempted to render .map files manually. However, I'm encountering many ...
Vipul Vikraman's user avatar
0 votes
0 answers
42 views

Displaying layers from GeoServer in FlutterMap as WMTS

I have installed GeoServer locally (as a Docker container) and it is working just fine. I can access the admin interface and I can see different layers by using the layer preview in a browser. I am ...
Neigaard's user avatar
  • 4,174
0 votes
0 answers
81 views

Flutter Mapbox v4 Vector Tiles

I'm trying to use MapBox Vector tiles v4 according documentation: but something is wrong. I was able to use the normal tiles but they are expensive. final vectorUrlTemplate = (_isSatelliteView ? '...
FilipeOS's user avatar
  • 858
1 vote
0 answers
82 views

FlutterMap Not Dragging and Showing Grey Screen on Pinch Gesture

I am using the flutter_map package in my Flutter project, and I am encountering an issue where the map does not drag; and when I pinch to zoom, the map turns into a grey screen. The first tile loads ...
PIEohNEER's user avatar
0 votes
0 answers
34 views

Flutter map route drawing

How to improve the removal of the passed route, currently it doesnt work good - the route line is sometimes still shown even though it shouldn't be im using flutter_map and osm void ...
pawel wachowiak's user avatar
1 vote
2 answers
93 views

Flutter Map Polyline and current user movement. How to hide distance cover in the polyline while navigating

I'm building a flutter navigation app using flutter_map, routing_client_dart and openstreetMap. I've managed to listen to live location and update it accordingly. Currently I'm displaying the polyline ...
Jerry Matera's user avatar
0 votes
1 answer
45 views

"flutter_map" does not show map everytimes (map hides sometimes)

What is the bug? Hello. I'm using flutter_map: ^8.1.1 like follow: return StreamBuilder< List<Marker>>( ...
Marc-aurèle Chégnimonhan's user avatar
0 votes
0 answers
52 views

FutterMap with CrsSimple wrong dimensions for tiles

I'm working on a Tile Viewer using the FlutterMap package, and I'm facing issues with displaying tiles correctly based on zoom level and position. Goal Display tiles correctly in the FlutterMap ...
Nico's user avatar
  • 25
0 votes
1 answer
66 views

get geo coordinates (LatLng) for Container() stacked on FlutterMap()

I have an App developed using Flutter. I use return Scaffold( body: Stack( children: [ FlutterMap(...), Positioned( bottom: 20, right: 0, child: Container( ...
jpgorganizer's user avatar
0 votes
0 answers
67 views

InvalidProtocolBufferException when loading vector tiles

I am using vector_map_tiles together with flutter_map and loading vector map tiles from map tile provider viamap. I am using the following code to load the tiles (stylesheet seems to load just fine): ...
Neigaard's user avatar
  • 4,174
0 votes
0 answers
50 views

How to implement Bloc state management for a map with filters and a searchable marker list

I am working on a Flutter application where I want to manage the state of a map using the Bloc pattern. The map has the following functionalities: Markers Display: By default, the map shows a list ...
ayoub boucactus's user avatar
0 votes
0 answers
86 views

flutter_map_marker_cluster opening of the cluster

While using flutter_map_marker_cluster is it possible to give padding to the markers that open when a cluster is clicked? Since there is an appbar on top of the application screen and a bottom ...
Mustafa Samancı's user avatar
0 votes
0 answers
13 views

Gesture events propogation in Flutter

A map application, having flutter_map and a search bar with static search results. Problem: When I drag inside the text input or the container showing the results, the drag is working on the map. ...
vsnikhilvs's user avatar
0 votes
0 answers
21 views

Unable to rotate the popup horizontally around the marker's axis

This is regarding the flutter_map plugin.I created a custom popup for my markers. However, when I rotate the map, the marker's rotation works fine, but the popup does not stay horizontally aligned on ...
Pannam's user avatar
  • 731
0 votes
0 answers
65 views

Avoid flutter Consumer widget children rebuild

I am developing an app allowing to download maps of regions and show either on a map (using flutter_map) or in a list view. While downloading a map, a progress bar must be displayed on the list view, ...
Tim Autin's user avatar
  • 6,173
0 votes
1 answer
123 views

moving the map with search location

I am recently integating the Google maps and places api and all is working but i am getting this problem that when i searches the place and suggestions come along with them but when i selects any of ...
Tanu Purohit's user avatar
-1 votes
1 answer
224 views

iOS App - Runs great on first install, poor network subsequent runs, restarting 4 times in a row "fixes" it (until next time)

I made a mobile app using Flutter. This app is data heavy (API and map tiles). It always works on Android, iOS simulators, and Windows. But on a physical iOS device, (both release and debug modes), ...
user1770223's user avatar
-1 votes
1 answer
285 views

Flutter map and polylines route

I am currently coding in flutter framework, and trying to get familiar with flutter_map, polylines and markers along with the route service. I have written the following code, but it keeps giving me ...
Asim Reyazuddin's user avatar
0 votes
1 answer
127 views

Upgrading flutter_map code to current version

I recently upgraded my flutter_map version from 3.0.0 to 7.0.2 and a lot of errors appeared on the old I have. How do do I upgrade the current code I have to the latest package version. Below is the ...
Pistis's user avatar
  • 5
-1 votes
1 answer
57 views

Hi , I'm having an error with MarkerLayer with flutter

When i try to display a showdialog inside another widget i get a The named parameter 'builder' isn't defined. Try correcting the name to an existing named parameter's name, or defining a named ...
user26507103's user avatar
-1 votes
2 answers
704 views

how do i get different map types on flutter

I am using fluttermaps to get the basic OSM (OpenStreetMap) layer to appear. it works but I am trying to add more options. Does anyone have any tips on where to go. I have this so far and its working ...
user124e's user avatar
0 votes
0 answers
307 views

Flutter draw line with custom pattern in Map

Is it possible to draw a line in Flutter with a complete custom pattern that repeats itself along the line? For example, I want to have this pattern: So if I draw a straight line, it should like like ...
Apri's user avatar
  • 1,635
1 vote
1 answer
65 views

Map for Multi List entry

I have dynamic list have multi value as dynamic number needs to convert to string like below example. when I test it in dartpad it will work only if I have one entry in (listN) but when I have multi ...
CallMe's user avatar
  • 13
1 vote
1 answer
303 views

ClientException with SocketException: Failed host lookup: 'tile.openstreetmap.org' (OS Error: nodename nor servname provided, or not known, errno = 8)

I'm using flutter_map and geolocator to access an user's location and display it on openstreetmap. The problem is that after some scrolling on the map, this error (Ios simulator: ios 17.5 with iphone ...
lunatics975's user avatar
-1 votes
2 answers
426 views

GestureDetector on markers of Flutter_map isnt working

I'm trying to create a map using flutter_maps, but when I add a GestureDetector to the markers, some errors appear MarkerLayer( markers: [ Marker( ...
Raphael Michelassi's user avatar
0 votes
1 answer
1k views

View Geojson on flutter_map

I want to display Geojson data on a map to draw polygons and points I used Flutter_map library: ^4.0.0 I tried converting from geojson to latlng and did not find a way The libraries that should help ...
bil haj's user avatar
1 vote
1 answer
362 views

Rotating an ImageOverlay specified with longitude/latitude corners in OpenStreetMap in Flutter

I have an image placed using flutter_map in Flutter, which is positioned using NW/SE corner longitude/latitudes. I need to rotate this image around its centre a specified number of degrees - I do this ...
rev_dev_01's user avatar
0 votes
1 answer
507 views

How to add map using package flutter_map?

I`m using package flutter_map to add map in my app (I do step by step in this video). My code like this: FlutterMap( mapController: mapController, options: MapOptions( initialCenter: const ...
Huy Nguyen's user avatar
0 votes
1 answer
106 views

How to make a Polyline invisible?

Am using flutter_map and at first i set up couple of markers and polylines in a way that a when a certain marker is pressed a certain polyline would show up. My problem is after that whenever i click ...
ElectricArdv's user avatar
1 vote
0 answers
205 views

Flutter Map: How can I draw a circle around the user's location marker?

How I could draw a circle around a CurrentLocationLayer from the package flutter_map_location_marker? This is what I have so far: Widget userLocationMarker(){ return CurrentLocationLayer( ...
RJrules64's user avatar
1 vote
0 answers
392 views

Flutter Map - How can I let the user draw a circle?

I'm trying to let the user drag across the screen to draw a circle. initial point of the drag would set the center and the final point of the drag would set the radius. I know I could easily do this ...
RJrules64's user avatar
2 votes
1 answer
409 views

flutter_map marker movement

I'm using flutter_map to show map and some vehicles within marker layer. I get update with their position coordinates every 5 seconds. Is there any way to animate vehicle movement between this ...
JustinasT's user avatar
  • 633
0 votes
1 answer
1k views

Flutter and flutter_map: labels rotate when map is rotating

I would like to add a map view to my Flutter app and was considering between google maps and flutter_map with Mapbox. Since custom markers seem to be a problem with Google Map and Flutter I decided to ...
Maximilian Scheffel's user avatar
0 votes
1 answer
130 views

Is there a simple way of applying blur to shapes in syncfusion_flutter_maps?

So I am using syncfusion_flutter_maps for a simple map app and I want certain areas on the map to be darkened and blurred out. I figured quite quickly how to do the darkening part with something as ...
Lukas S's user avatar
  • 23
1 vote
1 answer
643 views

Flutter_map ClientException with SocketException

I'm adding the "flutter_map" package to display OpenStreetMap on Android and iOS. It's working when I call mapcontroller.move, but I get an exception when zooming with finger gestures on iOS....
user13931873's user avatar
1 vote
0 answers
229 views

Fluttermap: Is there any way to make a polygon fill as an image?

I'm new to flutter. I want to make a mobile application where flags of countries will be shown as polygons. That is, the boundaries of the polygons will be the boundaries of countries, and the country ...
ReaLBERG's user avatar
0 votes
1 answer
361 views

How to display a Chinese map in Flutter web?

I need to show the location of a residential area in China in a Flutter Web app as a Widget. OpenStreetMap and other Western map providers like Google and Bing are insufficient because they do not ...
Hamza Abbad's user avatar
1 vote
1 answer
135 views

flutterMap remove the white stripes at the top and bottom

when using the flutter_map library, white stripes are displayed when scrolling the map up or down (https://i.sstatic.net/KGyhJ.png) How to make the map height equal to the screen height when changing ...
Ibr Dk's user avatar
  • 11
0 votes
1 answer
2k views

Error: Type 'DecoderCallback' not found flutter_map: ^0.13.1

Ihave this error: ../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_map-0.13.1/lib/src/layer/tile_provider/network_image_with_retry.dart:36:34: Error: Type 'DecoderCallback' not found. ...
Amine Daikha's user avatar
0 votes
1 answer
904 views

Flutter Map - Enlarge LatLngBounds by a certains percent/pixel

I have a map with some clusters, but the clusters are cut when I'm using LatLngBounds to center the map. I need to add a padding to ensure that all the clusters are visible. I try using this answer. ...
Velliane's user avatar
0 votes
1 answer
70 views

passing data or parameters from embedded file to main page in flutter

To be able to easily explain what I need, I prepared the following image. Shortly, I have a homepage.dart page and I embedded a map1.dart page into it. when user taps on the map, it creates a small ...
emsiloader's user avatar
1 vote
1 answer
934 views

FlutterFlow Custom Widget Error - Implementing flutter_map package from pub.dev

Summary: I'm attempting to build a custom widget in FlutterFlow using the flutter_map package from pub.dev. I think I'm getting pretty close to having the basic build working, but it is throwing an ...
Chase Starr-Kercheval's user avatar
0 votes
1 answer
1k views

Flutter iOS Emulator 'Failed Host Lookup' Error

Hello fellow developers I'm developing a location-sharing application with Flutter. When I launch the iOS emulator, I encounter a 'Failed host lookup' error. This issue is happening for both the map ...
natady's user avatar
  • 1
-2 votes
1 answer
757 views

Error when using OpenStreetMap on Flutter

How to fix this error? Error : lib/pages/osmmapstest.dart:17:9: Error: No named parameter with the name 'layers'. layers: [ /C:/Users/HP/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_map-6.0....
Asa Marsal's user avatar
0 votes
1 answer
143 views

Using ListView in Stack on top of FlutterMap widget - Map is not showing

I would like to implement horizontal scrallable ListView widget on top of FlutterMap widget. When I am using most of widgets, they are displayed in Stack (on top of) that FlutterMap, but as soon as I ...
Hrabosch's user avatar
  • 1,583

1
2 3 4 5