Wednesday, 2 October 2013

Symfony OhGoogleMapFormTypeBundle in SonataAdminBundle

Symfony OhGoogleMapFormTypeBundle in SonataAdminBundle

I have two field,its belove
$formMapper
->add('country', 'sonata_type_model',
array('empty_value'=>'Select Country'),
array('list' => 'list'))
->add('latlng', 'oh_google_maps',array('map_width'=>700))
i want to make user change country, then display selected country map

No comments:

Post a Comment