Area sosta camper Firenze

'); carousel_output.push(''); if(i == markers.length-1){ $('ul#codespacing_progress_map_carousel_'+map_id+'').append(carousel_output.join('')); cspm_init_carousel(null, map_id); } } } }, events:{ mouseover: function(marker, event, elements){ /** * Display the single infobox */ if(show_infobox == 'true' && infobox_display_event == 'onhover') infobox_xhr = cspm_draw_single_infobox(plugin_map, map_id, infobox_div, infobox_type, marker, infobox_xhr, 'yes'); /** * Apply the style for the active item in the carousel */ if(!light_map){ var post_id = marker.post_id; var is_child = marker.is_child; var i = $('li[id='+map_id+'_list_items_'+post_id+'][data-is-child="'+is_child+'"]').attr('value'); cspm_call_carousel_item($('ul#codespacing_progress_map_carousel_'+map_id+'').data('jcarousel'), i); cspm_carousel_item_hover_style('li.carousel_item_'+i+'_'+map_id+'', map_id); } }, click: function(marker, event, elements){ var latLng = marker.position; /** * Center the map on that marker */ if(infobox_type != 'cspm_type5') map.panTo(latLng); /** * Display the single infobox */ if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event == 'onclick'){ setTimeout(function(){ infobox_xhr = cspm_draw_single_infobox(plugin_map, map_id, infobox_div, infobox_type, marker, infobox_xhr, 'yes'); }, 400); } /** * Apply the style for the active item in the carousel */ if(!light_map){ var post_id = marker.post_id; var is_child = marker.is_child; var i = $('li[id='+map_id+'_list_items_'+post_id+'][data-is-child="'+is_child+'"]').attr('value'); cspm_call_carousel_item($('ul#codespacing_progress_map_carousel_'+map_id+'').data('jcarousel'), i); cspm_carousel_item_hover_style('li.carousel_item_'+i+'_'+map_id+'', map_id); } } } } }); $('div.faceted_search_btn#'+map_id+'').show(); /** * Draw infoboxes (onload event) */ if(json_markers_data.length > 0 && clustering_method == true && show_infobox == 'true' && infobox_display_event == 'onload'){ google.maps.event.addListenerOnce(clusterer, 'clusteringend', function(cluster) { setTimeout(function(){ cspm_draw_multiple_infoboxes(plugin_map, map_id, '
', infobox_type, 'yes'); infobox_loaded = true; }, 1000); }); }else if(json_markers_data.length > 0 && clustering_method == false && show_infobox == 'true' && infobox_display_event == 'onload'){ setTimeout(function(){ cspm_draw_multiple_infoboxes(plugin_map, map_id, '
', infobox_type, 'yes'); infobox_loaded = true; }, 1000); }else if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event != 'onload'){infobox_loaded = true;} NProgress.done(); } }, events:{ click: function(){ /** * Remove single infobox on map click (onclick, onhover events) */ if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event != 'onload'){ infobox_div.addClass('cspm_animated fadeOutUp'); infobox_div.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){ infobox_div.hide().removeClass('cspm_animated fadeOutUp'); }); } }, idle: function(){ if(infobox_loaded && !cspm_is_panorama_active(plugin_map)){ setTimeout(function(){ if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event == 'onload'){ cspm_draw_multiple_infoboxes(plugin_map, map_id, '
', infobox_type, 'yes'); } }, 200); } }, bounds_changed: function(){ if(json_markers_data.length > 0){ if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event != 'onload'){ cspm_set_single_infobox_position(plugin_map, infobox_div); }else $('div.cspm_infobox_container').hide(); } }, drag: function(){ if(json_markers_data.length > 0){ if(show_infobox == 'true' && infobox_display_event != 'onload'){ cspm_set_single_infobox_position(plugin_map, infobox_div); }else $('div.cspm_infobox_container').hide(); } }, center_changed: function(){ setTimeout(function() { $('div[class^=cluster_posts_widget]').removeClass('flipInX'); $('div[class^=cluster_posts_widget]').addClass('cspm_animated flipOutX'); }, 1000); } } }, /** * Draw Polylines * @since 2.7 */ /** * Draw Polygons * @since 2.7 */ /** * Display KML Layers * @since 2.7 */ /** * Show the Traffic Layer * @since 2.7 */ /** * Geo Targeting */ /** * Set the map style */ /** * Echo the post count label */ }); /** * Hide/Show UI Controls depending on the streetview visibility */ var mapObject = plugin_map.gmap3('get'); if(typeof mapObject.getStreetView === 'function'){ var streetView = mapObject.getStreetView(); google.maps.event.addListener(streetView, "visible_changed", function(){ if(this.getVisible()){ // Hide the Zoom cotrol before the map load // Hide the faceted search before the map load $('div.faceted_search_btn#'+map_id+'').hide(); // Hide the search form before the map load $('div.cspm_infobox_container').hide(); }else{ // Show the Zoom cotrol after the map load // Show the faceted search after the map load $('div.faceted_search_btn#'+map_id+'').show(); // Show the search form after the map load if(json_markers_data.length > 0 && infobox_loaded){ setTimeout(function(){ if(show_infobox == 'true' && infobox_display_event == 'onload'){ cspm_draw_multiple_infoboxes(plugin_map, map_id, '
', infobox_type, 'yes'); } }, 200); } } }); } /** * Show error msg when center point is not correct */ /** * Center the Map on screen resize */ $(window).resize(function(){ setTimeout(function(){ var latLng = new google.maps.LatLng (43.7667, 11.25); var map = plugin_map.gmap3("get"); if(typeof map.panTo === 'function') map.panTo(latLng); if(typeof map.setCenter === 'function') map.setCenter(latLng); }, 500); }); /** * Resolve a problem of Google Maps & jQuery Tabs */ _CSPM_DONE[map_id] = true; });
'); carousel_output.push(''); if(i == markers.length-1){ $('ul#codespacing_progress_map_carousel_'+map_id+'').append(carousel_output.join('')); cspm_init_carousel(null, map_id); } } } }, events:{ mouseover: function(marker, event, elements){ /** * Display the single infobox */ if(show_infobox == 'true' && infobox_display_event == 'onhover') infobox_xhr = cspm_draw_single_infobox(plugin_map, map_id, infobox_div, infobox_type, marker, infobox_xhr, 'yes'); /** * Apply the style for the active item in the carousel */ if(!light_map){ var post_id = marker.post_id; var is_child = marker.is_child; var i = $('li[id='+map_id+'_list_items_'+post_id+'][data-is-child="'+is_child+'"]').attr('value'); cspm_call_carousel_item($('ul#codespacing_progress_map_carousel_'+map_id+'').data('jcarousel'), i); cspm_carousel_item_hover_style('li.carousel_item_'+i+'_'+map_id+'', map_id); } }, click: function(marker, event, elements){ var latLng = marker.position; /** * Center the map on that marker */ if(infobox_type != 'cspm_type5') map.panTo(latLng); /** * Display the single infobox */ if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event == 'onclick'){ setTimeout(function(){ infobox_xhr = cspm_draw_single_infobox(plugin_map, map_id, infobox_div, infobox_type, marker, infobox_xhr, 'yes'); }, 400); } /** * Apply the style for the active item in the carousel */ if(!light_map){ var post_id = marker.post_id; var is_child = marker.is_child; var i = $('li[id='+map_id+'_list_items_'+post_id+'][data-is-child="'+is_child+'"]').attr('value'); cspm_call_carousel_item($('ul#codespacing_progress_map_carousel_'+map_id+'').data('jcarousel'), i); cspm_carousel_item_hover_style('li.carousel_item_'+i+'_'+map_id+'', map_id); } } } } }); $('div.faceted_search_btn#'+map_id+'').show(); /** * Draw infoboxes (onload event) */ if(json_markers_data.length > 0 && clustering_method == true && show_infobox == 'true' && infobox_display_event == 'onload'){ google.maps.event.addListenerOnce(clusterer, 'clusteringend', function(cluster) { setTimeout(function(){ cspm_draw_multiple_infoboxes(plugin_map, map_id, '
', infobox_type, 'yes'); infobox_loaded = true; }, 1000); }); }else if(json_markers_data.length > 0 && clustering_method == false && show_infobox == 'true' && infobox_display_event == 'onload'){ setTimeout(function(){ cspm_draw_multiple_infoboxes(plugin_map, map_id, '
', infobox_type, 'yes'); infobox_loaded = true; }, 1000); }else if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event != 'onload'){infobox_loaded = true;} NProgress.done(); } }, events:{ click: function(){ /** * Remove single infobox on map click (onclick, onhover events) */ if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event != 'onload'){ infobox_div.addClass('cspm_animated fadeOutUp'); infobox_div.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){ infobox_div.hide().removeClass('cspm_animated fadeOutUp'); }); } }, idle: function(){ if(infobox_loaded && !cspm_is_panorama_active(plugin_map)){ setTimeout(function(){ if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event == 'onload'){ cspm_draw_multiple_infoboxes(plugin_map, map_id, '
', infobox_type, 'yes'); } }, 200); } }, bounds_changed: function(){ if(json_markers_data.length > 0){ if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event != 'onload'){ cspm_set_single_infobox_position(plugin_map, infobox_div); }else $('div.cspm_infobox_container').hide(); } }, drag: function(){ if(json_markers_data.length > 0){ if(show_infobox == 'true' && infobox_display_event != 'onload'){ cspm_set_single_infobox_position(plugin_map, infobox_div); }else $('div.cspm_infobox_container').hide(); } }, center_changed: function(){ setTimeout(function() { $('div[class^=cluster_posts_widget]').removeClass('flipInX'); $('div[class^=cluster_posts_widget]').addClass('cspm_animated flipOutX'); }, 1000); } } }, /** * Draw Polylines * @since 2.7 */ /** * Draw Polygons * @since 2.7 */ /** * Display KML Layers * @since 2.7 */ /** * Show the Traffic Layer * @since 2.7 */ /** * Geo Targeting */ /** * Set the map style */ /** * Echo the post count label */ }); /** * Hide/Show UI Controls depending on the streetview visibility */ var mapObject = plugin_map.gmap3('get'); if(typeof mapObject.getStreetView === 'function'){ var streetView = mapObject.getStreetView(); google.maps.event.addListener(streetView, "visible_changed", function(){ if(this.getVisible()){ // Hide the Zoom cotrol before the map load // Hide the faceted search before the map load $('div.faceted_search_btn#'+map_id+'').hide(); // Hide the search form before the map load $('div.cspm_infobox_container').hide(); }else{ // Show the Zoom cotrol after the map load // Show the faceted search after the map load $('div.faceted_search_btn#'+map_id+'').show(); // Show the search form after the map load if(json_markers_data.length > 0 && infobox_loaded){ setTimeout(function(){ if(show_infobox == 'true' && infobox_display_event == 'onload'){ cspm_draw_multiple_infoboxes(plugin_map, map_id, '
', infobox_type, 'yes'); } }, 200); } } }); } /** * Show error msg when center point is not correct */ /** * Center the Map on screen resize */ $(window).resize(function(){ setTimeout(function(){ var latLng = new google.maps.LatLng (43.9521698, 11.384330999999975); var map = plugin_map.gmap3("get"); if(typeof map.panTo === 'function') map.panTo(latLng); if(typeof map.setCenter === 'function') map.setCenter(latLng); }, 500); }); /** * Resolve a problem of Google Maps & jQuery Tabs */ _CSPM_DONE[map_id] = true; });
'); carousel_output.push(''); if(i == markers.length-1){ $('ul#codespacing_progress_map_carousel_'+map_id+'').append(carousel_output.join('')); cspm_init_carousel(null, map_id); } } } }, events:{ mouseover: function(marker, event, elements){ /** * Display the single infobox */