Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
114 views

Google Maps API: Disable scroll into view on map focus?

I have an embeded Google Map which extends vertically below the viewport. When the map gains focus (e.g. by clicking), my browser viewport scrolls to reveal as much of the map as possible. This is ...
gl03's user avatar
  • 1,149
0 votes
1 answer
874 views

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 ...
Terry's user avatar
  • 1,222
1 vote
0 answers
117 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 ...
fombo's user avatar
  • 133
-2 votes
1 answer
937 views

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 (...
Ela's user avatar
  • 3,382
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 ...
stackmak's user avatar
-2 votes
1 answer
1k views

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 ...
martinnc's user avatar
  • 189
-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....
tantan's user avatar
  • 1
10 votes
2 answers
4k views

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......
SlimDeluxe's user avatar
0 votes
1 answer
272 views

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, ...
kalittles's user avatar
  • 345
3 votes
5 answers
19k 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 ...
Sanjeev's user avatar
  • 4,375
0 votes
1 answer
5k views

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 ...
Jan Żankowski's user avatar
2 votes
1 answer
197 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 ...
Jamie Green's user avatar
2 votes
1 answer
960 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 ...
Precedence Developer's user avatar
2 votes
2 answers
5k views

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 ...
Asier Paz Martínez's user avatar
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'...
Scott B's user avatar
  • 39.9k
1 vote
0 answers
447 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 ...
Leandro.a.lopez's user avatar
-1 votes
1 answer
654 views

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 ...
Bart Schelkens's user avatar
0 votes
1 answer
1k 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 ...
pmp's user avatar
  • 41
-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....
ShogunBaker's user avatar
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....
Leap Bun's user avatar
  • 2,295
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....
Bob Stein's user avatar
  • 17k
-1 votes
1 answer
204 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....
Dave Smith's user avatar
2 votes
0 answers
816 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 ...
Steven VA's user avatar
3 votes
2 answers
12k 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 ...
Benedetto's user avatar
0 votes
2 answers
1k views

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 ...
Ryan's user avatar
  • 552
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 ...
kathi's user avatar
  • 21
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. ...
Fletch's user avatar
  • 1
1 vote
3 answers
9k views

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. ...
Sam's user avatar
  • 1,451
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) : <script> google.maps.event.addDomListener(window, 'load', function() { google.maps....
Vincent's user avatar
  • 75
1 vote
1 answer
1k views

How to embed a photosphere in a website?

I took a photosphere with google street view app and shared it on google maps. When I try to get the code to embed it on a website (clicking "share or integrate" option when I visualise it on a ...
Vincent's user avatar
  • 75
0 votes
1 answer
901 views

Working around 10 Maximum Waypoints in Embed Maps

I'm volunteering my time to write an html5 app for a local NPO that frequently delivers food. The app is fairly simple - a delivery volunteer comes to the center where they can download their delivery ...
mwdavisii's user avatar
1 vote
3 answers
15k views

Google embedded map not displayed

I got Google map API credentials for a browser key. For allowed referrers I put in my website like *.mysite.com/* and www.mysite.com/* Then I used the Quick Start Build a map page at https://...
Bixnc's user avatar
  • 11
-1 votes
1 answer
2k views

Google maps zoom level issue

Hi I need zoom level smaller for about 7. I have no idea how to do that. I tried with: &z=nn &zoom=nn &amp&z=nn &amp&zoom=nn on the end of 'src'. I tried to ...
joryl's user avatar
  • 109
1 vote
1 answer
3k views

embeded google map with several markers

I want to embed a google map with several locations. So far I found this html code: <iframe src="https://www.google.com/maps/embed/v1/place?key=AIzaSyBECBmDGXDR_37hLJU-zjMSZ65OIA4Ikek &q=...
Thomas's user avatar
  • 147
0 votes
1 answer
2k views

Google Map embedded populated by address string

So i have collected addresses in my database in the following format: address line 1 | address line 2 | post code How can i pull this in through php to generate an embedded google maps? Someone ...
Matthew Smart's user avatar
-2 votes
2 answers
1k views

Integrate Instagram pictures to google maps

I don't know if this is the place to ask for this kind of stuff but i'll try. I want to integrate a map of google maps embedded in my website that shows my geotagged instagram pictures on it. There ...
Eloi Smith's user avatar
0 votes
1 answer
572 views

How to get Google Street View / Virtual Tour to display as sphere in mobile web browsers?

Is it possible to get Google street view/google business view virtual tours to display as a sphere instead of a flat image ( or equirectangular I believe is the correct name) using the google maps api ...
ifusion's user avatar
  • 2,213
-2 votes
1 answer
423 views

Google Maps Places API, need to get same markers as on Google emded

Good day ! I'm developing custom service, that will grab params form Google Maps url, like https://www.google.nl/maps/search/fietsenmaker/@52.1285737,5.0837216,13z/data=!3m1!4b1?hl=en. From this ...
Vladimir Lukyanov's user avatar
-1 votes
1 answer
175 views

Google Map intergrate with Website

I use my map tool in google map to mark many destination in the map then I shared it as public and embbed it. There are many tabs but I raised only two for example one is Cambodia and another is China....
user3111748's user avatar
1 vote
1 answer
463 views

Can I control the destination title in iframe?

Is there any way to control the destination title, while embedding the map with an iframe? For origin I use Postcode (which is fine to show), but for destination whatever I use, lat-lon or Store name +...
skobaljic's user avatar
  • 9,554
0 votes
0 answers
417 views

Google map search region with my own highlight color

Does anybody know how to embed a Google map with my web page but not in Google's default red highlight color? I want to embed a Google map with my own favorite color which is blue!
Dami's user avatar
  • 167
0 votes
1 answer
1k views

Google Embedded maps api link not working with Phonegap in android devices

I have build an app and using the above iframe for the google maps <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d53529.11460374677!2d74.9441465!3d33.0151193!2m3!1f0!2f0!3f0!...
Gurpreet Singh's user avatar
4 votes
0 answers
111 views

Google maps embed, will results always be the same?

I have a question about using the google maps embed api. When using this api with the following code: https://www.google.com/maps/embed/v1/place?key={KEY}&q=Leeuwarden Will the result for users ...
Rutger's user avatar
  • 1,163
2 votes
1 answer
5k views

Google embed API. can I pass latitude and longitude, at the same time to show a text representation of the address inside the generated popup

I am using Google maps embed api to locate our office , the iframe for showing the map is where I am passing the latitude and longitude coordinates:- <div class="map"> <iframe src="https:/...
user avatar
1 vote
1 answer
1k views

Blurry text when google map is embeded

This only happens on chrome (maybe all webkit browsers?) - when I embed the map like so: <iframe id="contactsMap" frameborder="0" scrolling="no" marginheight="0" marginwidth=...
Xeen's user avatar
  • 6,993
1 vote
1 answer
107 views

How to avoid the display of gmap favs in embedded maps?

How to avoid the displaying of my personal "favs" (the stars that represent my favourite location) in an embedded gmap? How to avoid to display stars without log-out to my gmap account? Thanks, Fabio
Fabio Disconzi's user avatar
1 vote
0 answers
800 views

Google map embed won't load for some users: x-frame-options error

I created the following Google map for a client site: https://www.google.com/maps/d/viewer?hl=en&authuser=0&mid=z57CojFvVAME.kEB7IkAVeA4M Viewing privileges are set to public, and Google ...
dilettante's user avatar
-1 votes
1 answer
2k views

Google Maps Embed displaying incorrect address on directions

I have just added a very simple code snippet to a client's website using the Google Maps Embed API. This displays all of the correct details, but when you click on the "Directions" link, a different ...
user810082's user avatar
2 votes
1 answer
2k views

Google Maps Embed API Address Not Found

I have embedded maps on each profile on my site. They all seem to work fine except for the one below. I'm not sure why, but when the map API loads, it's zoomed out so far you can see the whole world. ...
Daniel Bonnell's user avatar
1 vote
1 answer
1k views

Several highlights in google maps embed API

I would like to add several highlight places using the Embed API of Google Maps in an Iframe like this: <iframe src="https://www.google.com/maps/embed/v1/place?key=...
andres123's user avatar