Gmaps4rails变焦不起作用

时间:2012-07-11 05:41:07

标签: ruby-on-rails gmaps4rails

我的gmaps zoom无效。这是代码:

=gmaps("map_options" => {"zoom" => 20},"markers" => { "data" => @maps_json })

我对这个实现有什么不对吗?

1 个答案:

答案 0 :(得分:5)

发现这个:

 = gmaps("map_options" => {"zoom" => 15, "auto_zoom" => false},"markers" => { "data" => @maps_json })