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)

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

How to embed my own Google Maps Data Layer (with my custom marker)s and enable API interactions?

I'm currently working on a web project and could use some guidance. I'm in the process of integrating a Google Maps Data Layer into my web app. My main goal is to interact with the geographic data and ...
Einav Kesem S.'s user avatar
-1 votes
0 answers
16 views

Partially show multiple markers in Google Maps (ReactJs)

I'm working on React JS with the library @react-google-maps-api , I need to show all markers but partially, I can show all markers but show them partially, I didn't find any article.
Raul Orujov's user avatar
-2 votes
0 answers
11 views

Questions regarding Google maps places API

I am new to this API work. I need this for a freelancing project. Can someone tell me how to set up a Google maps places API to get information about different businesses, information like their phone ...
Moaz Haroon's user avatar
-2 votes
0 answers
12 views

Google Maps JS API - Advanced Markers - mouseover and mouseout on infoWindow()

I am using Advnced Markers in my code and using an event listener to open an infoWindow() and trying to achieve a mouseover and mouseout (instead of a click) however Google Maps API seems to ignores ...
ianhman's user avatar
  • 71
-1 votes
0 answers
19 views

Removing characters from KML file for use with Google Maps Api

Okay, I quite literally have spent all day trying to get my website to use KML files so I don't need to hardcode location markers. Finally got it to work after several different attempts at it, but ...
Justice Brinston's user avatar
0 votes
1 answer
18 views

Control marker visibility by zoom level Reactjs

From the backend I receive data with locations, then I show them on the map. How can I make it so that on the map, depending on the zoom, the number of markers changes, and when you get closer, so ...
Raul Orujov's user avatar
-2 votes
0 answers
15 views

Using Google Maps API to get all localities for give Pin Code [closed]

I want to get all the data of localities in India. e.g. lets say in Gurgaon, India, If I give pincode as 12004 as input, i should get back DLF Phase 4, sector 27, chakarpur etc in the response. Is ...
Thoughtful Monkey's user avatar
0 votes
1 answer
37 views

Google Maps JS API - Advanced Marker - show only nearest markers

I have the following Google Maps API code which displays AdvancedMarkers markers on the map from a JSON list of postcodes. Then when a postcode is entered (for example "SP4") into the form ...
ianhman's user avatar
  • 71
0 votes
1 answer
43 views

Google Map key with Website application restriction

While applying application restrictions with 'Websites' option in Google cloud console for Map API key, it stopped working even in the allowed web url also. Followed below steps: Enabled 2 API from ...
jrh's user avatar
  • 766
-1 votes
0 answers
30 views

How to limit GooglePlacesAutocomplete search results?

I'm having a problem with the google places autocomplete API. I defined a circle which includes the city of Paris and a few nearby towns. Autocomplete shows me the addresses that are in the circle ...
Demoox's user avatar
  • 1
0 votes
1 answer
34 views

Problem with javascript Promise that never resolves

I created two custom promises that are identical except for the fact they work on different user inputs. Both promises make use of Google Maps API v-3 classes and methods. Strange thing is that ...
Richard's user avatar
  • 13
-6 votes
0 answers
18 views

"Efficient Methods for Collecting All Addresses Within a Postal Code and Validating Zip Codes" [closed]

I have a multitude of inquiries, one of which pertains to the methodology of gathering all existing addresses encapsulated within a specific postal code. Is there a streamlined or efficient technique ...
Toni Rodríguez Olivera's user avatar
0 votes
0 answers
17 views

Decrease polyline smoothly in realtime - flutter

I am able to animate the marker using the TickerProviderStateMixin class but for polyline, I don't want that when the user changes his location after that I call the directions API again to get the ...
Smith's user avatar
  • 1
-2 votes
0 answers
14 views

what's the script that gets saved to"AppScript EXT" in google sheet to get coordinates of a written place or any other googlemaps function [closed]

I need a script to attach here so I can use googlemaps function to get coordinates of a place, calculate the distance or duration between 2 places after getting their coordinates, get the address on ...
Aya Magdy's user avatar
-1 votes
1 answer
38 views

Google Places API - How to get next page of results in Ruby

I'm using the Google Web Service API with RestClient gem in my web app to look for businesses with certain string. For example, passing in 'car dealership' should returns the results of all car ...
Ben Cheng's user avatar
0 votes
0 answers
26 views

Maps API Places Autocomplete dropdown shows city, but autofills city field with township?

We’re coming across address that our Google address API is updating to something other than what it suggest. Here’s what for example: 576 Shunpike Road Cape May Court House, NJ 08210 So when you start ...
Taylor's user avatar
  • 1
-2 votes
0 answers
12 views

HubSpot - How to integrate Google Maps onto companies page?

I am facing some obscure task on how to integrate Google Maps onto a HubSpot companies page in the HubSpot CRM. What I would like to do is pull a company address using the HubSpot API, and then pass ...
Pink Jazz's user avatar
  • 780
-4 votes
0 answers
25 views

Why autocomplete of react-google-map/api doesn't show list of places when i create responsive website? [closed]

My problem is that when I use the autocomplete of the react-google-map/api library, it works on the middle screen, but when I use a small screen like 375 px, I can't get the list of places that the ...
Srun Rotha's user avatar
-2 votes
0 answers
26 views

Google Distance Matrix API request limit & Excel Script Lab

I'll start by saying that I really have no idea about programming. I created a map using the Google Maps Platform - quick map builder and added 5 destinations. When an address is entered into the auto ...
Darren's user avatar
  • 1
0 votes
1 answer
24 views

Create/Add Marker to Google Map when Inside of Street View Panorama

I am using the Google Map Javascript API and am wondering how I can add a marker to the map while inside of the street view. When I am overviewing a road, I want to be able to go into Street View, ...
William Anderson's user avatar
1 vote
0 answers
26 views

Can I use the Google Map Platform API through service account authentication?

I want to use Google Map Platform API as authentication for authorized service accounts, but the document only says authentication through API keys. I want to know if you are supporting authentication ...
谷口承's user avatar
0 votes
0 answers
26 views

Google Map Initialize Script with Vue

My project have a main.ts for initialize bootstrap and vue app, I also have many .vue file, some .vue files will use google map. I have a problem that the following script is google suggested for ...
Eagle's user avatar
  • 451
0 votes
0 answers
22 views

How can i change gradient Color of polygon using google-maps-react

I am using google-maps-react in my current application to show the map, here I have a requirement to display gradient Polygon, but i am unable to do so. Currently these below attributes i can see from ...
radhey_mishra's user avatar
-1 votes
0 answers
44 views

How can I zoom to a marker off center

I want to place a marker in the lower left corner. With the following code I get the desired result. google.maps.event.addListenerOnce(this.map, 'bounds_changed', () => { const mapBounds = this....
WanDal's user avatar
  • 21
-1 votes
0 answers
18 views

Filling a Polygon on a drawn on satellite map with images of PV Panel - Google Map API

I am working on a project where I have a polygon drawn on a satellite map using the Google Maps API. This polygon represents an area where I want to simulate the placement of photovoltaic (PV) panels. ...
freerider's user avatar
-1 votes
0 answers
30 views

Google Maps API Dataset not showing datapoints when visualising data (Datapoints are showing inside the Google API Manager)

I can't figure out why when i try to visualise a google maps dataset (.csv) my js code is not working. Console inside of browser is not picking up any errors and the dataset populates data when ...
botdamo's user avatar
0 votes
0 answers
37 views

Google maps drawing polygon autoselect points

I use google maps drawing tool in my angular 14 app. public draw(): void { this.drawingManager.setOptions({ drawingControl: true, drawingMode: google.maps.drawing.OverlayType.POLYGON ...
C.Norris's user avatar
2 votes
0 answers
24 views

Override google maps api default projection?

I have a list of lat/lon data that forms a path. The data was obtained using a GPS device from a vehicle on a race track. When I plot this using Google maps JavaScript API (satellite map), it doesn't ...
driven1983's user avatar
-1 votes
0 answers
16 views

Highlighted coordinate gridlines over json layer

When I load a json data layer into an instance of Maps using the map.data.loadGeoJson() function, the coordinate grid lines are highlighted. How do I make these lines not be highlighted? enter image ...
Israel Morais's user avatar
0 votes
1 answer
51 views

Hide/Show Google Maps markers (groups) by radio button

I found an interesting example of showing markers groups using checkboxes: link But sometimes one place has several categories (e.g. burgers, pizzeria etc.) and this results in several icons in one ...
cyberjarek's user avatar
-1 votes
0 answers
13 views

Add dynamically waypoints on route [duplicate]

According to Google route API, it is possible to get routes from location A to location B For example : Paris (France) to Lille (France) : With route given by the API, is it possible to define some ...
bahamut100's user avatar
  • 1,795
-2 votes
1 answer
47 views

Google Map with iframe [closed]

I am trying to show Google Map in WordPress Website using Elementor. I am using this iframe <iframe src="https://www.google.com/maps/d/embed?mid=1lpxvIAeOhsxqMqQ2GrFNzonnDCmZe6o&ehbc=...
abu abu's user avatar
  • 6,597
0 votes
1 answer
47 views

Get Google API Key

How to get Google API Key ? I am trying to get API key from this page https://console.cloud.google.com/google/maps-apis/credentials?utm_source=Docs_CreateAPIKey&utm_content=Docs_maps-backend&...
abu abu's user avatar
  • 6,597
0 votes
1 answer
23 views

How to retrieve a PlaceID using a coordinate, name, and/or address?

I'm creating an iOS app and I want to offer the user the ability to choose which maps app to open up (Apple Maps or Google Maps). With Google maps, they're recommending using Maps Urls which is the ...
MarlonJames's user avatar
0 votes
0 answers
19 views

Intergrate Material UI autcomplete with react places autocomplete

I am trying to integrate material UI autocomplete with the react places autocomplete google library that provides realtime location suggestions based off the the input that the user enters into the ...
Nuel VPN's user avatar
0 votes
1 answer
49 views

Creating a 'Magnifying Glass Effect' for Google Maps using API

I am able to zoom into Google Maps using the normal Google Maps API features. For example I draw a bounding box on the map, and the Google API will zoom in by the amount set by the default value. ...
Alexander's user avatar
  • 105
-4 votes
3 answers
525 views

Array.from() with an implementation that doesn't support iterables, Google Maps JavaScript API v3 to not work correctly

Google map was working and now asking require to change API key. After API key updation, it says Array.from() with an implementation that doesn't support iterables, Google Maps JavaScript API v3 to ...
testmap's user avatar
2 votes
1 answer
203 views

Google maps API Advanced Marker View set position?

I have create a marker using advancedMarkerView const centerMarkerE = document.createElement("div"); let centerMarkerHtml = "<div class='center_marker'><img src='/images/front/...
Ryan Wong's user avatar
1 vote
1 answer
326 views

Google Map Api, Gray BOX, Map not displaying

In my project I am plotting the waypoints in the map through Google Map API it was working fine a few days ago but now it's only displaying the markers and route but not showing the map instead of ...
anoneon's user avatar
  • 29
0 votes
1 answer
54 views

My Kotlin app closes just after opening, after after for locations permissions

I have written a Kotlin application wherein we get the map zoomed to the user's current location. The problem is, the application closes as soon as it is opened. The app does not crash in case of ...
Adit Ramdas's user avatar
1 vote
1 answer
55 views

Using keywords instead of addresses to geocode points in R using Google maps API

I've got a list of public buildings in New Zealand that I'd like to geocode in R, but no address per se. I'd like to geocode using the name of the building rather than the address, since I don't have ...
Negarev's user avatar
  • 79
0 votes
1 answer
32 views

JavaScript: how to access photo result from Google Places API using photo reference

I'm implementing a backend that uses the Google Places API, and I wish to retrieve photos of locations using photo reference, like this My code so far looks like the follow, where I retrieve the photo ...
J Qin's user avatar
  • 13
0 votes
0 answers
20 views

how to force the request to always bring the zip code when placing the street name

I'm going through a probelam using Google Maps JavaScript API, without looking for the street name it brings the city and state, but not always brings the zip code, I needed that whenever I searched ...
Danilo Godinho's user avatar
-1 votes
1 answer
44 views

JavaScript: How to store photo data obtained from Google's Place Photo API

I am developing a backend in Node.js that uses the Google Places API. I wish to get a photo from the API based on a search string on the destination, and then pass the photo to the front-end My code ...
Banned User's user avatar
0 votes
1 answer
43 views

How to use Django views variables in Google Maps API Javascript on HTML template?

For obvious reasons, I'll be referring to my API KEY by [GOOGLE_API_KEY]. I have the following view : def search_places(request): GOOGLE_API_KEY = os.getenv('google_api_key') search_keywords ...
nidaln's user avatar
  • 1
0 votes
0 answers
64 views

SCRIPT ERROR in react javascript file in google maps API

getting this error-> Script error. at handleError (http://localhost:3000/static/js/bundle.js:48195:58) at http://localhost:3000/static/js/bundle.js:48214:7 any suggestions project working fine it ...
Shreyas Patange's user avatar
0 votes
0 answers
38 views

Google Maps API v3 Noop Algorithm (MarkerClusterer) not working

I am trying to render ~2000 google map markers by the built-in marker clusterer algorithms. The GridAlgorithm and SuperClusterAlgorithm work fine and render the clusters but the NoopAlgorithm, whose ...
jingwen's user avatar
  • 125
0 votes
2 answers
73 views

How to show more column from database in google maps infowindow?

Previously I was able to display the infowindow on maps, but it only displayed one value from the database. How do you display more than one database value on the google maps infowindow? Thanks This ...
Karls23's user avatar
0 votes
1 answer
49 views

How do I mention only the major highways as output rather than local roads?

I am using Directions API to get a route segment (list of destinations to reach a particular destination). origin = "New York" destination = "Ohio" output: ['2 Murray Street, New ...
Ekagra Gupta's user avatar
1 vote
2 answers
282 views

Google Maps AdvancedMarker hover listener function not working

I have created a function that places an array of pins on a map. I have already added a click function to all markers that re-centers the map on the new location and zooms to the appropriate. This ...
henken's user avatar
  • 53

1
2 3 4 5
502