Do you know if it is possible to update an existing place via API in Google Places?
Suppose I need to change the "Hours of operation" because my business activity has flexible open hours and I want to automate this task via script.
Thank you.
Well, Google Palces API decoumentation tells only about deleting or adding new places:
https://developers.google.com/places/documentation/
So it seems impossible for now, but it is still beta, so maybe it will be possible in future.
Related
Recently, I have added 2 place's names on Google Maps and they have been approved. However, they still don't show up on Google Maps.
How many days will it take to add a place and make it public?
Suggestion Approval
When you make a suggestion to a place, via the "Send Feedback" option on Google Maps, or using Maps Maker, the suggestion needs to be approved.
This procedure usually takes less than 15 days.
I say usually because they deal with a lot of data submissions and corrections, so there could be a delay in response.
Propagation
Once a correction has been approved, it usually takes two business days for it to propagate all over Google's systems and to appear on google.maps.
Hope it helps!
I would like to create a Map by the excel sheet values (.csv files too).
By using FusionTableLayer API, I think it is possible. At first step we could upload the excel values to the database. Then we create a map by the database annotated value. It is very good idea. This is what I wanted. But One thing is problem to me with FusionTableLayer API is google's Drive has been pointed for the fusion table. It means that all my business data will be shared with google. I don't want to be like that.
Instead of Google's drive My database has to be pointed out. From my database I would like to create a map with FusionTableLayer API. I have been searching through internet, I dont find this is possible. But I believe that it is possible. Please guile me to specify the way to trigger it out ?
Regards,
ArunRaj.
If you want to use your own database, then you cannot use the Fusion Table API as it's meant for the Google Infrastructure. You will have to find another API to take care of this.
One workaround I can suggest to you is to parse points you have as drawing objects for your map. So for each point, create new google.maps.Marker with the respective coordinates. Each region can be denoted with google.maps.Polygon, and lines with google.maps.Polyline. There's plenty more you can do, but it's just a bit more work, and possibly less secure depending on your implementation. Furthermore, you can also add info windows to each of those areas using the Google Maps API by attaching respective listeners to those objects created.
Hope this helps!
We are building a web application based on Google Drive API. We'd like to incorporate a facility of displaying who is viewing our "document" in real time like Google docs and spreadsheets are doing.
Implementing it from scratch would be quite challenging because of the necessity to track when a user leaves the page. So we'd first like to check if anything is already available for this purpose.
We have found out Google Analytics API may be helpful, but it can only give us a number, not user names.
Google Drive Realtime API looks promising and suitable for other needs of our development, however at the moment it's not clear whether it might help with displaying current viewers.
Any ideas on possible solutions would be greatly appreciated.
This is possible in the realtime API. See https://developers.google.com/drive/realtime/handle-events#collaborator_events
There is an example of it in the Realtime Playground.
The web page I use is written for api v2 and I am assuming it will stop working on May 19.
I'm just a beginner with google maps and do not have the skill set to know which parts of the scripts are going to fail.
I HAVE looked at the on line documentation for REMOVING CODE but can't find anything like: it was done that way before, but now it's done this way.
Question:
In order to focus my limited skills, is there any way to simulate which parts of my api v2 script are going to fail after May 19?
.. that way at least I might know where to begin to look.
Look at this simple page -->>
Old V2 Script<<-- this is what I need converted to api v3.
There are two referenced .js scripts that will also need tweaking.
I found parts of my script that use "gUnload" and know that's going to fail but have no clue on what to replace it with.
Can someone look at the 3 pages and easily tell me what else going to break?
or.. are their any professionals or experts here "for hire" willing to take on the task of converting a v2 to a v3?
I know this is a "newbie" question..
..thanks in advance for your patience.
Dennis
The question is about how to simulate which parts of api v2 are going to fail after May 19th.
The answer is by changing from the old google api script type to the google api script in the html.
Something like this:
old api 2 way
YOUR KEY
new api 3 way
After you do that, you will see all the old api v2 calls that are now "undefined".
but .. still looking for someone who can assist with the conversion.
Dennis
The problems:
I need to get data in a kind of "relational" way.
GViz (Google Visualization API) is not available for GAS (Google Apps Script) HTML Service (see here: Can we use Google Chart Tools with Google Script HtmlService).
Getting all the functinality GViz delivers is a dream right now, so, instead, I'd be satisfied with DataTable and DataView objects and google.visualization.data.join(). I dont need charts right now.
All of this, as long as I cannot get full GViz on the client side, could be server side.
Being more explicit, I need to join some queries and not mess up with the normalized data.
Keep in mind that I'm using a Spreadsheet as a data container (the tables are composed of static and dynamic data).
Getting all the functionality from GViz is everyone's dream right now, but some of it is available through Charts Services in UiApps. I have no experience with HTML Service, so I can't speak for that.
https://developers.google.com/apps-script/service_charts
If you're manipulating a lot of data, have you looked at ScriptDB?
https://developers.google.com/apps-script/service_scriptdb
I currently use a set of spreadsheets and Charts Services for a dashboard and it works pretty well. I really wish I could make combo charts, though.
It looks like sometime between mid-March and now, GViz mostly works with HTML Service.
I'm very new to Google Apps Script myself, but I have managed to get TaffyDB working server side. I loaded it up as a library in case I want to use it across multiple projects.
I did have to add this line to make it work server side:
function setTimeout() {}
Not sure if the is necessarily sufficient, but it worked as a starting point.