Newest 'google-maps-embed' Questions (original) (raw)
Is there a way to remove the Directions button / link from the Google Maps embed code?
I maintain the website of an enterprise. Recently they called me to say that on the Google Map section, one of their customers complained that when he clicked on the directions button, the browser (or ...
- 1,232
asked Apr 22, 2023 at 21:50
1 vote
0 answers
125 views
Map marker gets covered by surrounding data
I'm using Google Maps Embed API and the markers within the iframe get partly covered by surrounding place labels. How could I increase their z-index or whatever property necessary so they have ...
- 95
asked Nov 25, 2022 at 10:41
Using IFrame to embed google directions [closed]
I am building a react app and I am trying to embed Google Maps direction on my site. Here is my code: import React from "react"; import Iframe from "react-iframe"; export default (...
- 3,402
asked Aug 2, 2020 at 20:10
4 votes
1 answer
3k views
How do I properly proxy a request to the Google Maps Embed API?
I'm attempting to use the Google Maps Embed API to embed a map matching an address that a user enters. Following the developer guide, I acquired an API Key to add to my API requests. I'm able to ...
- 89
asked May 8, 2020 at 14:35
Embedded Google map not showing when using more than one Google account [closed]
I've embedded a Google map that I created using Google account A. If I am not logged in to any Google account and visit the website then the map works fine. If I log in to one Google account (let's ...
- 189
asked Feb 5, 2020 at 11:20
-2 votes
2 answers
3k views
How can i change google map marker for direction using iFrame?
Existing code: <iframe width="600" height="500" id="gmap_canvas" src="https://maps.google.com/maps?ll=23.6000004,108.0333023&saddr=23.585941, 108.063190&daddr=23.620677, 108.05339+to:23....
- 1
asked Oct 10, 2019 at 1:25
Embed Google Maps without cookies
I'm trying to embed a Google Map in a way that does not use cookies, because of the EU cookie law. I want to use the Embed API because it can display the place information (rating, directions button......
- 838
asked Aug 29, 2019 at 9:20
Google Maps Embed call failing for queries with number signs / pound signs / hash tags
My application throws the error: Google Maps Platform rejected your request. You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, ...
- 345
asked Jul 11, 2019 at 21:03
3 votes
6 answers
20k views
Google Maps Platform rejected your request. Invalid 'pb' parameter
I am trying to show Google map in webview, but it is saying Google Maps Platform rejected your request. Invalid request. Invalid 'pb' parameter. But when I am rendering the same iframe on web ...
- 4,375
asked Jan 30, 2019 at 16:04
Will this specific method of dynamically embedding Google Maps without API key work for 1000s of page views?
With the 2018 changes in Google Maps pricing, we can't afford to use it as we have done so far. We're considering moving to another provider, but also discovered a working way to embed a map without ...
- 8,951
asked Nov 6, 2018 at 10:34
2 votes
1 answer
202 views
Incorrect by ~100m google maps embed despite accurate lat/long
I have an embedded google map, and am pulling the lat and long from a url saved in the db. However, the resulting map is always slightly off, usually by a few hundred meters. If I inspect the map, the ...
- 21
asked Sep 21, 2018 at 12:05
2 votes
1 answer
967 views
Using Google Maps website to create a keyless Embedded map
I notice that, if I follow the instructions on this google maps answer, there is no information about the requirement for an API key when embedding a Google Map iframe into the HTML of my website or ...
- 21
asked Jun 6, 2018 at 3:03
Google Maps Embed Advanced API
So. Google is changing the Maps API and there's now a difference between Embed Maps and Embed Advanced Maps. Could anyone tell me the difference between an embed map and an advanced embed map? The ...
- 161
asked May 4, 2018 at 15:21
3 votes
0 answers
2k views
Need Google "My Maps" Legend Opened at Startup
I have a Google "My Maps" listing that relies heavily on a layered legend display to navigate 5 layers I'm displaying. I'd like the legend to be open by default when the iframe is loaded. Ideally, I'...
- 40.2k
asked Feb 23, 2018 at 18:29
1 vote
0 answers
453 views
Google Maps Embed API - Directions Mode - Optimized route with multiple waypoints
Do you know if there is a way to use the Google Maps Embed API with "Directions" mode to get the route between an origin/destination with multiple waypoints but optimized? I know the Directions API ...
- 13
asked Jan 17, 2018 at 15:38
Google Embed API display a list of addreses
I want to use the Google Embed API. I have a list of addresses I want to display using the Google Embed API. Is this possible? Is there a way for me to pass the entire list to the Google Embed APi so ...
- 1,293
asked Jan 16, 2018 at 13:38
0 votes
1 answer
2k views
Embeded google map not centering on location on specific networks
I'm using embed google maps for rendering map with dynamic location on specific page with specific location. Iframe contains url to google embed map with q= parameter to retrieve location. For example ...
- 41
asked Nov 8, 2017 at 12:22
-1 votes
1 answer
1k views
Google Maps Embedded API - Won't work without WWW in URL [duplicate]
I am trying to use the Google Maps Embedded API. I have used this for years on a page we post every so often. This year it wasn't working so I obtained a new key and updated the HTML on the webpage....
- 1
asked Aug 14, 2017 at 20:16
1 vote
0 answers
1k views
How to convert Google map embed API's iframe src from the Web to show in a map in Android?
I have a Website which its content consists of Google map embed iframe to show a specific place. The src of the iframe looks like https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3908....
- 2,295
asked Aug 13, 2017 at 8:53
3 votes
1 answer
2k views
Google Maps Embed API for directions - zoom to fit origin and destination
The Google Maps Embed API for directions doesn't always show the origin and destination in the frame. Sometimes the default zoom level is zoomed-in too much. <iframe src="https://www.google....
- 17.2k
asked Aug 5, 2017 at 20:26
-1 votes
1 answer
205 views
Is there a way to disambiguate location parameter values for google maps embed API?
For example, the URL: https://www.google.co.uk/maps/place/M25 shows the postcode area in Manchester (which is what I am after), whereas the following URL for an embedded map: https://www.google....
- 1
asked Jun 20, 2017 at 14:02
2 votes
0 answers
838 views
Google Maps Embed API not showing traffic when using waypoints
I am building a web page where I can select a source and destination location and then show the distance, travel time (with current traffic) and actual traffic on a Google Map. The Google Maps API ...
- 21
asked May 5, 2017 at 10:07
3 votes
2 answers
13k views
Google Maps Embed API Current Location as starting point with iframe
What i'm trying to do is set an address as destination and as the origin (starting point) I would like to put the current location of the device, but i cannot find anything on line that works with the ...
- 71
asked Oct 5, 2016 at 20:19
Embed URL to coordinates, kml or geojson
I've got a complex directions URL and embed URL that I would like to get polylines for. Once I can get them into polylines or something similar I can convert to final format: GeoJSON. Direction Link ...
- 552
asked Aug 29, 2016 at 20:08
2 votes
1 answer
2k views
Google Maps Embed: Address correct on embedded map - incorrect on directions
Test page located at http://hmcc1.com/Contact\_TEST.htm I have tried both place_id and the actual address. ll as described in another Q&A (Google Maps Embed displaying incorrect address on ...
- 21
asked Aug 24, 2016 at 16:05
0 votes
1 answer
1k views
google maps embed not showing layers I have within the map for selection
I have a share: https://drive.google.com/open?id=1pPt91pmN97vXiq2bNUAJ-CXXqus&usp=sharing This works wonderful if you are signed into google. I would like the same to occur when not signed in. ...
- 1
asked Apr 21, 2016 at 15:06
Google Maps add a placecard
Is it possible to add a place card on Google maps like in this example: http://www.haydensinrye.co.uk/Haydens/Find\_Us.html? I couldn't find a reference to this in the Google Maps API documentationn. ...
- 1,461
asked Apr 15, 2016 at 18:27
1 vote
0 answers
157 views
How to display navigation links on an embedded photosphere?
I took a photosphere and embedded it using the following code (thanks to Dr.Molle) :