标签: ruby-on-rails gmaps4rails
我的gmaps zoom无效。这是代码:
gmaps
zoom
=gmaps("map_options" => {"zoom" => 20},"markers" => { "data" => @maps_json })
我对这个实现有什么不对吗?
答案 0 :(得分:5)
发现这个:
= gmaps("map_options" => {"zoom" => 15, "auto_zoom" => false},"markers" => { "data" => @maps_json })