egeloen / IvoryGoogleMapBundle

Google Map API v3 integration for your Symfony2 project.
https://github.com/egeloen/ivory-google-map
MIT License
217 stars 152 forks source link

Missing API KEY #180

Closed horusagency closed 7 years ago

horusagency commented 8 years ago

Hi, i'm using 2.2 version and api always appears key error ("Missing api key") . In config.yml ivory_google_map: api: geocoder: provider: api_key: "myapikey" In my controller

$map = $this->get('ivory_google_map.map'); .... "map" => $map

In my twig view :

{{ google_map_container(map) }} {{ google_map_js(map) }}

Where is the problem?

Thank.

hdnick commented 8 years ago

I have the same problem

egeloen commented 7 years ago

You're both right. The api key is not supporrted on 2.x version but will be for the 3.x one. Sorry for that but I prefer focus on the 3.x for now.