Questions tagged [fluttermap]
The fluttermap tag has no usage guidance.
fluttermap
213
questions
0
votes
0
answers
18
views
Error message by flutter toast "Bad state: No element" using Geocoder2
I am trying to use Geocoder2 in my project and facing the issue as mentioned above,
Here's how I am using it .
getAddressFromLatLng() async {
try {
GeoData data = await Geocoder2....
-1
votes
0
answers
22
views
how to view FlutterMap?
I used this flutter code to view map but the error "The named parameter 'children' is required, but there's no corresponding argument. (Documentation)" in body: FlutterMap
import 'package:...
0
votes
0
answers
25
views
How to change a baseUrl in a widget using a toggle switch?
Very new flutter user here. I am using the flutter_map and the toggle_switch packages. I want the toggle switch to change the base map when selected, but I'm really lost on how to set it up.
My ...
0
votes
0
answers
26
views
How to remove the previous polylines after setting a new waypoint... Google Map with flutter
To clear previous polylines after setting a new waypoint on Google Maps with Flutter, you can follow these steps: first, maintain a reference to the previous polyline object. When adding a new ...
0
votes
0
answers
109
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 ...
1
vote
1
answer
53
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 ...
0
votes
0
answers
51
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 ...
-1
votes
2
answers
106
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(
...
0
votes
1
answer
413
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 ...
1
vote
1
answer
142
views
Rotating an ImageOverlay specified with longitude/latitude corners in Open Street Maps 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 ...
0
votes
0
answers
136
views
Flutter Map Marker Rotation
I have trouble using the flutter map marker and rotating it based on the user heading. My app requires custom GPS coordinates, so I cannot use a built-in marker option. I need some way to rotate a ...
0
votes
1
answer
243
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 ...
0
votes
0
answers
43
views
apple_maps_flutter - I want to use an image as a marker on the map [duplicate]
I get the following error when using the code in the photo:
The argument type 'Future' can't be assigned to the parameter type 'BitmapDescriptor'
0
votes
0
answers
59
views
Custom polygon by user in Map and Interactive marker in Flutter
I need to create game such as crop. User can create polygon (crop) in flutter_map. It is okay, I got it. But there is circle in center of map. I want when it above first marker of polygon, then ...
0
votes
1
answer
89
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 ...