egeloen/IvoryGoogleMapBundle — Issue #8: How to display the map ?
Author: Airclic
Created: 2011-10-19 14:43:20+00:00
State: open

How to display the minimum of map ?
I try this code in my own bundle/controller, but nothing apears in the view:

use Ivory\GoogleMapBundle\IvoryGoogleMapBundle;
...
public function showMapAction()
{

$map	= $this->get('ivory_google_map.map');
return $this->render('MMproBundle:Vehicule:showmap.html.twig', array(
'map' => $map,
));
}

The twig view:
...

{{ google_map_js(map) }}

{{ google_map_container(map) }}

...

Can you help me ?