I've tried it right now.
Here is a more extended piece of code:
        var key = '...';
google.charts.load('45', { 'packages': ['geochart'], mapsApiKey: key });
google.charts.setOnLoadCallback(function () {
   //not reached
   alert('great');
});



On Wednesday, 10 August 2016 23:06:22 UTC+3, Daniel LaLiberte wrote:
>
> Neo, have you tried '45' recently?  I just updated it, and more 
> importantly, the loader so that it should be working more reliably. If it 
> still does not work, I would like to investigate why so I will need to see 
> the particulars of how you are loading it.
>
> On Wed, Aug 10, 2016 at 3:49 PM, Neo Zion <[email protected] <javascript:>
> > wrote:
>
>> Hey,
>>
>> Version 45 doesn't work for me - the callback function passed to 
>> google.charts.setOnLoadCallback is not reached.
>> Version 44 do work but as I understand it can't accept mapsApiKey 
>> parameter.
>> Here we can see there is no version 45 yet: 
>> https://developers.google.com/chart/interactive/docs/release_notes
>> Please advise.
>>
>>
>> On Wednesday, 10 August 2016 19:09:10 UTC+3, Daniel LaLiberte wrote:
>>>
>>> Great to hear that you got it working, and thanks for the clarification 
>>> on which API needs be enabled.
>>>
>>> On Wed, Aug 10, 2016 at 4:33 AM, Luca Ricci <[email protected]> wrote:
>>>
>>>> Great! I just followed your instructions and it works!
>>>> Thanks!
>>>> It may be obvious, but the Goggle API to enable in order to use this 
>>>> service is the 'Google Maps JavaScript API'
>>>> I'm looking forward to the release for the 'current' version.
>>>> Thanks again.
>>>> Greetings.
>>>>
>>>> Il giorno martedì 9 agosto 2016 18:34:49 UTC+2, Daniel LaLiberte ha 
>>>> scritto:
>>>>>
>>>>> If you are loading with google.charts.load(), and you load '45' or 
>>>>> 'upcoming', you can now add a property to specify a mapsApiKey that you 
>>>>> set 
>>>>> up for your application.   This is instead of using the generic key that 
>>>>> will result in throttling for your users, and a message in your console.
>>>>>
>>>>> We need to add documentation for how to do this, but until then, here 
>>>>> is a very rough outline:  Read the docs at 
>>>>> https://developers.google.com/maps/documentation/javascript/get-api-key 
>>>>> to find out how to get your own key.  When using Google Charts, your code 
>>>>> will look something like this:
>>>>>
>>>>>   var myMapsApiKey = 'SomeMagicToSetThis';
>>>>>   google.charts.load('45', { mapsApiKey: myMapsApiKey, packages: [ 
>>>>> 'geochart'] });
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Aug 7, 2016 at 6:42 PM, Kenneth Kousen <[email protected]> 
>>>>> wrote:
>>>>>
>>>>>> Is there any resolution for this yet? I'm still stuck with something 
>>>>>> that used to work fine, and flashes a map but then gives the 
>>>>>> MissingKeyMapError. 
>>>>>>
>>>>>> I tried generating a key for localhost and appending it to the jsapi 
>>>>>> call, but nothing changed.
>>>>>>
>>>>>> Please help.
>>>>>>
>>>>>> Ken
>>>>>>
>>>>>> On Thursday, July 7, 2016 at 12:17:37 PM UTC-4, Luca Ricci wrote:
>>>>>>>
>>>>>>> I was using Google Charts with Geomap to display stats on 
>>>>>>> users provenance and started giving me "Google Maps API error: 
>>>>>>> MissingKeyMapError", but I'm not using Google Maps API, am I?
>>>>>>> Should I activate an API Key for Google Maps API or is a temporary 
>>>>>>> problem of Google Chats due to the recent change of policy for Google 
>>>>>>> Maps 
>>>>>>> API that now require an API Key to work?
>>>>>>> If I should activate an API Key which type of Key should I enable 
>>>>>>> (Google Maps JavaScript API, Google Static Maps API, Google Maps Embed 
>>>>>>> API, 
>>>>>>> Google Maps Geocoding API, ...)?
>>>>>>>
>>>>>>> Thank in advance for your help.
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Daniel LaLiberte 
>>>>> <https://plus.google.com/100631381223468223275?prsrc=2>
>>>>> [email protected]   5CC, Cambridge MA
>>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Google Visualization API" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at 
>>>> https://groups.google.com/group/google-visualization-api.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/google-visualization-api/8481cb5d-7508-47d1-8953-709e60db74a7%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/google-visualization-api/8481cb5d-7508-47d1-8953-709e60db74a7%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>>> [email protected]   5CC, Cambridge MA
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Visualization API" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at 
>> https://groups.google.com/group/google-visualization-api.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-visualization-api/934db1fe-9f15-4906-8fa9-83d6fac45b35%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-visualization-api/934db1fe-9f15-4906-8fa9-83d6fac45b35%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
> [email protected] <javascript:>   5CC, Cambridge MA
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/31ce3e31-1dd0-4a43-a6ef-835757cb4a81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to