Closed woutsanders closed 10 years ago
I installed as per docs, but I cannot render a map. Symfony is telling me that the twig function {{ google_map(map) }} does not exist. I also tried the other 3 methods:
google_map_container() google_map_css() google_map_js()
I get the same error by all functions. Do you know what's wrong with it? I added these lines to my composer.json file as per docs:
"egeloen/google-map-bundle": "~2.1", "willdurand/geocoder": "*",
Never mind, I already found it. It was so obvious: I forgot to register the bundle in the AppKernel.php. Silly me :)
Solved!
I installed as per docs, but I cannot render a map. Symfony is telling me that the twig function {{ google_map(map) }} does not exist. I also tried the other 3 methods:
I get the same error by all functions. Do you know what's wrong with it? I added these lines to my composer.json file as per docs: