我试过:<%= gmaps({"map_options" => @map_options,"markers" => { "data" => @markers}, "libraries" => "drawing", "circles" => { "数据" => '[ {"lng": -87.6355, "lat": 41.8886, "radius": 600, "strokeColor": "#FF0000"} ]' }}) %>
@map_options 只是一个实例变量,我在其中传递来自用户位置的 lat/lng。其他一切正常,但无法加载绘图工具。