Hi,

I'm sorry this broke you. I personally agree it doesn't make sense to 
redirect the loader url to a new one that doesn't have backwards 
compatibility.

As for your particular situation... I tried to fix your webapp. Basically 
it involves removing the loader.
I've written up a diff that fixes things: 
https://gist.github.com/paulirish/a9d67166c91ab390d9585155b15be8de

a few notes:

   1. The 'search' API isn't supported at all by the new loader. But also 
   1) i'm not sure it's supported by Google at all any longer ... and 2) I 
   don't think your webapp uses the API anymore.  So I just removed the calls 
   to attempt to use it. 
   2. This would almost work but the callback parameter handling in the new 
   loader doesn't work if the loader isn't the last <script> in the DOM. (And 
   in your case, it's the first). 
   3. If the callback were good, we'd be in business, but there's a console 
   message about loading the maps API via the loader being deprecated. So I 
   figure let's just drop the loader entirely.
   4. So that's what you'll see in the diff, we dynamically load the maps 
   API and drop loader/search entirely.

Good luck


On Tuesday, June 16, 2020 at 9:25:28 AM UTC-7 JavaJive wrote:

> Please see the following Google help page which has a current date:
> https://support.google.com/code/answer/74501?hl=en
>
>
> On Monday, 15 June 2020 22:27:20 UTC+1, JavaJive wrote:
>>
>> See further note below ...
>>
>> On Monday, 15 June 2020 19:04:13 UTC+1, Philipp Wollermann wrote:
>>>
>>> Hi,
>>>
>>> There's also something here about moving to the new library loader: 
>>> https://developers.google.com/chart/interactive/docs/basic_load_libs#update-library-loader-code
>>>
>>
>> No, that discusses changes to the Google Visualisation API that I don't 
>> use.  We're discussing the Google AJAX API loader which is now being 
>> redirected inappropriately to this Google Visualisation API despite the 
>> latter not being a replacement for the former in terms of functionality.
>>
>>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax-search-api@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-search-api+unsubscr...@googlegroups.com
To view this message on the web, visit
https://groups.google.com/d/msgid/google-ajax-search-api/4e5c49e2-7b02-4b76-b8c5-23c775e28c9en%40googlegroups.com
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-ajax-search-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-ajax-search-api/4e5c49e2-7b02-4b76-b8c5-23c775e28c9en%40googlegroups.com.

Reply via email to