Closed michaelschapira closed 13 years ago
Hi,
It's not implemented yet, that's why it doesn't have any effect.
You should use the gmaps4rails_callback function as a workaround.
Post the question on stackoverflow if you get lost.
Benjamin Roth - Directeur de l'ingénierie Mobile : 06 43 46 61 47 Mail : benjamin.roth@peachyweb.com Google Talk : benjamin.roth@peachyweb.com
PeachyWeb SAS 16 bd Saint-Germain - 75005 Paris www.peachyweb.com Tél : 01 43 31 96 52 Fax : 09 72 22 39 67 Mail : contact@peachyweb.com
On 10 mai 2011, at 18:03, michaelschapirareply@reply.github.com wrote:
Hi, I am trying to disable the UI from the map as follow, but it's not taken into account:
<%= gmaps({ "map_options" => { "disableDefaultUI" => true, "type" => "ROADMAP", "zoom" => 15, "auto_adjust" => true, "auto_zoom" => false, "container_id" => "side_map", } , "markers" => { "data" => @gmap } } ) %>
Am I doing it the wrong way ?
Thanks.
Reply to this email directly or view it on GitHub: https://github.com/apneadiving/Google-Maps-for-Rails/issues/24
Merci pour la réponse rapide :) Thanks for the fast answer !
Derien ;)
Benjamin Roth - Directeur de l'ingénierie Mobile : 06 43 46 61 47 Mail : benjamin.roth@peachyweb.com Google Talk : benjamin.roth@peachyweb.com
PeachyWeb SAS 16 bd Saint-Germain - 75005 Paris www.peachyweb.com Tél : 01 43 31 96 52 Fax : 09 72 22 39 67 Mail : contact@peachyweb.com
On 10 mai 2011, at 18:10, michaelschapirareply@reply.github.com wrote:
Merci pour la réponse rapide :) Thanks for the fast answer !
Reply to this email directly or view it on GitHub: https://github.com/apneadiving/Google-Maps-for-Rails/issues/24#comment_1131866
Hi, I am trying to disable the UI from the map as follow, but it's not taken into account:
<%= gmaps({ "map_options" => { "disableDefaultUI" => true, "type" => "ROADMAP", "zoom" => 15, "auto_adjust" => true, "auto_zoom" => false, "container_id" => "side_map", } , "markers" => { "data" => @gmap } } ) %>
Am I doing it the wrong way ?
Thanks.