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,128
questions
0
votes
1
answer
25
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
7
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: ...
-2
votes
0
answers
15
views
Google Place Reviewers Reviews Details
For each user who has reviewed particular Google maps place with unique "place_name", I would like to get the information about all the reviews and ratings dates to other places that were ...
-4
votes
0
answers
22
views
NO_RESULTS return from directionsService.route() [closed]
I'm currently using Google's Directions API, and I stumbled upon an issue.
For some reason, a lot of my calls to directionsService.route() to receive the duration of the itinerary seem to return ...
-1
votes
0
answers
16
views
Language error in json returned by Google Map API [closed]
I am developing with the google map api. When I use the Text search API, I set the parameter languagecode='zh-TW', but the primaryTypeDisplayName field in the returned JSON returns en.
I used it last ...
-1
votes
0
answers
29
views
Google Maps MVCArray notify() does not work? [closed]
I want to notify another class of a change in an MVCArray.
It would be best if I was able to pass an index where data has changed.
So I looked into the docs and found MVCArray.notify()
I have three ...
0
votes
0
answers
36
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 ...
-3
votes
0
answers
26
views
Google map geocoder api gives Plus code rather proper address [closed]
Edit:
The question was not well understood by many hence I'm rephrasing the problem.
The following API https://maps.googleapis.com/maps/api/js/GeocodeService.Search with lat-lng params address in form ...
-3
votes
1
answer
68
views
Google Maps Error google.maps.LatLng is not a constructor [closed]
forgive me for asking a question that has been asked before. I am having an unusual problem with Google Maps that started about 3 days ago. No one has touched any code for this section and it just ...
-2
votes
0
answers
28
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
...
-2
votes
0
answers
43
views
Using Google Maps Tiles API with OpenLayers [closed]
I have found online documentation on openlayers.org stating that Google Maps Tiles API can be used with OpenLayers. This is the link: Google Maps
I'm currently using Google Maps API with Openlayers by ...
-1
votes
1
answer
71
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
43
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
21
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 ...
0
votes
0
answers
21
views
Is it possible to add a map boundary geojson file dataset to google maps API and then show a specific boundary on a query?
I have a geojson with London boroughs boundaries.
I want to create the following logic:
Add this as a dataset to Google maps API - I know how to do it
show a specific boundary like City of ...