Questions tagged [google-api-javascript-client]
62 questions
0
votes
1 answer
Is there any code to simply restart my whole function?
I started learning Google Javascript on my own, and as my first code is to do an interactive calculator which the equation can be selected by pressing some images of those equations. The problem is I want to repeat the function when unintended info…

StickyRunnerTR
- 5
- 2
0
votes
1 answer
What is the URL to authenticate Gsuite users using curl?
I want to authenticate Gsuite users in order for them to be able to create groups from my company's application, I have to do so using CURL, what URL should I send a post request to?
For example, if I want to login a user to Google plus, I would hit…

Lynob
- 5,059
- 15
- 64
- 114
0
votes
1 answer
Google analytics dashboard response not valid
I want to create a google analytics dashboard with multiple views on my site, but I have a problem.
I followed all the instructions on https://ga-dev-tools.appspot.com/embed-api/basic-dashboard/ for the first test.
This is the code

Emanuele Tredweb
- 21
- 5
0
votes
2 answers
Google Maps Javascript API not working on mobile site
I'm building a site for a customer who wants a map on their "About Us" page showing their locations. I have the map working and fully functional on the desktop site (www.al-van.org/jake/aboutUs.html) using the Google Maps Javascript API. Everything…

sylphaxiom
- 121
- 2
- 12
0
votes
0 answers
Google Maps API - matching a request with the asynchronous response
I'm using the google maps distance matrix javascript API to query the travel time from one point to about 50 destinations.
in order to do this, I need to break my query up into multiple chunks, since the google maps API allows only a maximum of 25…

jaronimoe
- 595
- 1
- 6
- 12
0
votes
1 answer
Google Drive API Share document for offline writing/updating
I have created a web app which is making use of Google Drive API/ REST v2 (https://developers.google.com/drive/v2/web/about-sdk) to perform actions such as create/update/rename/delete of documents etc.
I am authorizing requests with OAuth 2.0…

spyDeveloper
- 79
- 7
0
votes
0 answers
Streets change their width while zooming in Google Javascript API
I try to put some rectangles on a styled map which can be zoomed in and out. I noticed that every time I change the zoom level from e.g. 17.5 to 17.6, the streets are changing their width and because of that the rectangle changes its position…

Fartosh
- 1
- 2
0
votes
1 answer
How can I impersonate an admin user from Google API in Javascript?
I am trying to make a request for gapi.client.directory.users.list with the following parameters:
'customer': 'my_customer',
'maxResults': 100,
'orderBy': 'email'
getting a success result when my account is an admin of the domain. When I do the…

lordshark
- 83
- 9
0
votes
2 answers
Make a map element blank, disappear (Google Maps JavaScript API, v3)
There are many calls for help with the maps API where a blank white div is undesirable. In my case it's desirable.
I know how to make a map appear.
map.setCenter(new google.maps.LatLng(latitude, longitude));
I know how to make directions appear.…

Bob Stein
- 16,271
- 10
- 88
- 101
0
votes
1 answer
Google Platform.js suddenly throwing _.Rp undefined exception decipte no change in code
From 19 July 23.45 GTM +1 all our applications using platform.js (live and in testing) started throwing exceptions on loading gapi features found in platform.js. No code change has been made, and the error started happening everywhere at…

crazything
- 35
- 1
- 7
0
votes
1 answer
How to move marker slowly in latest google map api
I am building a web application where one flight need to be fly from one place to another. I have build up airports and places aircrafts as marker now, how to move my aircrafts marker from one place to another.

Praveen Rana
- 440
- 7
- 21
0
votes
1 answer
How to combine jQuery file with Google Drive API?
I found 2 JavaScript libraries.
One is "JavaScript Quickstart", the other is "jQuery Typeahead Search".
I choose the "Conutry v2" function which demonstrated in the "jQuery Typeahead Search" page. And I want the data source(url) comes from the…

Jack
- 347
- 1
- 2
- 22
0
votes
1 answer
Additional Permission While Using Google SignIn button
I am using Google Sign in Button in my Website. I am able to authorise users and get the user's profile information.
I have followed this Integrating Google Sign-In into your web app
gapi.signin2.render('my-signin2', {
…

John
- 8,846
- 8
- 50
- 85
0
votes
1 answer
Where does the 'response' come from in the JavaScript sample code for Google Drive API?
I studied this page (https://developers.google.com/drive/v3/web/quickstart/js)
and found the code as follows:
/**
* Print files.
*/
function listFiles() {
gapi.client.drive.files.list({
'pageSize': 10,
'fields':…

Jack
- 347
- 1
- 2
- 22
0
votes
1 answer
How to select mode in Google map via radio buttons instead of dropdown?
I currently have an application which routes the user between current location and a set destination. The user can alternate between 2 travel modes (driving/transit) - using a dropdown selection.
I want to change how the user selects the travel mode…

Luke Harris
- 39
- 6