25,005 questions
Tooling
0
votes
2
replies
92
views
How to implement an interactive alumni map with clustering and sidebar in React (Leaflet or Mapbox)?
I am building an alumni networking web application where I want to display alumni locations on a global map along with a sidebar list.
I want to implement the following features:
A world map with ...
-1
votes
0
answers
117
views
Google Solar API buildingInsights returns significantly smaller roof area
I am building an application to extract solar potential data for commercial properties using the Google Solar API (buildingInsights:findClosest).
For most properties, it works perfectly. However, I am ...
Advice
1
vote
2
replies
59
views
navigation_points in Geocoding API
https://issuetracker.google.com/issues/474385522?pli=1
We recently posted a discussion on the google issue tracker about the navigation_points in Geocoding API and had an update from the google team ...
Tooling
1
vote
2
replies
85
views
Which Maps API (Ideally JS) offers the best street detail (Like Apple Maps mobile)
Apple maps on mobile has amazing street detail right down to bus stops and road lines, plus accurate street and pavement widths:
Interestingly though when using the Web API for Apple Maps I can't see ...
1
vote
1
answer
176
views
How to extend zoom level beyond available WMTS tiles in Google Maps JavaScript API?
I'm working with WMTS tile layers from geoservices in the Google Maps JavaScript API. My issue is that the ORTHOPHOTOS layer has a maximum zoom level of 19, as no tiles are available beyond that (...
-1
votes
1
answer
145
views
How to access the actual Google Maps 3D canvas? (Needed for streaming)
I want to get the actual canvas of the Google Maps 3D html element to call a captureStream on it, because I want to stream the footage somewhere.
I am using the google maps beta channel.
Now the ...
1
vote
1
answer
94
views
How can I get the index of a google maps polyline path which is clicked
I have the following code to catch the polyline click
localPolyLine.addListener('click', (e) => {
});
Let's say the localPolyline has many points in it's path.
How can I get the index of the path ...
0
votes
1
answer
81
views
Some Maps Platform quotas are meaninglessly named `(Unlabeled limit)` for the Maps Javascript API, `gcloud alpha quotas info` not working either [closed]
In the Google Cloud console, Google Maps Platform section, some quotas are just listed as (Unlabeled limit) as can be observed in the attached capture.
Is this expected or is this a bug?
I tried to ...
1
vote
2
answers
241
views
Google maps place id refresh
I have a relatively simple question, I can't find an answer for. I'm using the google places api and store the ids. However the documentation states, that refreshing placeId is free of charge. It's ...
0
votes
1
answer
164
views
How to remove padding from Google Maps InfoWindow in Vue 3 to make image cover full popup?
I'm building a Google Maps component using vue3-google-map, and I want the image inside the InfoWindow to fully cover the popup — edge to edge, no default padding.
The problem is that Google Maps ...
0
votes
2
answers
347
views
NextJS + React Google Maps Api not working on production build
I have dependencies
"dependencies": {
"@react-google-maps/api": "^2.20.7",
"next": "15.4.1",
"react": "19.1.0",
&...
-1
votes
1
answer
123
views
Sometimes getting the wrong destination when using google maps distance_matrix API
I have a python script that uses distance_matrix from the Google Maps API (yes I know this is now legacy and replaced by routes, but I'm updating an older piece of code and don't really want to change ...
3
votes
0
answers
531
views
Google Maps embed iframe throws 'Uncaught Error: Nc' in console
I get this error on multiple sites when I'm using Google Maps embed:
Uncaught Error:
Nc https://maps.googleapis.com/maps-api-v3/api/js/61/3b/intl/hu_ALL/main.js:46
oaa https://maps.googleapis....
2
votes
0
answers
146
views
Google Maps types are outdated while updating google.maps.places.Autocomplete to google.maps.places.PlaceAutocompleteElement
I am using google.maps.places.Autocomplete in my project, as you can see, and getting a warning:
"js?key=YOUR_API_KEY&libraries=drawing,geometry,places:83
As of March 1st, 2025, google.maps....
0
votes
2
answers
770
views
Deck.gl causing "TypeError: Cannot set properties of undefined (setting 'adapter')" with vite dev mode
I have a React project that uses Deck.gl. The app has been working fine for several weeks, and is in production without issue. However, today, while developing, the app started crashing with these ...
0
votes
1
answer
145
views
Google Maps JS API – heading and tilt not working despite using vector map with mapId
I'm trying to enable tilt and heading rotation on a Google Map using the @react-google-maps/api library in a React app.
I have:
Created a Map ID via Google Cloud Console with:
Map type: JavaScript
...
-1
votes
1
answer
365
views
How to highlight region boundaries (country, state, county) on Google Maps like Azure Maps?
I'm trying to build a feature using the Google Maps JavaScript API where users can search for a region (such as a country, state, or county) and have that region's boundary automatically highlighted ...
0
votes
0
answers
65
views
Googlemaps API Loader setMap(null) not working on vue
I have this vue component
<template>
<div>
<div ref="mapContainer" style="width: 100%; height: 500px"></div>
<div v-if="routeInfo.distance&...
2
votes
2
answers
353
views
JavaFX 21.0.6 WebView problem loading Google Maps v3.58+ on Windows 11
Included below is a minimal application that attempts to load Google Maps using a JavaFX 21.0.6 application (compiled using the 21.0.5 JDK).
On a Windows 10 machine the code works as expected, but it ...
-2
votes
1
answer
127
views
Places API "REQUEST_DENIED (This API project is not authorized to use this API.)"
Places API (New) not working and returns "REQUEST_DENIED (This API project is not authorized to use this API.)"
I already activated the API and even removed all restrictions. I'm also using ...
5
votes
2
answers
621
views
Google Maps API – "This API project is not authorized to use this API" (REQUEST_DENIED)
I'm currently working on integrating the Google Maps API into my project and have enabled all required APIs, including:
Maps JavaScript API
Directions API
Geocoding API
Places API
Distance Matrix API
...
1
vote
0
answers
53
views
Can I use Cloud Google Maps Styles on mapTypeId other than roadmap?
I'm trying to use hybrid mapTypeId, but hide Point of Interest pins.
So I have a style set up in Maps Management with PoIs visibility hidden - however this is a roadmap style and when I use on my JS ...
6
votes
2
answers
4k
views
Google Places API (New) Autocomplete not working
I am trying to setup a map using the Places Autocomplete service so I can type an address and plot it on a map. I am using the @googlemaps/js-api-loader npm package to load.
The version when using ...
0
votes
1
answer
186
views
3.58 Breaking Change?
My mapping application broke with the upgrade to Google Maps JavaScript API v3.58 and above. I am trying to create a new google.maps.Polyline using a custom class that extends the Polyline with a few ...
1
vote
1
answer
134
views
How to limit google maps auto complete to only one country?
I have tried everything so my search input only gives autocomplete options from the Dominican Republic but I have not been able to achieve it, does anyone here know how to do this?
<input
type=...
3
votes
2
answers
1k
views
AdvancedMarkerElement do not display on the map
Description of the issue
I have a vue app that worked with the legacy markers and i am moving to the new AdvancedMarkerElement. However, i am unable to make it work.
The whole logic works, listerners ...
0
votes
1
answer
137
views
How to detect when a user enters or exits an expressway using Google Maps API in Android?
I'm building an Android app where I need to detect when a user enters or exits an expressway.
I’m using the Google Maps API to track a user’s location in real-time.
How can I identify if the user is ...
1
vote
0
answers
62
views
Routes API is not returning the train route
I am using route API
https://routes.googleapis.com/directions/v2:computeRoutes
This is the body I am sending
"origin": {
"address": "Delhi"
},
"destination": {...
0
votes
1
answer
220
views
Deckgl + google maps click event
I have a polygon and a ScatterplotLayer, and both the polygon and ScatterplotLayer have click events. These click events work fine until the layers overlap. When the ScatterplotLayer is overlapped by ...
1
vote
1
answer
215
views
Change advancedMarkerELement position on drag event in order to be moved on a straight a line
I have changed from markers to AdvancedMarkerElement in google maps api.
I want to drag the marker in a straight line and I achieved this with the old Markers.
The logic is to calculate and reset ...
0
votes
1
answer
183
views
Google Places Autocomplete API limit to residential address
Is there a way to limit google places autocomplete type to just, home address, condominium, flat, apartment or residential building? (for property listing)
Looking at the Place Types in https://...
1
vote
1
answer
423
views
How to avoid getting a 404 Error on Google Maps Routes API
I am trying to use Google Routes API, however it is returning a 404 error. No information on the network tab or anywhere else gives any indication of why this is happening so it is almost impossible ...
0
votes
0
answers
74
views
how to make the longitude and latitude lines on map disappear in google maps api [duplicate]
I have this map in js code in google map api, and I cannot find solution how to make longitude and latitude lines on map disappear.
An image showing the longitude and latitude lines I want to remove
...
-2
votes
1
answer
333
views
Uncaught (in promise) TypeError: Spread syntax requires ...iterable[Symbol.iterator] to be a function [closed]
as title writed. i got this error in google map api 3.59.1.
for some reason, i use leaflet + googleMutant to drive google map api.
since 2024/11/21 the 3.59 new one was pernounced, i try to change to ...
1
vote
0
answers
122
views
Google Maps API (Cloud Platform) How to change this text color using style editor (instead of JSON Array)?
When I changed the text fill color and stroke color it appears all fine on the preview Custom Maps editor, but when I applied the custom style to map-ID, and use the map-ID in javascript, the text ...
0
votes
1
answer
2k
views
Cannot find native module 'ExpoLocation', js engine: hermes
I'm trying to import the expo-location in my react-native app with expo.
I installed the library with this command:
npx expo install expo-location
And importing it:
import * as Location from 'expo-...
0
votes
0
answers
157
views
Google Maps: Over 200 markers and clustering - Slow
I get the data async from the backend so there is not really a way to load it from memory.
I created the map like this
@Composable
private fun HoaxLocatorScreen(
cameraPosition: ...
2
votes
0
answers
110
views
How to Prevent Google Maps ImageMapType Overlay from Overloading and Freezing During Rapid Zooming in React
I'm using the Google Maps JavaScript API with React and TypeScript to add a custom ImageMapType overlay with dynamically generated tiles to a map. My application retrieves tile URLs through the ...
-1
votes
1
answer
61
views
on Google maps, how to have infowindow come up for different circles that are layered on top of one another but are different radii? [closed]
I have a map with a form above it. The user enters an address and the map places four circles of various radii around that address. I want the user to be able to click each of the circles and get an ...
-1
votes
1
answer
230
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
93
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 ...
-3
votes
1
answer
348
views
google new text search api returning data out of bounds
I’m using Google’s new Places API with the Text Search feature, but I’m running into an issue. Often, when I search for a keyword in a specific location, I get results that are far outside the desired ...
-1
votes
1
answer
312
views
How to restrict autocomplete suggestions to given state? [closed]
I have an address form and I'm using Google's Places Autocomplete (new) API to autocomplete the fields.
I have 3 fields:
country
administrative_area_level_1 (State / Province)
locality (City / Town)
...
0
votes
1
answer
144
views
Google Maps API onClick event: how to reduce the debounce delay for multiple or fast clicks?
I have implemented the regular strategy for getting the onClick event on the google maps api:
map.value.addListener("click", (event) => {
onClick(event);
});
This works well for most ...
1
vote
0
answers
175
views
I keep getting a Pod install error in terminal
I'm trying to use the google maps SDK api for an xcode (version 16.0) project, I downloaded Ruby 3.1.0 using Rbenv, and I have Cocoapods (1.15.2) downloaded. I verified that I'm using Ruby 3.1.0 by ...
-2
votes
1
answer
193
views
Integrate Google Maps static API with email AMP [closed]
We would like to submit a form in email created with AMP4EMAIL to Google Maps Static API and retrieve an image to be displayed in the email according to the form submission.
How can CORS requirement ...
0
votes
1
answer
81
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
993
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
0
answers
137
views
Use Google Maps API within a chrome extension
Since manifest v3 doesn't allow the injection of a script directly into the popup.html In Chrome extensions,
How can I use the Google Maps API inside the extension UI as I can't include the script ...
3
votes
3
answers
2k
views
Add placeholder text to NEW PlacesAutocompleteElement
The Google Places Autocomplete API used to just use an <input> as the search field. So you could just add <input placeholder="Search">. Now the docs tell you to append a <...