Rails 3.2.12 で gem "gmaps4rails" を使用しています。map_options で detect_location = "true" を設定しましたが、ユーザーの現在位置を示すマーカーが表示されません。
コードは次のとおりです。
<%= gmaps("map_options" => {"auto_adjust" => true, "detect_location" => true, "center_on_user" => true, "auto_zoom" => false, "radius" => 2500},
"markers" => {"data" => @json, "options" => {"list_container" => "markers_list","randomize" => true,"max_random_distance" => 10000, "draggable" => true, "dblclick" => "latLng"} }
ユーザーの現在地をマーカーで表示する方法。
私を助けてください。前もって感謝します