cmen / CMENGoogleChartsBundle

This Bundle provides a Twig extension and PHP objects to display Google charts in your Symfony application.
https://developers.google.com/chart/
Other
75 stars 21 forks source link

maps #44

Open angestu opened 4 years ago

angestu commented 4 years ago

hi, i'm using your bundle and it's great. I have a question though, when using your bundle for displaying a maps i'm supposed to register to googlemaps to get an API key is that correct?

cmen commented 4 years ago

Hi, Personally, I do not use maps. When I created this bundle, it was not necessary to have an API key. But when I look to documentation, apparently now we must provide an API Key :

google.charts.load('current', {
    'packages': ['map'],
    // Note: you will need to get a mapsApiKey for your project.
    // See: https://developers.google.com/chart/interactive/docs/basic_load_libs#load-settings
    'mapsApiKey': 'AIzaSyD-9tSrke72PouQMnMX-a7eZSW0jkFMBWY'

    });

So I think, this bundle is no more compatible with maps. It is necessary to make a test.

angestu commented 4 years ago

Thank you for your reply. An api key is necessary now if made the test.

Le mar. 1 sept. 2020 à 15:06, Christophe Meneses notifications@github.com a écrit :

Hi, Personally, I do not use maps. When I created this bundle, it was not necessary to have an API key. But when I look to documentation, apparently now we must provide an API Key :

google.charts.load('current', { 'packages': ['map'], // Note: you will need to get a mapsApiKey for your project. // See: https://developers.google.com/chart/interactive/docs/basic_load_libs#load-settings 'mapsApiKey': 'AIzaSyD-9tSrke72PouQMnMX-a7eZSW0jkFMBWY'

});

So I think, this bundle is no more compatible with maps. It is necessary to make a test.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cmen/CMENGoogleChartsBundle/issues/44#issuecomment-684838078, or unsubscribe https://github.com/notifications/unsubscribe-auth/AODHHPUJKNLK45LYTGUV5PDSDTWUVANCNFSM4QQKBDKA .