All Questions
Tagged with google-maps-markers dart
74
questions
0
votes
0
answers
36
views
Flutter GoogleMap Label updates
I have dynamically created Markers with LabelMarkers. I add all of them to a Set of Markers to use on GoogleMap.
static Set<Marker> allMarkers = {};
...
allLocationsList.forEach((location) async ...
0
votes
0
answers
37
views
google_maps_flutter custom markers by RepainBoundary does not move from StreamBuildeer in Flutter
I am fetching Latitudes and Longitude from cloud firestore and than i am converting those into custom markers. Than I am passing those markers into google maps Widget. Everything is working fine and I ...
1
vote
1
answer
370
views
How to calculate the Zoom Level for Google Maps based on size of Map and and Distance in Meters in Flutter?
I have a Google Map Widget in a Circle. The user location is always in the center. On the map there is a marker which the user should see right at the edge of the map but completely visible.
These are ...
0
votes
1
answer
87
views
Flutter how to toggle markers visibility in google maps
How can I toggle the visibility of list of markers in goole maps using a FloatingActionButton?
Alternatively, a switch button should also work.
This is my function to add the markers:
void addAll() ...
0
votes
1
answer
168
views
Is it possible to change the size of the 'icon' property when selecting a Marker widget in google_maps_flutter?
I'm using the google_maps_flutter package to display a map, and I want to change the size of the icon of the tapped Marker widget when it's tapped (onTap). However, I haven't been able to come up with ...
0
votes
0
answers
344
views
flutter how to draw the map direction between multiple places in flutter
Im building one application in which contains google maps. Im able to draw the draw the direction between two cities, but problem is i'll receive list of cities from server then i need the direction ...
0
votes
0
answers
20
views
When marker is moved it doesn't get back to the user location after floating button is clicked
I am trying to build google map with a floating button that when clicked it get the user location with a marker and the camera is moved towards is. I also made the marker draggable but when the marker ...
0
votes
1
answer
521
views
FlutterMap - sticky marker not moving with map
I need to create location picker with sticky marker on map center. Marker position should be always at map center and marker pin should indicate current latlng position on any map move/zoom/scroll.
...
0
votes
1
answer
19
views
How to add marker on GoogleMap first screen from an other screen
I have a main screen with a GoogleMap Widget. I display markers there. When I add a marker from a third screen to the list of markers, the list updates but the GUI does not. The first screen send list ...
0
votes
1
answer
286
views
how do I add a marker to an image by clicking ontap?
I want to do something similar, but I can't figure out how to put my image instead of a map and how to set markers by clicking. So that when you click onTap, a marker appears and saves its location.
I ...
1
vote
1
answer
266
views
How to show a widget when the marker is clicked on in gmap flutter?
I want to show a widget with the latlong info and a button when the marker is placed on the map.or clicked on marker.
this is my code to handle the markers
Future<void> addMarker(
LatLng ...
0
votes
1
answer
95
views
Marker positions got updated but the marker did not get redrawn on google map when using geolocator pub dev
I am trying to make a moving google map marker according to the user location, I use the geolocator listen function from the geolocator pub dev. The position of the markers got updated however the ...
0
votes
3
answers
2k
views
How to set a custom image as icon for gmap marker in flutter?
I wanted to add some markers in a gmap on flutter I made. I tried this code but it doesn't work. I have added link in pubspec and picture is in assets too.
Future<void> addMarker(
LatLng ...
1
vote
0
answers
135
views
Using Fluster to cluster a list of firebase documents
[I have a list of location documents in Firebase and Algolia that are displayed on my Flutter app's google map page as markers. There are over 50 location documents currently in my Firebase, but at a ...
1
vote
0
answers
458
views
How to disable animation of marker rotation using animarker package
I am using flutter_animarker: ^3.4.0-beta.1 package.
my code:
void newLocationUpdate(LocationObj obj) {
var marker = RippleMarker(
markerId: markerId,
position: obj.latlng,
...