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
5,345
questions
-1
votes
1
answer
32
views
Trigger Google Maps advanced marker glick from HTML link
I'm in the process of updating an old Google Maps script to use the new advanced marker format. Everything is working fine in terms of dynamically generating the markers based on an array of ...
-2
votes
0
answers
25
views
Migrating google maps api Marker to AdvancedMarker, properties not found [closed]
I'm doing a migration of google map markers from google.maps.marker to google.maps.marker.AdvancedMarkerElement , but the problem is when i try to use old properties visible, clickable from marker i ...
0
votes
0
answers
16
views
Markers listener overwrites KML listener
I'm developing GIS-app in Kotlin using Google Maps API. There are some markers loaded from KML-files. Clicking on these markers - displays attributes information in a bottom sheet fragment.
kmlLayer....
-1
votes
0
answers
36
views
Npm google.maps - AdvancedMarkerElement does not have all the functions as of Legacy Marker element
I needed to use AdvancedMarkerElement in my Project so have installed Npm package google.maps
"@types/google.maps": "^3.55.11"
But when i tried replacing marker with ...
0
votes
0
answers
12
views
How to have two different markers and colors for different hues?
I am trying to plot a graph where there are two conditions and each condition must have different markers and different shades of the same color. But I am getting error
ValueError: Unrecognized marker ...
-2
votes
1
answer
463
views
Google maps api error: "The map is initialized without a valid Map ID, which will prevent use of Advanced Markers"
When I'm loading google maps with advanced markers I get the following error message.
The map is initialized without a valid Map ID, which will prevent use of Advanced Markers
What does this tell me?
...
-2
votes
0
answers
29
views
Showing multiple markers wher provide only one marker coordinates
`Showing 2 marker one with exact coordinates given and one marker at another location where coordinates may be of previous location not specified in current condition.The marker moves according to the ...
-2
votes
0
answers
17
views
Google map API clickable links marker
Who can help me out with the Google maps API?
I have an issue with my HTML marker and hope somebody can help me a little.
below my code:
<script type="text/javascript">
let map;
async ...
0
votes
1
answer
37
views
how to set new color for legacy google map marker
I'm using a legacy version of google maps.
I set up my markers like this, using Json data to fill in the variables:
var marker = createMarker(marker_id, point, course_name, phone, holes, ninefee, ...
1
vote
0
answers
33
views
AdvancedMarkerElement not showing in any type of modal
let markerLibrary: google.maps.MarkerLibrary | null = null
let placesLibrary: google.maps.PlacesLibrary | null = null
let mapLibrary: google.maps.MapsLibrary | null = null
const marker = await google....
0
votes
0
answers
19
views
What is the exact size of the default marker in Maps SDK for Android?
I would like to know the default dimensions of the marker that is used by the Maps SDK. I have only found information about the maximum dimensions (64x64 px), but I couldn’t find a definitive answer ...
0
votes
0
answers
17
views
In google map, how to show continuesly label like infoWindow with marker data in flutter?
I have list of vehicle gps tracking data with Latlng, time and vehicle speed with every element of list i am updating marker locatin with element Latlng, but i also want to show time and vehicle speed ...
0
votes
0
answers
32
views
How to link to marker on Leaflet map from another URL
This works perfectly for activating a popup on a leaflet map on the same page:
{<a class="mplk" href="#where" onclick="t5.fire('click')">See on map</a>}.
The ...
1
vote
1
answer
18
views
Problems with scaling icons when fitting scaling to match the markers
I have a problem with resizing markers on a map. I am adding a number of markers to a map and using "bounds.extend(marker0.position); and Map.fitBounds (bounds);" to set the initial scaling. ...
0
votes
0
answers
32
views
Google maps ios marker location issues
I am using google maps in ios. Every thing is working fine in simulator and device but when I search address using placeclient and select it then marker place a different location.
https://drive....
0
votes
0
answers
63
views
Is there a way to have Advanced Map Markers render in the map canvas instead of on top of it in the DOM?
Currently my team and I have been researching how to improve map performance using the Google Maps API for our software application. The app we are working on needs to support thousands of Markers and ...
0
votes
1
answer
28
views
RememberMarkerState doesn't work correctly
We have developed an application using Compose and using version 5.0.1 for the map screen and to add markers.
After moving and stopping, we make a request to the server and receive a response with a ...
0
votes
1
answer
30
views
R plot_ly How to set the color of markers in add_markers() with my own color vector in a correct mapping way
My data frame looks like this:
Column A
Column B
Column C
7
groupA
red
8
groupA
red
5
groupB
grey
4
groupC
blue
5
groupD
yellow
Here is my code:
p <- plot_ly(df) %>%
add_markers(...
0
votes
0
answers
21
views
highcharts: show tooltip only when hovering over marker
How to make a tooltip for a chart of LINE type displayed only when hovering over a marker (point) of this chart and not displayed when hovering over a curve between two neighbouring markers (points)?
...
-1
votes
1
answer
53
views
Deleting specific markers from an android app
I am populating an array of markers on an Android app, so that I can manipulate them, with a change of icon, etc. if necessary. This is done on the fly,
so that the markers are removed from the map, ...
0
votes
1
answer
50
views
Leaftlet divIcon with clickable button
I'm working on leaflet and I wanted to add click event for a icon in the custom divIcon as below,
If user clicks on the edit(pencile) icon then click event should trigger,
Here is the code I'm ...
0
votes
1
answer
61
views
How to show current position marker on Map in Android (Kotlin)?
I am trying to add a marker at my current location on the map, but for some reason, my current location is null even though I have my location turned on in my emulator. It seems to be an issue with ...
0
votes
0
answers
16
views
React ApexCharts: Adding Emojis to Data Points with Goals
I am on React project using ApexCharts to display data, and I'm trying to add emojis to specific data points that have associated goals.
I have tried adding emojis using the markers ,annotations ...
3
votes
0
answers
247
views
React Google Maps API MarkerClusterer rerender
I'm working on a proximity app. The database contains longitude, latitude and a geohash of each item. The client supplies GPS coordinates to the server. The server then converts those coordinates to a ...
0
votes
0
answers
61
views
I need accurate screen cordinates to pass for magnifer widget in Flutter
This is with the magic numbers This is without magic numbers I am trying to add raw magnifier widget on the google map marker which activates when marker is dragged, i cannot wrap the marker as it ...
0
votes
0
answers
28
views
Plotly - scatter markers - assign a chosen color
Here's the code I'm trying to get working:
import plotly.graph_objects as go
from plotly.subplots import make_subplots
Prod=[450000, 500000, 420000,300000]
colors = ['rgb(215,209,209)','rgb(170,170,...
0
votes
0
answers
41
views
Jetpack Compose Clustering sometimes show default markers
I have a screen that contain a list of custom markers with clustering and works fine. The problem is sometime after open de screen my google maps show my customs markers AND the default markers on the ...
-2
votes
1
answer
64
views
Is google chart geo with "markers" paid? [closed]
I need to use google geo charts with the markers to build a world map chart, and create something like this
But the docs say "Note: Because markers require geocoding, you'll need a mapsApiKey.&...
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
158
views
AdvancedMarkerElement: making drag behaviour more like legacy Marker
With the legacy Marker, when dragging a marker there is a nice little crosshair to give the impression of a precise positioning movement, and this crosshair disappears automatically at the end of the ...
1
vote
1
answer
86
views
Issue w/ dynamic google maps markers with marker clusterer(likely a misuse of useEffect/useRef)
I'm trying to use marker clusterer with filters for the markers, initially all markers are shown/listed on the map, when a filter(a checkbox input) is checked/applied, only a subset of the markers ...
0
votes
0
answers
44
views
In Magic Leap 2 Marker Detection is not accurate. Unity
I have used a the code provided by magic leap for marker detection. the object is in world space, all the XR rig and main camera is at its origin or 0 position. It seems that selecting ArUco Dict does ...
0
votes
0
answers
47
views
When Click on marker in Google Map, App crashes
public class MainActivity extends FragmentActivity implements OnMapReadyCallback,
GoogleApiClient.OnConnectionFailedListener {
//google map object
private GoogleMap mMap;
@...
0
votes
1
answer
120
views
How to Dynamically Set Zoom Level to Display Two Markers on Google Maps in Flutter App screen Without Scrolling?
I'm working on a Flutter application that utilizes Google Maps. In my app, I have two markers: one representing the user's location and the other representing the pet's location. I want to set the ...
0
votes
0
answers
50
views
Rendering markers in GmapControl WinForms
I need advice, because I don't know what to do anymore.
I have a GPS where I use UDP to send a log at a speed of 100x per second.
I'm using the Nuget Gmap.NET.WindowsForms wrapper to display the ...
0
votes
0
answers
80
views
Is there a way to determine if I've loaded a google maps library, like marker?
If I dynamically load a library like this:
const { AdvancedMarkerElement } = await
google.maps.importLibrary("marker") as google.maps.MarkerLibrary;
is there any way to determine if the ...
4
votes
1
answer
561
views
How to specify anchor in AdvancedMarkerElement?
Since support for google.maps.Marker ends on February 21, 2024, we are considering migrating to google.maps.marker.AdvancedMarkerElement.
I replace the marker icon with an image, but I don't know how ...
1
vote
1
answer
150
views
map migration : google.maps.marker.AdvancedMarkerElement
I am trying to migrate in accordance with the changed regulations of Google Maps.
google.maps.Marker -->
google.maps.marker.AdvancedMarkerElement
however, It is difficult to edit the information ...
-3
votes
1
answer
39
views
How to get two Google Maps Markers at a fixed pixel distance
I've been struggling for hours looking for the solution to my question: I need to place two markers around the center of the map, allowing enough space for not having any overlay between them, ...
0
votes
0
answers
34
views
Remove markers on a map
so I try to make a website in HTML, CSS and javascript where we can add markers from a csv and remove them if we want.
Vue.createApp({
data() {
return {
map: null,
...
0
votes
2
answers
42
views
In chrome, The pin is placed somewhere other than where click on leaflet
I have a leaflet map in an html page (I put my code below). When I open it in chrome browser and click on the map, it puts the pin somewhere other than where I clicked. But it works fine in FF browser....
2
votes
1
answer
895
views
google maps E/FrameEvents( 8755): updateAcquireFence: Did not find frame
I have implemented google maps (maps SDK for android) in my flutter app to show users on the map which used to work very well without any problems.
However, all of a sudden, the next day I am running ...
0
votes
0
answers
44
views
Add SVG marker to SVG Map using JS
I would like to add a SVG marker to a SVG Map that is in an iframe tag. The add is done via the press of a button on the HTML page.
<input type="button" onclick="addMarker()">...
1
vote
2
answers
1k
views
Google Maps API: Unable to Generate Custom Map Pins using "chart.apis.google.com"
I'm currently working on a project where I need to customize map pins for markers in Google Maps API. I've been using the URL format provided by Google Maps API to generate custom map pins dynamically,...
0
votes
0
answers
20
views
Why the callout is not above the AnimatedMarker ? (React Native Maps)
I don't know why the callout is having this behavior, my theory is because of the AnimatedMarker.
The callout is not lock above the marker.
return <MarkerAnimated
ref={(el) => (marker....
3
votes
0
answers
72
views
How to get loaded ref array on the first component load
I'm having some issues updating a reactive object in a Vue.js 3 project. I'm creating an array of google.maps.marker.AdvancedMarkerElement, and I'm creating the array like this:
localizaciones.forEach(...
0
votes
0
answers
27
views
Flutter Google Maps - Custom Markers From Firestore string
I have been trying to figure out what is wrong with the following code as it has no errors... I am trying to pull from a firestore collection which contains String fields that have the url to the ...
1
vote
1
answer
130
views
Android Maps Compose | MarkerState.setMarker IllegalStateException
I currently have an Android application built with Jetpack Compose on the Play Store with android-maps-compose librairie. For several days now, I've been receiving reports of recurring crashes from ...
0
votes
0
answers
87
views
Add shadow to MarkerComposable of Google Maps in Compose
I have a map implemented with Google Maps and I use a MarkerComposable to create a custom marker. So far, so good. But I need to add a small elevation with its shadow, and even though I pass it as a ...
2
votes
1
answer
465
views
MarkerComposable content (Google Maps) doesn't recompose in Compose
I have created my own marker with MarkerComposable because I want to add an animation when the icon is clicked. I want the selected marker to become larger when clicked. I can think of two options: ...