I'm using Google Maps Engine Lite and placing markers on the map from a Google spreadsheet. At the moment I'm importing these manually into a layer.
Is there a way to automatically update the pins when the spreadsheet is updated?
There very little out there on this or is it because this needs to be done via the API with a coded solution?
I actually found that using Google Fusion tables solved this problem so that when that was updated, so was the map.
You can use the Google Spreadsheets add-on called Geosheets to create your map. That way your map will automatically update in realtime whenever data changes in your spreadsheet.
this GeoSheets looked cool at first, but the documentation is either wrong or it is mapping incorrectly. I gave it 20 addresses in Florida, and it placed them all over the world. Also after testing for 30 minutes I ran in to the daily free limit.
Related
Simply, I have created a chart by inserting a chart and adding range/settings etc.
But I have realised that when resizing the chart (by recording a macro) all the settings are lost.
Is there a way to convert the Google Sheets Chart into Google Apps Script, otherwise I think I will have to re-create the graph in Google Apps Script. Just hoping to save some time with this query.
Thank you in advance.
I understood that you want to create a graph in Apps Script in a similar way that you did in a Sheet. If I understood it right, then you can complete your aim by using Charts Service. You can see a full example in the linked documentation.
Just to clarify it, first you would need to create a table using DataTableBuilder. This table should be equal to the one in your Sheet. After that you can create a graph based on that table. Please, ask me any question if you still have doubts.
I am trying to use Google Apps Script together with Google Sheets to get API data from a bank to my online table, but looks it is absolutely impossible. Every time I do it, I get these messages:
"Authorization required
Exchange Rate Table needs your permission to access your data on Google
Google sign-in is temporarily disabled for this application
This app has not yet been verified for Google Sign-in".
What kind of authorization Google needs again? I tried to learn at the Google Identity Platform, but found there 10 page instructions with a lot of useful hyperlinks. I need a university course at least to understand it.
This is a known issue regarding Apps Script.
I suggest you star the issue and eventually add a comment saying that you are affected by it.
Google sometimes adds/changes GAS API and I never know,when and where new functions appears..
Can i subscribe to some topic where all of these changes are in one place?
I know there is issue tracking system,but it is always only one issue at a time but it is not all updates of API.
There's a release notes section:
https://developers.google.com/apps-script/releases/
i want allow my users to create google drive docs,sheet,folders,files etc. from my google classic site itself.
i don't have any idea how to do this.Can we use google drive api?
if yes ,how to call drive api from apps script to create new google sheets,docs etc.
or
is there any other way to create it.
i want to use this in my google sites
Anybody have any idea please let me know
It should be rather simple. Because you are working within Google Apps Script, you do not need to use the Drive API at all. You simply have to use the services made available to you by Google. Just read their documentation, like here. Right at the top, the first method clearly states SpreadsheetApp.create(name) will create a spreadsheet. Same thing with DocumentApp.create(name), FormApp etc.
I want to make changes to existing google charts in my spreadsheet when new data is entered. I have and onEdit function that is working nicely but I cannot figure out how to get a "pointer" to the existing chart objects in the spreadsheet.
See Programmatically Managing Charts in Spreadsheets:
Also, Other Google I/O announcements may be of interest
I hate to have to break the bad news. But it is just not possible. There's no API at all to deal with charts in spreadsheets.
If it's not a problem in your use-case. You could generate the chart image/url automatically from the script using the Google Charts Tools and then insert the it on the spreadsheet.