Questions tagged [google-maps-markers]
Markers identify locations on the map. By default, they use a standard icon, though you can set a custom icon. Markers are designed to be interactive and are often used within event listeners to bring up info windows.
google-maps-markers
7,801
questions
0
votes
0
answers
120
views
How to ensure markers in Google Map Flutter don't overlap each other?
I have a Google Map with about 100+ markers with custom icons using Canvas and Painter. If the map is at a small zoom level, the markers will overlap.
I want every time I zoom or move the map, if any ...
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
33
views
How to animate the GSM marker when its tapped - iOS Swift?
I'm working with a GMSMapView in my iOS app to display multiple location markers. When a user taps on a marker, I'd like to apply a bouncing animation to it. Is there a way to achieve this? Any ...
0
votes
0
answers
34
views
Markers in the Google Map are not responding to any click actions
I have been working on an application, which uses the Google Maps and Firebase Firestore database to showcase a static list of locations stored in the Firestore database. I want the markers in the pre ...
0
votes
1
answer
116
views
Change zIndex of custom marker or move to front or mimic marker pressed on react native maps
I have a react-native-map that works by loading data in an array and displays images as markers from info in array. I have a react-native-snap-carousel running on the map that when it snaps into place ...
0
votes
1
answer
211
views
How do I set a selected marker with a ref and animate using react native and react-native-maps
I am trying to animate a selected marker using ref.
I have it so far that if I press a marker one of them jumps but not the selected one but I cannot seem to change which one is selected? Ideally I ...
0
votes
0
answers
36
views
markers won't show up on google map(kotlin-android)
first of all sorry if my grammar is bad
also i am not professional in android programming
here's the problem:
i call api to get some data(including latitude and longitude of stores)
i enabled paging ...
0
votes
0
answers
92
views
In canvas image change marker svg after click button
I have a canvas image and I have add a marker in it. The marker is a svg type. then when i click a button i want to change the svg into another svg. how do i do it?
It works. Now I want to click on ...
1
vote
1
answer
61
views
What is the difference between those two Google maps api markers?
I have two different apps that uses google maps api in android studio. In one the markers demand a state and the other demands a position. I cannot change one for the other because it causes an error. ...
1
vote
0
answers
223
views
Google Maps Compose : MarkerComposable Fatal Exception: java.lang.IllegalArgumentException: width and height must be > 0
I'm working with Google Maps Compose and now I get some Firebase crashes related to markerComposable
I know that this exception happened because of createBitmap but I don't have access to it even to ...
0
votes
1
answer
45
views
GMSMarker infoWindow - data not updating
What I am trying to accomplish is to refresh the map every X seconds. When doing so, I want to update the content of info window of selected marker. However, the marker data is updated (tried with lat/...
0
votes
1
answer
179
views
Placing Marker in MapKit using SwiftUI
I am trying to adjust the extent of map in the Map() statement. This is for a golf app, and depending on the hole location I want to limit the map extent for that particular hole. The current code ...
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 ...
0
votes
1
answer
141
views
How to insert a svg image marker inside canvas image
I have a problem to solve. In my canvas image I put a marker but this is image type "png", I would like to have an icon svg so I can change the colour.
This code is working, i need to change ...
0
votes
0
answers
33
views
No Info Window for markers
From external file:
const pos=[
[50.739,7.0894,0,9,0],
[50.839,7.1894,10,10,100],
[50.939,7.2894,10,11,50]
];
This is my code:
<script>
function initMap() {
const map = new google.maps.Map(...