Questions tagged [google-maps-api-3]
Google Maps JavaScript API Version 3 lets you embed the functionality of Google Maps into your own website. Version 3 provides greatly improved support for mobile devices. Ask non-programming and licensing questions in the Maps API Google Group (see full description for a link)
google-maps-api-3
25,122
questions
-1
votes
0
answers
6
views
Can enterprise apps use their own Google API keys in my app?
I am building an enterprise app that is using google maps API. I see an interest from their side to use their own Maps API keys, instead of my own for the app. It simplified billing for my app and ...
0
votes
0
answers
20
views
Refresh page very slow when the program is deployed and runs with IIS (fast via visual studio)
I am programming a blazor server site and I am trying to test it locally with IIS.
The site loads fast and runs fast but if I refresh the page it is extremeley slow.
I don't face the same problem when ...
-1
votes
0
answers
12
views
Google Maps distance matrix api. Passing more than 25 origins
I have about 100 coordinates of places and would like to find the distance matrix of each of the element to other 99 in the list.
I can create all possible combination of origin, destination pairs and ...
-1
votes
0
answers
40
views
Uncaught in promise error when importing js file. Using google maps API
import stadiums from "../stadiums";
const ArizonaCoordinates = [
stadiums.BUF,
stadiums.ARI,
stadiums.ARI,
stadiums.ARI,
stadiums.SF,
stadiums.GB,
stadiums.ARI,
...
-1
votes
0
answers
19
views
Styling polygons previously styled under Landscape feature type in new Cloud Based Styles
In the editor for legacy styles, the polygon layer in green below (a contextual layer with visibility at zoom levels > 16) could previously be styled under the "Landscape" feature type in ...
-2
votes
0
answers
26
views
How to dynamically highlight the boundaries of a postal/zipcode or a location in Google Maps? [duplicate]
I have a list of locations and I want each of them to be displayed in a map and every location boundaries should be highlighted.
For example, the location "Beaumont, AB T4X"
It should ...
-2
votes
0
answers
24
views
Icon click triggering map (POI) label Instead of icon
I am rendering icons using the IconLayer in Deck.gl.
I'm reaching out to ask for your assistance with an issue I'm facing while integrating Deck.gl v9.0.25 with google-maps-api-3 in my React project. ...
0
votes
1
answer
35
views
Getting Invalid Argument error from Google Business Profile API while trying to create a location
I am using Google's Business API to add a location from my Node.js application, but I'm encountering the following error:
{
"error": "Request contains an invalid argument."
}
...
0
votes
1
answer
55
views
Is Leaflet.js with google tilelayer legal or not? [duplicate]
We are building traveling website and we are planning to use Maps API a lot. Because price per 1k request is high, we are investigating cheaper options. I noticed however conflicting articles about ...
1
vote
1
answer
106
views
Draw AdvancedMarkerElement on center of its position
I am drawing google.maps.markers.AdvancedMarkerElement's on a map.
I use them as handles/control points to change the path of a polyline.
They are drawn with a custom shape(basically a rectangle).
The ...
-2
votes
0
answers
10
views
Migration to Google Maps Cloud Styling API
I has been noticed recently that there is migration to Cloud Map as on March of 2025.
I'm currently using hardcoded styling at my app, like so:
const mapOptions = {
center: { lat: -33.8688, lng: ...
0
votes
0
answers
58
views
Google Maps JavaScript API: Map turns grey with "Sorry, we have no imagery here" when zooming in
I am experiencing issues with the Google Maps JavaScript API in my Next.js application. When I zoom in on the map, I receive the message "Sorry, we have no imagery here" and the map turns ...
-2
votes
0
answers
30
views
how to get autocomplete address with lat,lng in the given raduis
I'm using this :
<script src="https://maps.googleapis.com/maps/api/js?key=Key&callback=init&libraries=places" defer></script>
for the places autocomplete address js api
...
-1
votes
1
answer
94
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 ...
0
votes
0
answers
27
views
XMLHttpRequest error when trying to run google map project on web
Access to XMLHttpRequest at 'https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=51.0427136,13.7101312&radius=10000&key=A' from origin 'http://localhost:64496' has been ...