All Questions
Tagged with google-maps javascript
20,353
questions
-1
votes
0
answers
20
views
Google Maps Places API: Is there a form to retrieve many places based in placeId using a single query?
I'm getting a list of places using service.getDetails(placeId), but this forces me to do a query for each placeId. The Google docs don't clearly explain if there's an option to get a list of places ...
-1
votes
1
answer
67
views
how to change color of a google maps v3 Marker icon [closed]
I'm placing a series of google maps Markers on a page using an array of points and a circle as an icon.
Once all the markers are on the page, I want to change the fill color of one of the Marker ...
-4
votes
1
answer
61
views
Why does Google Map restrict the zoom if the origin and destination are the same places?
I have a use case for a map that requires showing a marker with the same lat/lng for it's origin and destination.
However, I find that it often results in these:
Image
where the marker is not centered ...
-2
votes
1
answer
33
views
Google Maps Autocomplete started giving "This page can't load Google Maps correctly" Error
I have a React + Typescript application that displays an address text input and a map. I have connected Autocomplete to the input element and everything was working fine. I built it and deployed it ...
0
votes
0
answers
25
views
How to load google map javascript API in phantom js?
I am trying to load google map JavaScript API in phantom js but failed to load.
`var page = require('webpage').create();
//Handle console messages
page.onConsoleMessage = function(msg) {
console....
0
votes
0
answers
40
views
How do you change the icon of a Google maps cluster on click?
In an angular app I've inherited there's a map of vehicle positions. What I'm to do is group them and make it possible to click and show which vehicles is in that group. When a group is clicked I need ...
0
votes
1
answer
70
views
React-native geolocation api, Heading is always Zero. Unable to show realtime accuarate movement (android)
Its shocking that react-native-geolocation package is unable to show the real-time heading of an android device despite the lat and lng are updated in real-time and the device moves. I refrain from ...
0
votes
1
answer
70
views
How to clear the polylines when the itinerary change?
I'm loading a page with a map and routes already loaded.
We can change the origin, destination and transportation mode with this form :
<div id="formulaire" class="box">
...
0
votes
1
answer
270
views
How do I change the font size of text in a marker in the new 3.58 version of google maps?
Was using Google maps as usual when one day the font size of text in the markers seemed to have increased. Looked into it and found out it was due to the recent update to 3.58. I could go back and use ...
-2
votes
1
answer
40
views
Why do I get false when I use containsLocation and isLocationOnEdge in Google map [closed]
Using the Polyline method, I am trying to draw a polyline on Google Maps on a Desktop environment using the Google Map API. If I click or get a mouseover on a line then I would like to show a dialog ...
1
vote
0
answers
18
views
Map pin background color 1st pin marker dissapears (or only last one is displayed) [duplicate]
I believe the answer marked as accepted i not correct - scroll down there is a better solution offered by Christian Robles
I have the code below, the moment I place the second marker the 1st one is ...
0
votes
0
answers
50
views
Google Places Autocomplete Not Working for Address Input Field
I'm implementing Google Places Autocomplete on an address input field in my form. Despite setting up the autocomplete functionality, it does not seem to be working as expected. The input field does ...
2
votes
2
answers
138
views
Issue with displaying a location on Google maps using Java+JavaScript+JavaFX
I've been trying to create a Java desktop app using Java, JavaScript and JavaFX and one part of the app should be able to display a location on the map using the location of the venue taken from the ...
-2
votes
1
answer
46
views
Combine heat map data and different markers data in one Google Map
Can you combine heat map & markers on one Google Map? The heat map will show crime incidents while the markers need to show neighborhood watch members.
So far I can get either or of them to show, ...
0
votes
0
answers
36
views
NextJS -Server-side filtering of map-data
My requirements:
Fetch data from DB in server component
Show that data via markers on a map in child client component
The data fetching should include filters in the DB query depending on the map ...