Google Maps Embed API not showing traffic when using waypoints - google-maps-embed

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 documentation suggests to use the Google Maps Embed API, as so (route = Paris to Amsterdam):
<iframe src="https://www.google.com/maps/embed/v1/directions?origin=Paris&destination=Amsterdam&key=APIKEY"></iframe>
This works fine.
Now I want to add waypoints to the routes so that I am certain specific route will be selected and shown, as so (route = Paris to Amsterdam via Brussels):
<iframe src="https://www.google.com/maps/embed/v1/directions?origin=Paris&destination=Amsterdam&waypoints=Brussels&key=APIKEY"></iframe>
In this case no traffic is shown and the calculated travel time doesn't include the delays because of traffic. You can also see the effect on this page I built to show the issue.
I didn't find in the Google Maps Embed API documentation that traffic is not shown when using waypoints. Is this a bug or didn't I read it well enough? Are there alternatives to the Google Maps Embed API?

Related

How to resolve issue of blocking google maps place api to store store data

My developed application utilizes the Google Maps Place API, but it has been blocked by Google. I am paying the required fees as per the Google pricing policy. How can I resolve this issue and get the API unblocked? I request you to review the block email from Google.
Note: I am storing missing data status like website missing, phone number missing and website missing.
Google should not block my google maps API .

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 blog.
What will be the requirements for this sort of use regarding keyless embedded maps access following June 11?
None I suppose,
I'm using ruby explaining the code below
<iframe ... src="https://maps.google.com/maps?q=#{question}&z=15&ie=UTF8&iwloc=&output=embed" ... ></iframe>
So far this is working (Aug 30) and should be working for a while since it's the Maps way to share addresses. This embed forces a couple logos related to Google like, Maps Embed API (free but not keyless)
If you plan to use Maps as a developer with other options please consider registering an API in Google cloud.
Meanwhile, you could use it like you are using it.

Rejected request to participate in Google AdSense (Phase 1)

I am trying to register my web app for the service of Google AdSense.
After five attempts are still stuck in the first phase for the error: Content insufficient.
My web app is a search engine for youtube, developed with AngularJs and NodeJs
AngularJS fully embraces the asynchronous model and this is what creates problems for Google's crawlers. So I implemented the library prerender.io and I have set up the meta tag to fix any problems with the # of Angular.
 
<meta name = "fragment" content = "">
I also prepared the sitemap.xml within the site, and that index the pages through the portal of google for webmasters.
The site being a search engine, does not have static content and reach, so I also added some texts and descriptions in the page principle, which houses the other partial files.
Despite these changes, I could not pass the first stage, how can I do to fix?
I'm not making all the necessary steps for a web app Angular?
To be approved in Google Adsense you need about 10 topics of 400 words. The content should be unique. According to Google Adsense TOS it is not allowed to put ads in pages having copied content. So in your case if you provide search results you will provide copied content.

GAE Mailhandler to Google Analytics

I'm running an app on GAE that does a number of things. One of those things is receiving an email with attachment and responding with a mail with a CSV attached to it. The category of people that use this option, never visit the site.
Would it be possible to add something to my mailhandler so that every mail received is processed as a page visit in Google Analytics?
I'm using Jinja2 as framework.
You can use Google Analytics for Mobile Websites. It allows for server-side invocation.
Basically it just produces an image url that triggers GA when loaded in mobile site. In your case you should invoke this url with your own parameters. Here is an example Url:
http://www.google-analytics.com/__utm.gif?utmwv=4&utmn=769876874&utmhn=example.com&utmcs=ISO-8859-1&utmsr=1280x1024&utmsc=32-bit&utmul=en-us&utmje=1&utmfl=9.0%20%20r115&utmcn=1&utmdt=GATC012%20setting%20variables&utmhid=2059107202&utmr=0&utmp=/auto/GATC012.html?utm_source=www.gatc012.org&utm_campaign=campaign+gatc012&utm_term=keywords+gatc012&utm_content=content+gatc012&utm_medium=medium+gatc012&utmac=UA-30138-1&utmcc=__utma%3D97315849.1774621898.1207701397.1207701397.1207701397.1%3B...
See here for a full list of parameters.

Is it possible to allow users to search for an address, and attach a pin to a location like in Google Maps using Leaflet? How do I do this?

I've read about how some sites use streets data and overlay it over their map tiles. Is this necessary in leaflet? I think the attaching of a marker is fairly well-covered in the Leaflet documentation, but I'm not sure whether there's a (ideally reasonably easy) way to give it the full search for address functionality in Google Maps.
Should be possible - you'll need a geocoding web service, like Google's, that you can hand an address and will give you back a lat/lon coordinate, which you can then plot onto Leaflet. I believe MapQuest has a free one; not sure if there's an API limit or anything along those lines: http://www.mapquestapi.com/geocoding/
In fact, I think this template site from MapBox, though it doesn't use Leaflet, hooks into MapQuest for it's geocoding. You might be able to use that as an example.
MapQuest offers two Geocoding Web Services, which will take an address and convert it to latitude and longitude coordinates.
MapQuest Geocoding Web Service (licensed data, meaning, the 'behind the scenes' geocoding data is commercially-available data)
MapQuest Open Geocoding Web Service (open data, meaning, the 'behind the scenes' data is open, generated by users of the OpenStreetMap community).
The Open Geocoding Web Service is brand new! For more information, check out the MapQuest Developer Network and Developer Network Forums.

Resources