I'm unsure if the maps I have created through the last years will work when the Google SQL API is shut down January 14th.
I have read about the migration process and I understand it should be straightforward. I don't think so.
Where can I in the code see if I have to change the code?
Some of my maps I have build with the help of the FusionTablesLayer Wizard.
Other maps I have build by using maps and templates I have found and changed. I have made it work, but I won't say I understand everything going on in the code.
I don't see an api key anywhere in the code of my maps. And that makes me unsure if I need to change anything.
Will this for instance work after January 14th:
http://www.kaasogmulvad.dk/unv/fusion/test.html
and what about this:
http://www.kaasogmulvad.dk/unv/3f/projekter1.html
Any help is much appreciated.
Neither of the examples you reference use the FusionTables SQL API. That is an external API for accessing data stored in FusionTables. Both of your examples just use the FusionTablesLayer from the Google Maps API v3.
Related
Google is upgrading old spreadsheets to the new version of Google Sheets.
This is beginning to screw up a web service I'm running that uses the Google Spreadsheets API. I need to quickly make some code changes so it understands the new API, but I don't know where to start.
The above linked has only this to say:
APIs — You may notice some subtle differences in API behavior.
What are these 'subtle differences'? Why can't I find a list of what has changed?
Well one thing that changed is it no longer suports the old way of authenticating. You now have to use OAuth. I think this is where my problem was.
I am using Google Places API to pull a list of resturants, and I am displaying them on map. However, since Apple has switched there map services over from Google in iOS 6.0, I am now in violation of Google's terms of use, which states that you must display Google data on a Google map.
"If your application displays Places API data on a map, that map must be provided by Google."
https://developers.google.com/places/policies#terms_of_use
I obviously need to change the map, because I am not going to release an application that is in violation. Any thoughts or suggestions on what to do? Should I go Google Maps with a web view? Does apple have some sort of Google Places API alternative?
Edit:
Using Google Maps through a web view is a hassle, i'd like to find an alternative to that, although it would technically work.
I decided to use Google Maps JavaScript API. Although, it is a little more difficult to deal with, mainly the JavaScript through Objective-C, it is a solution. The map is displayed through a web view, and I use JavaScript to interact with the map.
https://developers.google.com/maps/documentation/javascript/tutorial#api_key
I will wait to accept this answer, to see if anyone else has any thoughts. I just wanted to post this, in case it helps someone else.
Edit:
Google recently released a Maps SDK for iOS, this is the better solution now.
https://developers.google.com/maps/documentation/ios/
I would try to directly contact Google, explaining the situation, and ask them for written permission to use Apple's maps. This is more a legal question than programming. One would think that Google is aware that you can no longer display their maps using Apple's API and that, even regardless of the map, they would want you to use their places, as doing so generates advertising revenue for them.
Agree with #Owen here - you could get permission to leave your app unchanged until some possible future date when you might have to change it, or could you definitely go to the effort of changing it now and then possibly have to change it again in the future for some other reason.
If you could get a 100% guarantee that you could change it once and never have to change it again then I'd say do it now, but nothing's certain.
Does anyone have an example how to sync data to Google Calendar via Lua?
Finally just changing a dates entry and reading its content.
Google does not offer a client library for Lua so you will have to use their REST API. This means the best way to get started is by looking at the documentation at http://code.google.com/apis/calendar/v3/getting_started.html.
Besides plain Lua you will need at least something like LuaSocket to retrieve and create data over the wire and based on a quick glance of their documentation some sort of authentication library is required as well (I found LuaOAuth with a quick google, but I can not recommend it because I have personally not used it).
I am doing a Delphi transport application interacting with GoogleMaps APi and i would like to propose all "near by" names coming from the autocomplete Google Maps API when i enter the starting adress of the direction.
All of this will be displayed in a TCombobox when would be changed on the OnChange propertie.
Is that possible ??? ever heard of it ???
Thanks a lot
Gwenael
There is a part of the Google Maps API called The Google Places Autocomplete API. You can send requests (in the examples part of the reference page there is also the example with bounds for your purpose) as you will type in your combo box (ideally after some short delay for typos corrections). As the result you can receive either JSON or XML format file. After you parse it, you will get the list of appropriate suggestions.
I'm not sure with the Google Maps API Key; if it's possible to use it in standalone application (and about the limitations) because I haven't implemented static part of the Google Maps yet.
My first thought (assuming an approach which is based on remote controlling the web interface) was: this can be solved using TWebBrowser and friends (IWebBrowser2, IHTMLElement etc.). See my answer on this question to get a feeling for this. You could use Embedded Web Browser from bsalsa for easy access to all the Internet Explorer functionality.
My second thought was: there might be a part in the official API for this. But this I don't know. If there is none then the above approach could be a (work-intensive) workaround.
Yes, it's possible.
I have written a free and open source component that implements the Google Place Autocomplete and Google Place Details API's:
https://carbonsoft.co.za/components/
or
https://github.com/RynoCoetzee/TRCGPlaceAutoCompleteCombo
Has anyone got any suggestions on where to start with building a google map into a rails app? I would like users to be able to add a marker by clicking the map, and have spent a few days looking for a suitable tutorial or plugin (beyond ym4r), to little avail...any help would be much appreciated as I am finding the Google Maps API rather difficult to get into! I've also come across the railskit for google maps - does anyone have any experience in using it?
Just fyi, I made https://rubygems.org/gems/gmaps4rails which is a useful wrapper with several options.
I probably wouldn't use YM4R. We tried it and found that it doesn't add much value because it just wraps the API. I would recommend working with Google Maps directly from JavaScript. Google Maps API documentation is pretty good, and there are quite a few examples on the web.
There is an example of a click handler on the map here, and adding a marker is just a matter of doing
map.addOverlay(new GMarker(latlng));