Closed gmgp closed 10 years ago
First tanks for this Great Gem!
index,html.haml
= gmaps(kml: {data: '[{url:"https://maps.google.it/maps/ms?....04de5602338e1e25d8c"}]'}, map_options: { language: I18n.locale, container_class: "map_container_index" , auto_zoom: false, zoom: 8}, "markers" => { "data" => @json, "options" => { "randomize" => true, "max_random_distance" => 10, "clusterer_maxZoom" => 20, "clusterer_gridSize" => 25} })
zoom don't work
= gmaps(map_options: { language: I18n.locale, :container_class => "map_container_index" , auto_zoom: false, "zoom" => 8}, "markers" => { "data" => @json, "options" => { "randomize" => true, "max_random_distance" => 10, "clusterer_maxZoom" => 20, "clusterer_gridSize" => 25} })
simple work why?
because kml tend to take the lead on map. Should be handled in a callback
First tanks for this Great Gem!
index,html.haml
zoom don't work
simple work why?