jQuery(document).ready(function($) {
var map_id = 'initial';
if(_CSPM_DONE[map_id] === true) return;
_CSPM_DONE[map_id] = false;
_CSPM_MAP_RESIZED[map_id] = 0;
NProgress.configure({
parent: 'div#codespacing_progress_map_div_'+map_id+'',
showSpinner: true
});
NProgress.start();
var infobox_xhr; // Will store the ajax requests in order to test if an ajax request will overide "an already sent and non finished" request
cspm_bubbles[map_id] = []; // Will store the marker bubbles (post_ids) in the viewport of the map
cspm_child_markers[map_id] = []; // Will store the status of markers in order to define secondary markers from parent markers
cspm_requests[map_id] = []; // Will store all the current ajax request (for infoboxes) in order to execute them when they all finish
post_ids_and_categories[map_id] = {}; // Will store the markers categories in order to use with faceted search and to define the marker icon
post_lat_lng_coords[map_id] = {}; // Will store the markers coordinates in order to use when rewriting the map & the carousel
post_ids_and_child_status[map_id] = {} // Will store the markers and their child status in order to use when rewriting the carousel
var json_markers_data = []; // Will store the markers
/**
* init plugin map */
var plugin_map_placeholder = 'div#codespacing_progress_map_div_'+map_id;
var plugin_map = $(plugin_map_placeholder);
/**
* Load Map options */
var map_options = cspm_load_map_options(false, null, 3);
/**
* Activate the new google map visual */
google.maps.visualRefresh = true;
/**
* The initial map style */
var initial_map_style = "custom_style";
// Enhance the map option with the map type id of the style
// The initial style
var map_type_id = cspm_initial_map_style(initial_map_style, true);
// Map type control option
var mapTypeControlOptions = {mapTypeControlOptions: {
position: google.maps.ControlPosition.TOP_RIGHT,
mapTypeIds: [google.maps.MapTypeId.ROADMAP,
google.maps.MapTypeId.SATELLITE,
google.maps.MapTypeId.TERRAIN,
google.maps.MapTypeId.HYBRID,
"custom_style"]
}};
var map_options = $.extend({}, map_options, map_type_id, mapTypeControlOptions);
// The carousel dimensions & style
var light_map = true;
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(0, '5373', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(1, '5359', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(2, '5346', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(3, '5341', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(4, '5305', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(5, '5303', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(6, '5254', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(7, '5105', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(8, '4625', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(9, '4761', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(10, '4775', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(11, '4638', 43.45880864889803, 11.875404404785285, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(12, '4551', 43.7228386, 10.401688799999988, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(13, '4540', 46.4907973, 9.835507900000039, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(14, '4524', 34.0522342, -118.2436849, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(15, '4519', 25.2854473, 51.53103979999992, '72,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(16, '4503', 44.4930438, 11.345404300000041, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(17, '4479', 44.4928053, 11.345039000000043, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(18, '4461', 45.470157, 9.195341999999982, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(19, '4456', 45.4642035, 9.189981999999986, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(20, '4428', 31.2303904, 121.47370209999997, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(21, '4411', 43.5297716, 11.865900199999942, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(22, '4401', 43.45880864889803, 11.875404404785286, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(23, '4389', 43.45880864889803, 11.875404404785286, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(24, '4348', 43.0551015, 11.48900320000007, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(25, '4110', 24.453884, 54.37734380000006, '72', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(26, '4098', 44.6968525, 10.635798900000054, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(27, '4088', 45.7366403, 7.3183199999999715, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(28, '4042', 45.1574836, 10.78610249999997, '48,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(29, '3683', 45.4654219, 9.18592430000001, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(30, '3575', 45.4422, 10.993889999999964, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(31, '3675', 45.470363, 9.196609099999932, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
// Create the pin object
var marker_object = cspm_new_pin_object(32, '3675-0', 45.470363, 9.196609099999932, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'yes_0');
json_markers_data.push(marker_object);
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(33, '3137', 35.6894875, 139.69170639999993, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(34, '3713', 45.788361763591645, 6.972866030006571, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(35, '3664', 35.6894875, 139.69170639999993, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(36, '3531', 48.8566784, 2.3390567999999803, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(37, '3409', 45.4953325822638, 9.17501143558195, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(38, '3208', 45.48224134146934, 9.150435230119342, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(39, '3086', 43.5459493, 10.312293299999964, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(40, '2855', 43.463260741875835, 11.87885484819276, '69', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(41, '2806', 25.2048493, 55.270782800000006, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(42, '2796', 51.4973935, -0.15906250000000455, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(43, '2763', 43.4655506, 11.881773100000032, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(44, '2718', 45.4654219, 9.18592430000001, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(45, '2643', 43.70223020104776, 11.46425093173832, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(46, '2633', 39.90978855224567, 116.41227260845955, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(47, '2559', 37.566535, 126.97796919999996, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(48, '2116', 45.5415526, 10.211801899999955, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(49, '2056', 45.4654219, 9.18592430000001, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(50, '2043', 45.48224134146934, 9.150435230119342, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(51, '2000', 43.7695604, 11.25581360000001, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(52, '1967', 30.593099, 114.30539299999998, '65', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(53, '1939', 43.46746171370648, 11.879492324418834, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(54, '1883', 47.80949, 13.055010000000038, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(55, '1845', 34.690083, 135.19551120000005, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(56, '1789', 30.593099, 114.30539299999998, '65', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(57, '1751', 45.4408474, 12.31551509999997, '59', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(58, '1742', 43.46328390000001, 11.879633600000033, '59', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(59, '1728', 45.43838419999999, 10.991621500000064, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(60, '1723', 45.469864041465314, 9.195681965697076, '51', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(61, '1716', 44.494887, 11.342616300000031, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(62, '1694', 43.0433341, 11.815412199999968, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(63, '1680', 51.49943093046518, -0.16318395836458421, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(64, '1675', 35.6894875, 139.69170639999993, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(65, '1667', 30.593099, 114.30539299999998, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(66, '1659', 30.593099, 114.30539299999998, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(67, '1644', 37.5617581, 127.00771639999993, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(68, '1639', 35.691050809713396, 139.70391890114013, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(69, '1621', 45.48232068258979, 10.176687676721258, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(70, '1622', 45.48232068258979, 10.176687676721258, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(71, '1599', 45.44022388681591, 12.331619729668546, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(72, '1593', 45.44022388681591, 12.331619729668546, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(73, '1588', 34.0834624, -118.33661360000002, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(74, '1583', 48.960226, 2.5428670999999667, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(75, '1557', 43.46746171370648, 11.879492324418834, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(76, '1552', 34.06813673733621, -118.40198059999994, '57', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(77, '1534', 25.81269269576209, -80.19108470132107, '57', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(78, '1776', 36.1127423, -115.17307840000001, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(79, '1971', 43.463260741875835, 11.87885484819276, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(80, '1504', 46.4950997, 9.83614190000003, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(81, '1496', 45.47524151330102, 9.168508187220481, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(82, '1471', 45.1351545, 10.025435799999968, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(83, '1451', 45.0679393, 7.6832001999999875, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(84, '1441', 45.06782912370089, 7.683252460333961, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(85, '1432', 43.842509983945014, 10.505948419670858, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(86, '1425', 45.788361763591645, 6.972866030006571, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(87, '1419', 45.53618331651917, 10.218707151800572, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(88, '1406', 40.3561649, 49.83407839999995, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(89, '1399', 45.469337826156476, 9.19182294346217, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(90, '1382', 51.50042684748844, -0.15984780474127547, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(91, '1373', 51.509006774211095, -0.14022382098528396, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(92, '1362', 41.90745769999999, 12.480282999999985, '48,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(93, '1334', 43.2220146, 76.8512485, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(94, '1328', 31.21243209999999, 121.45086270000001, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(95, '1323', 34.689333172768784, 135.1928832110451, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(96, '1311', 43.727867, 10.806722000000036, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(97, '1297', 46.5366393, 10.134676899999931, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(98, '1290', 46.4755299154523, 7.284812358335898, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(99, '1279', 43.42937033249012, 11.828976877423884, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(100, '1270', 41.9037195, 12.4792281, '60', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(101, '1265', 45.470363, 9.196609099999932, '60', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(102, '1256', 25.11809, 55.200350399999934, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(103, '1249', 35.1712082, 136.8852445, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(104, '1242', 22.2815986, 114.15853859999993, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(105, '1232', 40.762333, -73.97171650000001, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(106, '1226', 40.762682, -73.97459099999997, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(107, '1212', 36.1127423, -115.17307840000001, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(108, '1203', 39.1882931, -106.81848630000002, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(109, '1190', 48.2103129, 16.368199600000025, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(110, '1183', 48.8712628, 2.3163852000000133, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(111, '1176', 48.8687266, 2.3228059000000485, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(112, '1166', 48.13944619999999, 11.577191999999968, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(113, '1159', 31.20595299999999, 121.40773100000001, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(114, '1152', 41.394761, 2.1621420999999827, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(115, '1136', 45.4664187, 9.189974699999993, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(116, '1127', 45.4678198, 9.195837799999935, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(117, '1120', 45.4678198, 9.195837799999935, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(118, '1110', 35.6736778, 139.76727270000003, '57,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(119, '1088', 22.2962687, 114.17068560000007, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(120, '1081', 48.8712628, 2.3163852000000133, '57,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(121, '1103', 51.51093359999999, -0.14310409999995954, '57,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(122, '1053', 44.49153279999999, 11.344115800000054, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(123, '1040', 45.4152189, 6.635758200000055, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(124, '1033', 51.5104429, -0.14277449999997316, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(125, '995', 45.46578316980133, 9.189933787696873, '59', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(126, '998', 43.462648105344556, 11.88461872409971, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(127, '932', 45.44034303267191, 12.333052723643732, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(128, '895', 34.6714818, 135.50073810000004, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(129, '997', 40.76230252643231, -73.97175405092617, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(130, '720', 45.4560675, 9.210218199999985, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(131, '950', 22.297350818770667, 114.1688026063598, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(132, '1037', 51.5091443, -0.14083860000005188, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(133, '1003', 45.465501, 9.190143000000034, '61', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(134, '652', 43.754311, 11.307492000000024, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(135, '960', 45.4694107, 9.197408499999937, '57', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(136, '955', 39.9443916, 116.45337719999998, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
var infobox_div = $('div.cspm_infobox_container.cspm_infobox_'+map_id+'');
var show_infobox = 'true';
var infobox_type = 'cspm_type2';
var infobox_display_event = 'onclick';
var useragent = navigator.userAgent;
var infobox_loaded = false;
var clustering_method = false;
/**
* [@polyline_values] - will store an Object of all available Polylines
* [@polygon_values] - will store an Object of all available Polygons
*
* @since 2.7
*/
var polyline_values = [];
var polygon_values = [];
/**
* Build the map */
plugin_map.gmap3({
map:{
options: map_options,
onces: {
tilesloaded: function(map){
var carousel_output = [];
plugin_map.gmap3({
marker:{
values: json_markers_data,
callback: function(markers){
/**
* Autofit the map to contain all markers & clusters */
/**
* Build the carousel items */
if(!light_map){
for(var i = 0; i < markers.length; i++){
var post_id = markers[i].post_id;
var is_child = markers[i].is_child;
// Convert the LatLng object to array
var marker_position = $.map(markers[i].position, function(value, index) {
return [value];
});
var lat = marker_position[0];
var lng = marker_position[1];
// Create carousel items
carousel_output.push('
');
carousel_output.push('
');
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);
}
}
}
}
});
clustering_method = true;
var clusterer = cspm_clustering(plugin_map, map_id, light_map); $('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+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 */
styledmaptype:{
id: "custom_style",
options:{
name: "Baciocchi",
alt: "Show Baciocchi"
},
styles: [ { featureType:'all', elementType:'labels.text.stroke', stylers:[ {hue:'#000000'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{ featureType:'all', elementType:'labels.icon', stylers:[ {hue:'#000000'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{ featureType:'water', elementType:'all', stylers:[ {hue:'#000000'}, {saturation:-100}, {lightness:100}, {visibility:'on'} ] },{ featureType:'landscape', elementType:'geometry', stylers:[ {hue:'#D1D3D4'}, {saturation:-88}, {lightness:-7}, {visibility:'on'} ] },{ featureType:'landscape', elementType:'labels', stylers:[ {hue:'#939598'}, {saturation:-91}, {lightness:-34}, {visibility:'on'} ] },{ featureType:'poi', elementType:'all', stylers:[ {hue:'#E3EBE5'}, {saturation:-61}, {lightness:57}, {visibility:'off'} ] },{ featureType:'poi.park', elementType:'geometry', stylers:[ {hue:'#E3EBE5'}, {saturation:-100}, {lightness:57}, {visibility:'on'} ] },{ featureType:"administrative", elementType:"geometry.fill", stylers:[ {visibility:"off"} ] },{ featureType:'administrative.country', elementType:'all', stylers:[ {hue:'#E3EBE5'}, {saturation:-100}, {lightness:81}, {visibility:'off'} ] }, { featureType:'administrative.province', elementType:'all', stylers:[ {hue:'#E3EBE5'}, {saturation:-100}, {lightness:81}, {visibility:'off'} ] },{
"featureType": "administrative.locality", "stylers": [ { "visibility": "off" } ] },{ featureType:'administrative.neighborhood', elementType:'labels', stylers:[ {hue:'#939598'}, {saturation:-100}, {lightness:16}, {visibility:'on'} ] },{ featureType:'administrative.neighborhood', elementType:'all', stylers:[ {hue:'#939598'}, {saturation:-100}, {lightness:16}, {visibility:'on'} ] },{ featureType:'administrative.land_parcel', elementType:'all', stylers:[ {hue:'#939598'}, {saturation:-100}, {lightness:16}, {visibility:'simplified'} ] },{ featureType:'road.highway', elementType:'geometry', stylers:[ {hue:'#939598'}, {saturation:-98}, {lightness:-8}, {visibility:'off'} ] },{ featureType:'road.highway', elementType:'labels', stylers:[ {hue:'#FFFFFF'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{ featureType:'road.arterial', elementType:'geometry', stylers:[ {hue:'#6D6E71'}, {saturation:-98}, {lightness:-43}, {visibility:'off'} ] },{ featureType:'road.arterial', elementType:'labels', stylers:[ {hue:'#FFFFFF'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{featureType:"road.local", elementType:"geometry","stylers":[{"hue":"#ffffff"},{"saturation":-100},{"lightness":100},{"visibility":"on"}]},{ featureType:'road.local', elementType:'labels', stylers:[ {hue:'#d8d8d8'}, {saturation:-88}, {lightness:-7}, {visibility:'on'} ]}, {featureType: 'transit.line', elementType: 'geometry', stylers: [{ visibility: 'off'}]}, {featureType: 'transit.line', elementType: 'labels.text', stylers: [ {visibility: 'off' }]
}
] },
/**
* 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
$('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+map_id+'').hide();
// Hide the faceted search before the map load
// Hide the search form before the map load
$('div.cspm_infobox_container').hide();
}else{
// Show the Zoom cotrol after the map load
$('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+map_id+'').show();
// Show the faceted search after the map load
// 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 */
// Call zoom-in function
cspm_zoom_in($('div.codespacing_map_zoom_in_'+map_id+''), plugin_map);
// Call zoom-out function
cspm_zoom_out($('div.codespacing_map_zoom_out_'+map_id+''), plugin_map);
/**
* Center the Map on screen resize */
$(window).resize(function(){
setTimeout(function(){
var latLng = new google.maps.LatLng (41.11114, 28.88860);
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;
});
"/>
jQuery(document).ready(function($) {
var map_id = 'initial';
if(_CSPM_DONE[map_id] === true) return;
_CSPM_DONE[map_id] = false;
_CSPM_MAP_RESIZED[map_id] = 0;
NProgress.configure({
parent: 'div#codespacing_progress_map_div_'+map_id+'',
showSpinner: true
});
NProgress.start();
var infobox_xhr; // Will store the ajax requests in order to test if an ajax request will overide "an already sent and non finished" request
cspm_bubbles[map_id] = []; // Will store the marker bubbles (post_ids) in the viewport of the map
cspm_child_markers[map_id] = []; // Will store the status of markers in order to define secondary markers from parent markers
cspm_requests[map_id] = []; // Will store all the current ajax request (for infoboxes) in order to execute them when they all finish
post_ids_and_categories[map_id] = {}; // Will store the markers categories in order to use with faceted search and to define the marker icon
post_lat_lng_coords[map_id] = {}; // Will store the markers coordinates in order to use when rewriting the map & the carousel
post_ids_and_child_status[map_id] = {} // Will store the markers and their child status in order to use when rewriting the carousel
var json_markers_data = []; // Will store the markers
/**
* init plugin map */
var plugin_map_placeholder = 'div#codespacing_progress_map_div_'+map_id;
var plugin_map = $(plugin_map_placeholder);
/**
* Load Map options */
var map_options = cspm_load_map_options(false, null, 3);
/**
* Activate the new google map visual */
google.maps.visualRefresh = true;
/**
* The initial map style */
var initial_map_style = "custom_style";
// Enhance the map option with the map type id of the style
// The initial style
var map_type_id = cspm_initial_map_style(initial_map_style, true);
// Map type control option
var mapTypeControlOptions = {mapTypeControlOptions: {
position: google.maps.ControlPosition.TOP_RIGHT,
mapTypeIds: [google.maps.MapTypeId.ROADMAP,
google.maps.MapTypeId.SATELLITE,
google.maps.MapTypeId.TERRAIN,
google.maps.MapTypeId.HYBRID,
"custom_style"]
}};
var map_options = $.extend({}, map_options, map_type_id, mapTypeControlOptions);
// The carousel dimensions & style
var light_map = true;
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(0, '5373', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(1, '5359', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(2, '5346', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(3, '5341', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(4, '5305', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(5, '5303', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(6, '5254', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(7, '5105', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(8, '4625', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(9, '4761', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(10, '4775', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(11, '4638', 43.45880864889803, 11.875404404785285, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(12, '4551', 43.7228386, 10.401688799999988, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(13, '4540', 46.4907973, 9.835507900000039, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(14, '4524', 34.0522342, -118.2436849, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(15, '4519', 25.2854473, 51.53103979999992, '72,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(16, '4503', 44.4930438, 11.345404300000041, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(17, '4479', 44.4928053, 11.345039000000043, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(18, '4461', 45.470157, 9.195341999999982, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(19, '4456', 45.4642035, 9.189981999999986, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(20, '4428', 31.2303904, 121.47370209999997, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(21, '4411', 43.5297716, 11.865900199999942, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(22, '4401', 43.45880864889803, 11.875404404785286, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(23, '4389', 43.45880864889803, 11.875404404785286, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(24, '4348', 43.0551015, 11.48900320000007, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(25, '4110', 24.453884, 54.37734380000006, '72', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(26, '4098', 44.6968525, 10.635798900000054, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(27, '4088', 45.7366403, 7.3183199999999715, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(28, '4042', 45.1574836, 10.78610249999997, '48,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(29, '3683', 45.4654219, 9.18592430000001, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(30, '3575', 45.4422, 10.993889999999964, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(31, '3675', 45.470363, 9.196609099999932, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
// Create the pin object
var marker_object = cspm_new_pin_object(32, '3675-0', 45.470363, 9.196609099999932, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'yes_0');
json_markers_data.push(marker_object);
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(33, '3137', 35.6894875, 139.69170639999993, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(34, '3713', 45.788361763591645, 6.972866030006571, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(35, '3664', 35.6894875, 139.69170639999993, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(36, '3531', 48.8566784, 2.3390567999999803, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(37, '3409', 45.4953325822638, 9.17501143558195, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(38, '3208', 45.48224134146934, 9.150435230119342, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(39, '3086', 43.5459493, 10.312293299999964, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(40, '2855', 43.463260741875835, 11.87885484819276, '69', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(41, '2806', 25.2048493, 55.270782800000006, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(42, '2796', 51.4973935, -0.15906250000000455, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(43, '2763', 43.4655506, 11.881773100000032, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(44, '2718', 45.4654219, 9.18592430000001, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(45, '2643', 43.70223020104776, 11.46425093173832, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(46, '2633', 39.90978855224567, 116.41227260845955, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(47, '2559', 37.566535, 126.97796919999996, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(48, '2116', 45.5415526, 10.211801899999955, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(49, '2056', 45.4654219, 9.18592430000001, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(50, '2043', 45.48224134146934, 9.150435230119342, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(51, '2000', 43.7695604, 11.25581360000001, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(52, '1967', 30.593099, 114.30539299999998, '65', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(53, '1939', 43.46746171370648, 11.879492324418834, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(54, '1883', 47.80949, 13.055010000000038, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(55, '1845', 34.690083, 135.19551120000005, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(56, '1789', 30.593099, 114.30539299999998, '65', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(57, '1751', 45.4408474, 12.31551509999997, '59', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(58, '1742', 43.46328390000001, 11.879633600000033, '59', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(59, '1728', 45.43838419999999, 10.991621500000064, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(60, '1723', 45.469864041465314, 9.195681965697076, '51', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(61, '1716', 44.494887, 11.342616300000031, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(62, '1694', 43.0433341, 11.815412199999968, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(63, '1680', 51.49943093046518, -0.16318395836458421, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(64, '1675', 35.6894875, 139.69170639999993, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(65, '1667', 30.593099, 114.30539299999998, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(66, '1659', 30.593099, 114.30539299999998, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(67, '1644', 37.5617581, 127.00771639999993, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(68, '1639', 35.691050809713396, 139.70391890114013, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(69, '1621', 45.48232068258979, 10.176687676721258, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(70, '1622', 45.48232068258979, 10.176687676721258, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(71, '1599', 45.44022388681591, 12.331619729668546, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(72, '1593', 45.44022388681591, 12.331619729668546, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(73, '1588', 34.0834624, -118.33661360000002, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(74, '1583', 48.960226, 2.5428670999999667, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(75, '1557', 43.46746171370648, 11.879492324418834, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(76, '1552', 34.06813673733621, -118.40198059999994, '57', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(77, '1534', 25.81269269576209, -80.19108470132107, '57', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(78, '1776', 36.1127423, -115.17307840000001, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(79, '1971', 43.463260741875835, 11.87885484819276, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(80, '1504', 46.4950997, 9.83614190000003, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(81, '1496', 45.47524151330102, 9.168508187220481, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(82, '1471', 45.1351545, 10.025435799999968, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(83, '1451', 45.0679393, 7.6832001999999875, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(84, '1441', 45.06782912370089, 7.683252460333961, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(85, '1432', 43.842509983945014, 10.505948419670858, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(86, '1425', 45.788361763591645, 6.972866030006571, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(87, '1419', 45.53618331651917, 10.218707151800572, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(88, '1406', 40.3561649, 49.83407839999995, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(89, '1399', 45.469337826156476, 9.19182294346217, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(90, '1382', 51.50042684748844, -0.15984780474127547, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(91, '1373', 51.509006774211095, -0.14022382098528396, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(92, '1362', 41.90745769999999, 12.480282999999985, '48,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(93, '1334', 43.2220146, 76.8512485, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(94, '1328', 31.21243209999999, 121.45086270000001, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(95, '1323', 34.689333172768784, 135.1928832110451, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(96, '1311', 43.727867, 10.806722000000036, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(97, '1297', 46.5366393, 10.134676899999931, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(98, '1290', 46.4755299154523, 7.284812358335898, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(99, '1279', 43.42937033249012, 11.828976877423884, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(100, '1270', 41.9037195, 12.4792281, '60', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(101, '1265', 45.470363, 9.196609099999932, '60', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(102, '1256', 25.11809, 55.200350399999934, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(103, '1249', 35.1712082, 136.8852445, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(104, '1242', 22.2815986, 114.15853859999993, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(105, '1232', 40.762333, -73.97171650000001, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(106, '1226', 40.762682, -73.97459099999997, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(107, '1212', 36.1127423, -115.17307840000001, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(108, '1203', 39.1882931, -106.81848630000002, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(109, '1190', 48.2103129, 16.368199600000025, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(110, '1183', 48.8712628, 2.3163852000000133, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(111, '1176', 48.8687266, 2.3228059000000485, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(112, '1166', 48.13944619999999, 11.577191999999968, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(113, '1159', 31.20595299999999, 121.40773100000001, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(114, '1152', 41.394761, 2.1621420999999827, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(115, '1136', 45.4664187, 9.189974699999993, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(116, '1127', 45.4678198, 9.195837799999935, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(117, '1120', 45.4678198, 9.195837799999935, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(118, '1110', 35.6736778, 139.76727270000003, '57,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(119, '1088', 22.2962687, 114.17068560000007, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(120, '1081', 48.8712628, 2.3163852000000133, '57,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(121, '1103', 51.51093359999999, -0.14310409999995954, '57,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(122, '1053', 44.49153279999999, 11.344115800000054, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(123, '1040', 45.4152189, 6.635758200000055, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(124, '1033', 51.5104429, -0.14277449999997316, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(125, '995', 45.46578316980133, 9.189933787696873, '59', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(126, '998', 43.462648105344556, 11.88461872409971, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(127, '932', 45.44034303267191, 12.333052723643732, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(128, '895', 34.6714818, 135.50073810000004, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(129, '997', 40.76230252643231, -73.97175405092617, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(130, '720', 45.4560675, 9.210218199999985, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(131, '950', 22.297350818770667, 114.1688026063598, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(132, '1037', 51.5091443, -0.14083860000005188, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(133, '1003', 45.465501, 9.190143000000034, '61', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(134, '652', 43.754311, 11.307492000000024, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(135, '960', 45.4694107, 9.197408499999937, '57', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(136, '955', 39.9443916, 116.45337719999998, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
var infobox_div = $('div.cspm_infobox_container.cspm_infobox_'+map_id+'');
var show_infobox = 'true';
var infobox_type = 'cspm_type2';
var infobox_display_event = 'onclick';
var useragent = navigator.userAgent;
var infobox_loaded = false;
var clustering_method = false;
/**
* [@polyline_values] - will store an Object of all available Polylines
* [@polygon_values] - will store an Object of all available Polygons
*
* @since 2.7
*/
var polyline_values = [];
var polygon_values = [];
/**
* Build the map */
plugin_map.gmap3({
map:{
options: map_options,
onces: {
tilesloaded: function(map){
var carousel_output = [];
plugin_map.gmap3({
marker:{
values: json_markers_data,
callback: function(markers){
/**
* Autofit the map to contain all markers & clusters */
/**
* Build the carousel items */
if(!light_map){
for(var i = 0; i < markers.length; i++){
var post_id = markers[i].post_id;
var is_child = markers[i].is_child;
// Convert the LatLng object to array
var marker_position = $.map(markers[i].position, function(value, index) {
return [value];
});
var lat = marker_position[0];
var lng = marker_position[1];
// Create carousel items
carousel_output.push('');
carousel_output.push('
');
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);
}
}
}
}
});
clustering_method = true;
var clusterer = cspm_clustering(plugin_map, map_id, light_map); $('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+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 */
styledmaptype:{
id: "custom_style",
options:{
name: "Baciocchi",
alt: "Show Baciocchi"
},
styles: [ { featureType:'all', elementType:'labels.text.stroke', stylers:[ {hue:'#000000'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{ featureType:'all', elementType:'labels.icon', stylers:[ {hue:'#000000'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{ featureType:'water', elementType:'all', stylers:[ {hue:'#000000'}, {saturation:-100}, {lightness:100}, {visibility:'on'} ] },{ featureType:'landscape', elementType:'geometry', stylers:[ {hue:'#D1D3D4'}, {saturation:-88}, {lightness:-7}, {visibility:'on'} ] },{ featureType:'landscape', elementType:'labels', stylers:[ {hue:'#939598'}, {saturation:-91}, {lightness:-34}, {visibility:'on'} ] },{ featureType:'poi', elementType:'all', stylers:[ {hue:'#E3EBE5'}, {saturation:-61}, {lightness:57}, {visibility:'off'} ] },{ featureType:'poi.park', elementType:'geometry', stylers:[ {hue:'#E3EBE5'}, {saturation:-100}, {lightness:57}, {visibility:'on'} ] },{ featureType:"administrative", elementType:"geometry.fill", stylers:[ {visibility:"off"} ] },{ featureType:'administrative.country', elementType:'all', stylers:[ {hue:'#E3EBE5'}, {saturation:-100}, {lightness:81}, {visibility:'off'} ] }, { featureType:'administrative.province', elementType:'all', stylers:[ {hue:'#E3EBE5'}, {saturation:-100}, {lightness:81}, {visibility:'off'} ] },{
"featureType": "administrative.locality", "stylers": [ { "visibility": "off" } ] },{ featureType:'administrative.neighborhood', elementType:'labels', stylers:[ {hue:'#939598'}, {saturation:-100}, {lightness:16}, {visibility:'on'} ] },{ featureType:'administrative.neighborhood', elementType:'all', stylers:[ {hue:'#939598'}, {saturation:-100}, {lightness:16}, {visibility:'on'} ] },{ featureType:'administrative.land_parcel', elementType:'all', stylers:[ {hue:'#939598'}, {saturation:-100}, {lightness:16}, {visibility:'simplified'} ] },{ featureType:'road.highway', elementType:'geometry', stylers:[ {hue:'#939598'}, {saturation:-98}, {lightness:-8}, {visibility:'off'} ] },{ featureType:'road.highway', elementType:'labels', stylers:[ {hue:'#FFFFFF'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{ featureType:'road.arterial', elementType:'geometry', stylers:[ {hue:'#6D6E71'}, {saturation:-98}, {lightness:-43}, {visibility:'off'} ] },{ featureType:'road.arterial', elementType:'labels', stylers:[ {hue:'#FFFFFF'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{featureType:"road.local", elementType:"geometry","stylers":[{"hue":"#ffffff"},{"saturation":-100},{"lightness":100},{"visibility":"on"}]},{ featureType:'road.local', elementType:'labels', stylers:[ {hue:'#d8d8d8'}, {saturation:-88}, {lightness:-7}, {visibility:'on'} ]}, {featureType: 'transit.line', elementType: 'geometry', stylers: [{ visibility: 'off'}]}, {featureType: 'transit.line', elementType: 'labels.text', stylers: [ {visibility: 'off' }]
}
] },
/**
* 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
$('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+map_id+'').hide();
// Hide the faceted search before the map load
// Hide the search form before the map load
$('div.cspm_infobox_container').hide();
}else{
// Show the Zoom cotrol after the map load
$('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+map_id+'').show();
// Show the faceted search after the map load
// 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 */
// Call zoom-in function
cspm_zoom_in($('div.codespacing_map_zoom_in_'+map_id+''), plugin_map);
// Call zoom-out function
cspm_zoom_out($('div.codespacing_map_zoom_out_'+map_id+''), plugin_map);
/**
* Center the Map on screen resize */
$(window).resize(function(){
setTimeout(function(){
var latLng = new google.maps.LatLng (41.11114, 28.88860);
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;
});
"/>
jQuery(document).ready(function($) {
var map_id = 'initial';
if(_CSPM_DONE[map_id] === true) return;
_CSPM_DONE[map_id] = false;
_CSPM_MAP_RESIZED[map_id] = 0;
NProgress.configure({
parent: 'div#codespacing_progress_map_div_'+map_id+'',
showSpinner: true
});
NProgress.start();
var infobox_xhr; // Will store the ajax requests in order to test if an ajax request will overide "an already sent and non finished" request
cspm_bubbles[map_id] = []; // Will store the marker bubbles (post_ids) in the viewport of the map
cspm_child_markers[map_id] = []; // Will store the status of markers in order to define secondary markers from parent markers
cspm_requests[map_id] = []; // Will store all the current ajax request (for infoboxes) in order to execute them when they all finish
post_ids_and_categories[map_id] = {}; // Will store the markers categories in order to use with faceted search and to define the marker icon
post_lat_lng_coords[map_id] = {}; // Will store the markers coordinates in order to use when rewriting the map & the carousel
post_ids_and_child_status[map_id] = {} // Will store the markers and their child status in order to use when rewriting the carousel
var json_markers_data = []; // Will store the markers
/**
* init plugin map */
var plugin_map_placeholder = 'div#codespacing_progress_map_div_'+map_id;
var plugin_map = $(plugin_map_placeholder);
/**
* Load Map options */
var map_options = cspm_load_map_options(false, null, 3);
/**
* Activate the new google map visual */
google.maps.visualRefresh = true;
/**
* The initial map style */
var initial_map_style = "custom_style";
// Enhance the map option with the map type id of the style
// The initial style
var map_type_id = cspm_initial_map_style(initial_map_style, true);
// Map type control option
var mapTypeControlOptions = {mapTypeControlOptions: {
position: google.maps.ControlPosition.TOP_RIGHT,
mapTypeIds: [google.maps.MapTypeId.ROADMAP,
google.maps.MapTypeId.SATELLITE,
google.maps.MapTypeId.TERRAIN,
google.maps.MapTypeId.HYBRID,
"custom_style"]
}};
var map_options = $.extend({}, map_options, map_type_id, mapTypeControlOptions);
// The carousel dimensions & style
var light_map = true;
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(0, '5373', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(1, '5359', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(2, '5346', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(3, '5341', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(4, '5305', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(5, '5303', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(6, '5254', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(7, '5105', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(8, '4625', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(9, '4761', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(10, '4775', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(11, '4638', 43.45880864889803, 11.875404404785285, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(12, '4551', 43.7228386, 10.401688799999988, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(13, '4540', 46.4907973, 9.835507900000039, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(14, '4524', 34.0522342, -118.2436849, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(15, '4519', 25.2854473, 51.53103979999992, '72,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(16, '4503', 44.4930438, 11.345404300000041, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(17, '4479', 44.4928053, 11.345039000000043, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(18, '4461', 45.470157, 9.195341999999982, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(19, '4456', 45.4642035, 9.189981999999986, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(20, '4428', 31.2303904, 121.47370209999997, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(21, '4411', 43.5297716, 11.865900199999942, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(22, '4401', 43.45880864889803, 11.875404404785286, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(23, '4389', 43.45880864889803, 11.875404404785286, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(24, '4348', 43.0551015, 11.48900320000007, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(25, '4110', 24.453884, 54.37734380000006, '72', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(26, '4098', 44.6968525, 10.635798900000054, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(27, '4088', 45.7366403, 7.3183199999999715, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(28, '4042', 45.1574836, 10.78610249999997, '48,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(29, '3683', 45.4654219, 9.18592430000001, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(30, '3575', 45.4422, 10.993889999999964, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(31, '3675', 45.470363, 9.196609099999932, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
// Create the pin object
var marker_object = cspm_new_pin_object(32, '3675-0', 45.470363, 9.196609099999932, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'yes_0');
json_markers_data.push(marker_object);
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(33, '3137', 35.6894875, 139.69170639999993, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(34, '3713', 45.788361763591645, 6.972866030006571, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(35, '3664', 35.6894875, 139.69170639999993, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(36, '3531', 48.8566784, 2.3390567999999803, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(37, '3409', 45.4953325822638, 9.17501143558195, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(38, '3208', 45.48224134146934, 9.150435230119342, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(39, '3086', 43.5459493, 10.312293299999964, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(40, '2855', 43.463260741875835, 11.87885484819276, '69', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(41, '2806', 25.2048493, 55.270782800000006, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(42, '2796', 51.4973935, -0.15906250000000455, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(43, '2763', 43.4655506, 11.881773100000032, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(44, '2718', 45.4654219, 9.18592430000001, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(45, '2643', 43.70223020104776, 11.46425093173832, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(46, '2633', 39.90978855224567, 116.41227260845955, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(47, '2559', 37.566535, 126.97796919999996, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(48, '2116', 45.5415526, 10.211801899999955, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(49, '2056', 45.4654219, 9.18592430000001, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(50, '2043', 45.48224134146934, 9.150435230119342, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(51, '2000', 43.7695604, 11.25581360000001, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(52, '1967', 30.593099, 114.30539299999998, '65', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(53, '1939', 43.46746171370648, 11.879492324418834, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(54, '1883', 47.80949, 13.055010000000038, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(55, '1845', 34.690083, 135.19551120000005, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(56, '1789', 30.593099, 114.30539299999998, '65', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(57, '1751', 45.4408474, 12.31551509999997, '59', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(58, '1742', 43.46328390000001, 11.879633600000033, '59', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(59, '1728', 45.43838419999999, 10.991621500000064, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(60, '1723', 45.469864041465314, 9.195681965697076, '51', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(61, '1716', 44.494887, 11.342616300000031, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(62, '1694', 43.0433341, 11.815412199999968, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(63, '1680', 51.49943093046518, -0.16318395836458421, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(64, '1675', 35.6894875, 139.69170639999993, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(65, '1667', 30.593099, 114.30539299999998, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(66, '1659', 30.593099, 114.30539299999998, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(67, '1644', 37.5617581, 127.00771639999993, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(68, '1639', 35.691050809713396, 139.70391890114013, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(69, '1621', 45.48232068258979, 10.176687676721258, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(70, '1622', 45.48232068258979, 10.176687676721258, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(71, '1599', 45.44022388681591, 12.331619729668546, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(72, '1593', 45.44022388681591, 12.331619729668546, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(73, '1588', 34.0834624, -118.33661360000002, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(74, '1583', 48.960226, 2.5428670999999667, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(75, '1557', 43.46746171370648, 11.879492324418834, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(76, '1552', 34.06813673733621, -118.40198059999994, '57', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(77, '1534', 25.81269269576209, -80.19108470132107, '57', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(78, '1776', 36.1127423, -115.17307840000001, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(79, '1971', 43.463260741875835, 11.87885484819276, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(80, '1504', 46.4950997, 9.83614190000003, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(81, '1496', 45.47524151330102, 9.168508187220481, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(82, '1471', 45.1351545, 10.025435799999968, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(83, '1451', 45.0679393, 7.6832001999999875, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(84, '1441', 45.06782912370089, 7.683252460333961, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(85, '1432', 43.842509983945014, 10.505948419670858, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(86, '1425', 45.788361763591645, 6.972866030006571, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(87, '1419', 45.53618331651917, 10.218707151800572, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(88, '1406', 40.3561649, 49.83407839999995, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(89, '1399', 45.469337826156476, 9.19182294346217, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(90, '1382', 51.50042684748844, -0.15984780474127547, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(91, '1373', 51.509006774211095, -0.14022382098528396, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(92, '1362', 41.90745769999999, 12.480282999999985, '48,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(93, '1334', 43.2220146, 76.8512485, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(94, '1328', 31.21243209999999, 121.45086270000001, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(95, '1323', 34.689333172768784, 135.1928832110451, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(96, '1311', 43.727867, 10.806722000000036, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(97, '1297', 46.5366393, 10.134676899999931, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(98, '1290', 46.4755299154523, 7.284812358335898, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(99, '1279', 43.42937033249012, 11.828976877423884, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(100, '1270', 41.9037195, 12.4792281, '60', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(101, '1265', 45.470363, 9.196609099999932, '60', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(102, '1256', 25.11809, 55.200350399999934, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(103, '1249', 35.1712082, 136.8852445, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(104, '1242', 22.2815986, 114.15853859999993, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(105, '1232', 40.762333, -73.97171650000001, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(106, '1226', 40.762682, -73.97459099999997, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(107, '1212', 36.1127423, -115.17307840000001, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(108, '1203', 39.1882931, -106.81848630000002, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(109, '1190', 48.2103129, 16.368199600000025, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(110, '1183', 48.8712628, 2.3163852000000133, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(111, '1176', 48.8687266, 2.3228059000000485, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(112, '1166', 48.13944619999999, 11.577191999999968, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(113, '1159', 31.20595299999999, 121.40773100000001, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(114, '1152', 41.394761, 2.1621420999999827, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(115, '1136', 45.4664187, 9.189974699999993, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(116, '1127', 45.4678198, 9.195837799999935, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(117, '1120', 45.4678198, 9.195837799999935, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(118, '1110', 35.6736778, 139.76727270000003, '57,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(119, '1088', 22.2962687, 114.17068560000007, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(120, '1081', 48.8712628, 2.3163852000000133, '57,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(121, '1103', 51.51093359999999, -0.14310409999995954, '57,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(122, '1053', 44.49153279999999, 11.344115800000054, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(123, '1040', 45.4152189, 6.635758200000055, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(124, '1033', 51.5104429, -0.14277449999997316, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(125, '995', 45.46578316980133, 9.189933787696873, '59', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(126, '998', 43.462648105344556, 11.88461872409971, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(127, '932', 45.44034303267191, 12.333052723643732, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(128, '895', 34.6714818, 135.50073810000004, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(129, '997', 40.76230252643231, -73.97175405092617, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(130, '720', 45.4560675, 9.210218199999985, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(131, '950', 22.297350818770667, 114.1688026063598, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(132, '1037', 51.5091443, -0.14083860000005188, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(133, '1003', 45.465501, 9.190143000000034, '61', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(134, '652', 43.754311, 11.307492000000024, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(135, '960', 45.4694107, 9.197408499999937, '57', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(136, '955', 39.9443916, 116.45337719999998, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
var infobox_div = $('div.cspm_infobox_container.cspm_infobox_'+map_id+'');
var show_infobox = 'true';
var infobox_type = 'cspm_type2';
var infobox_display_event = 'onclick';
var useragent = navigator.userAgent;
var infobox_loaded = false;
var clustering_method = false;
/**
* [@polyline_values] - will store an Object of all available Polylines
* [@polygon_values] - will store an Object of all available Polygons
*
* @since 2.7
*/
var polyline_values = [];
var polygon_values = [];
/**
* Build the map */
plugin_map.gmap3({
map:{
options: map_options,
onces: {
tilesloaded: function(map){
var carousel_output = [];
plugin_map.gmap3({
marker:{
values: json_markers_data,
callback: function(markers){
/**
* Autofit the map to contain all markers & clusters */
/**
* Build the carousel items */
if(!light_map){
for(var i = 0; i < markers.length; i++){
var post_id = markers[i].post_id;
var is_child = markers[i].is_child;
// Convert the LatLng object to array
var marker_position = $.map(markers[i].position, function(value, index) {
return [value];
});
var lat = marker_position[0];
var lng = marker_position[1];
// Create carousel items
carousel_output.push('');
carousel_output.push('
');
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);
}
}
}
}
});
clustering_method = true;
var clusterer = cspm_clustering(plugin_map, map_id, light_map); $('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+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 */
styledmaptype:{
id: "custom_style",
options:{
name: "Baciocchi",
alt: "Show Baciocchi"
},
styles: [ { featureType:'all', elementType:'labels.text.stroke', stylers:[ {hue:'#000000'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{ featureType:'all', elementType:'labels.icon', stylers:[ {hue:'#000000'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{ featureType:'water', elementType:'all', stylers:[ {hue:'#000000'}, {saturation:-100}, {lightness:100}, {visibility:'on'} ] },{ featureType:'landscape', elementType:'geometry', stylers:[ {hue:'#D1D3D4'}, {saturation:-88}, {lightness:-7}, {visibility:'on'} ] },{ featureType:'landscape', elementType:'labels', stylers:[ {hue:'#939598'}, {saturation:-91}, {lightness:-34}, {visibility:'on'} ] },{ featureType:'poi', elementType:'all', stylers:[ {hue:'#E3EBE5'}, {saturation:-61}, {lightness:57}, {visibility:'off'} ] },{ featureType:'poi.park', elementType:'geometry', stylers:[ {hue:'#E3EBE5'}, {saturation:-100}, {lightness:57}, {visibility:'on'} ] },{ featureType:"administrative", elementType:"geometry.fill", stylers:[ {visibility:"off"} ] },{ featureType:'administrative.country', elementType:'all', stylers:[ {hue:'#E3EBE5'}, {saturation:-100}, {lightness:81}, {visibility:'off'} ] }, { featureType:'administrative.province', elementType:'all', stylers:[ {hue:'#E3EBE5'}, {saturation:-100}, {lightness:81}, {visibility:'off'} ] },{
"featureType": "administrative.locality", "stylers": [ { "visibility": "off" } ] },{ featureType:'administrative.neighborhood', elementType:'labels', stylers:[ {hue:'#939598'}, {saturation:-100}, {lightness:16}, {visibility:'on'} ] },{ featureType:'administrative.neighborhood', elementType:'all', stylers:[ {hue:'#939598'}, {saturation:-100}, {lightness:16}, {visibility:'on'} ] },{ featureType:'administrative.land_parcel', elementType:'all', stylers:[ {hue:'#939598'}, {saturation:-100}, {lightness:16}, {visibility:'simplified'} ] },{ featureType:'road.highway', elementType:'geometry', stylers:[ {hue:'#939598'}, {saturation:-98}, {lightness:-8}, {visibility:'off'} ] },{ featureType:'road.highway', elementType:'labels', stylers:[ {hue:'#FFFFFF'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{ featureType:'road.arterial', elementType:'geometry', stylers:[ {hue:'#6D6E71'}, {saturation:-98}, {lightness:-43}, {visibility:'off'} ] },{ featureType:'road.arterial', elementType:'labels', stylers:[ {hue:'#FFFFFF'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{featureType:"road.local", elementType:"geometry","stylers":[{"hue":"#ffffff"},{"saturation":-100},{"lightness":100},{"visibility":"on"}]},{ featureType:'road.local', elementType:'labels', stylers:[ {hue:'#d8d8d8'}, {saturation:-88}, {lightness:-7}, {visibility:'on'} ]}, {featureType: 'transit.line', elementType: 'geometry', stylers: [{ visibility: 'off'}]}, {featureType: 'transit.line', elementType: 'labels.text', stylers: [ {visibility: 'off' }]
}
] },
/**
* 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
$('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+map_id+'').hide();
// Hide the faceted search before the map load
// Hide the search form before the map load
$('div.cspm_infobox_container').hide();
}else{
// Show the Zoom cotrol after the map load
$('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+map_id+'').show();
// Show the faceted search after the map load
// 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 */
// Call zoom-in function
cspm_zoom_in($('div.codespacing_map_zoom_in_'+map_id+''), plugin_map);
// Call zoom-out function
cspm_zoom_out($('div.codespacing_map_zoom_out_'+map_id+''), plugin_map);
/**
* Center the Map on screen resize */
$(window).resize(function(){
setTimeout(function(){
var latLng = new google.maps.LatLng (41.11114, 28.88860);
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;
});
">
jQuery(document).ready(function($) {
var map_id = 'initial';
if(_CSPM_DONE[map_id] === true) return;
_CSPM_DONE[map_id] = false;
_CSPM_MAP_RESIZED[map_id] = 0;
NProgress.configure({
parent: 'div#codespacing_progress_map_div_'+map_id+'',
showSpinner: true
});
NProgress.start();
var infobox_xhr; // Will store the ajax requests in order to test if an ajax request will overide "an already sent and non finished" request
cspm_bubbles[map_id] = []; // Will store the marker bubbles (post_ids) in the viewport of the map
cspm_child_markers[map_id] = []; // Will store the status of markers in order to define secondary markers from parent markers
cspm_requests[map_id] = []; // Will store all the current ajax request (for infoboxes) in order to execute them when they all finish
post_ids_and_categories[map_id] = {}; // Will store the markers categories in order to use with faceted search and to define the marker icon
post_lat_lng_coords[map_id] = {}; // Will store the markers coordinates in order to use when rewriting the map & the carousel
post_ids_and_child_status[map_id] = {} // Will store the markers and their child status in order to use when rewriting the carousel
var json_markers_data = []; // Will store the markers
/**
* init plugin map */
var plugin_map_placeholder = 'div#codespacing_progress_map_div_'+map_id;
var plugin_map = $(plugin_map_placeholder);
/**
* Load Map options */
var map_options = cspm_load_map_options(false, null, 3);
/**
* Activate the new google map visual */
google.maps.visualRefresh = true;
/**
* The initial map style */
var initial_map_style = "custom_style";
// Enhance the map option with the map type id of the style
// The initial style
var map_type_id = cspm_initial_map_style(initial_map_style, true);
// Map type control option
var mapTypeControlOptions = {mapTypeControlOptions: {
position: google.maps.ControlPosition.TOP_RIGHT,
mapTypeIds: [google.maps.MapTypeId.ROADMAP,
google.maps.MapTypeId.SATELLITE,
google.maps.MapTypeId.TERRAIN,
google.maps.MapTypeId.HYBRID,
"custom_style"]
}};
var map_options = $.extend({}, map_options, map_type_id, mapTypeControlOptions);
// The carousel dimensions & style
var light_map = true;
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(0, '5373', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(1, '5359', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(2, '5346', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(3, '5341', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(4, '5305', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(5, '5303', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(6, '5254', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(7, '5105', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(8, '4625', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(9, '4761', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(10, '4775', 43.45880864889803, 11.875404404785286, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(11, '4638', 43.45880864889803, 11.875404404785285, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(12, '4551', 43.7228386, 10.401688799999988, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(13, '4540', 46.4907973, 9.835507900000039, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(14, '4524', 34.0522342, -118.2436849, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(15, '4519', 25.2854473, 51.53103979999992, '72,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(16, '4503', 44.4930438, 11.345404300000041, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(17, '4479', 44.4928053, 11.345039000000043, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(18, '4461', 45.470157, 9.195341999999982, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(19, '4456', 45.4642035, 9.189981999999986, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(20, '4428', 31.2303904, 121.47370209999997, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(21, '4411', 43.5297716, 11.865900199999942, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(22, '4401', 43.45880864889803, 11.875404404785286, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(23, '4389', 43.45880864889803, 11.875404404785286, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(24, '4348', 43.0551015, 11.48900320000007, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(25, '4110', 24.453884, 54.37734380000006, '72', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(26, '4098', 44.6968525, 10.635798900000054, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(27, '4088', 45.7366403, 7.3183199999999715, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(28, '4042', 45.1574836, 10.78610249999997, '48,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(29, '3683', 45.4654219, 9.18592430000001, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(30, '3575', 45.4422, 10.993889999999964, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(31, '3675', 45.470363, 9.196609099999932, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
// Create the pin object
var marker_object = cspm_new_pin_object(32, '3675-0', 45.470363, 9.196609099999932, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'yes_0');
json_markers_data.push(marker_object);
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(33, '3137', 35.6894875, 139.69170639999993, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(34, '3713', 45.788361763591645, 6.972866030006571, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(35, '3664', 35.6894875, 139.69170639999993, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(36, '3531', 48.8566784, 2.3390567999999803, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(37, '3409', 45.4953325822638, 9.17501143558195, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(38, '3208', 45.48224134146934, 9.150435230119342, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(39, '3086', 43.5459493, 10.312293299999964, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(40, '2855', 43.463260741875835, 11.87885484819276, '69', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(41, '2806', 25.2048493, 55.270782800000006, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(42, '2796', 51.4973935, -0.15906250000000455, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(43, '2763', 43.4655506, 11.881773100000032, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(44, '2718', 45.4654219, 9.18592430000001, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(45, '2643', 43.70223020104776, 11.46425093173832, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(46, '2633', 39.90978855224567, 116.41227260845955, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(47, '2559', 37.566535, 126.97796919999996, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(48, '2116', 45.5415526, 10.211801899999955, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(49, '2056', 45.4654219, 9.18592430000001, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(50, '2043', 45.48224134146934, 9.150435230119342, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(51, '2000', 43.7695604, 11.25581360000001, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(52, '1967', 30.593099, 114.30539299999998, '65', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(53, '1939', 43.46746171370648, 11.879492324418834, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(54, '1883', 47.80949, 13.055010000000038, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(55, '1845', 34.690083, 135.19551120000005, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(56, '1789', 30.593099, 114.30539299999998, '65', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(57, '1751', 45.4408474, 12.31551509999997, '59', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(58, '1742', 43.46328390000001, 11.879633600000033, '59', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(59, '1728', 45.43838419999999, 10.991621500000064, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(60, '1723', 45.469864041465314, 9.195681965697076, '51', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(61, '1716', 44.494887, 11.342616300000031, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(62, '1694', 43.0433341, 11.815412199999968, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(63, '1680', 51.49943093046518, -0.16318395836458421, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(64, '1675', 35.6894875, 139.69170639999993, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(65, '1667', 30.593099, 114.30539299999998, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(66, '1659', 30.593099, 114.30539299999998, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(67, '1644', 37.5617581, 127.00771639999993, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(68, '1639', 35.691050809713396, 139.70391890114013, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(69, '1621', 45.48232068258979, 10.176687676721258, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(70, '1622', 45.48232068258979, 10.176687676721258, '38', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(71, '1599', 45.44022388681591, 12.331619729668546, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(72, '1593', 45.44022388681591, 12.331619729668546, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(73, '1588', 34.0834624, -118.33661360000002, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(74, '1583', 48.960226, 2.5428670999999667, '37', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(75, '1557', 43.46746171370648, 11.879492324418834, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(76, '1552', 34.06813673733621, -118.40198059999994, '57', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(77, '1534', 25.81269269576209, -80.19108470132107, '57', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(78, '1776', 36.1127423, -115.17307840000001, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(79, '1971', 43.463260741875835, 11.87885484819276, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(80, '1504', 46.4950997, 9.83614190000003, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(81, '1496', 45.47524151330102, 9.168508187220481, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(82, '1471', 45.1351545, 10.025435799999968, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(83, '1451', 45.0679393, 7.6832001999999875, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(84, '1441', 45.06782912370089, 7.683252460333961, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(85, '1432', 43.842509983945014, 10.505948419670858, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(86, '1425', 45.788361763591645, 6.972866030006571, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(87, '1419', 45.53618331651917, 10.218707151800572, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(88, '1406', 40.3561649, 49.83407839999995, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(89, '1399', 45.469337826156476, 9.19182294346217, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(90, '1382', 51.50042684748844, -0.15984780474127547, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(91, '1373', 51.509006774211095, -0.14022382098528396, '52', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(92, '1362', 41.90745769999999, 12.480282999999985, '48,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(93, '1334', 43.2220146, 76.8512485, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(94, '1328', 31.21243209999999, 121.45086270000001, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(95, '1323', 34.689333172768784, 135.1928832110451, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(96, '1311', 43.727867, 10.806722000000036, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(97, '1297', 46.5366393, 10.134676899999931, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(98, '1290', 46.4755299154523, 7.284812358335898, '48', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(99, '1279', 43.42937033249012, 11.828976877423884, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(100, '1270', 41.9037195, 12.4792281, '60', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(101, '1265', 45.470363, 9.196609099999932, '60', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(102, '1256', 25.11809, 55.200350399999934, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(103, '1249', 35.1712082, 136.8852445, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(104, '1242', 22.2815986, 114.15853859999993, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(105, '1232', 40.762333, -73.97171650000001, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(106, '1226', 40.762682, -73.97459099999997, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(107, '1212', 36.1127423, -115.17307840000001, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(108, '1203', 39.1882931, -106.81848630000002, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(109, '1190', 48.2103129, 16.368199600000025, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(110, '1183', 48.8712628, 2.3163852000000133, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(111, '1176', 48.8687266, 2.3228059000000485, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(112, '1166', 48.13944619999999, 11.577191999999968, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(113, '1159', 31.20595299999999, 121.40773100000001, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(114, '1152', 41.394761, 2.1621420999999827, '40,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(115, '1136', 45.4664187, 9.189974699999993, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(116, '1127', 45.4678198, 9.195837799999935, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(117, '1120', 45.4678198, 9.195837799999935, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(118, '1110', 35.6736778, 139.76727270000003, '57,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(119, '1088', 22.2962687, 114.17068560000007, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(120, '1081', 48.8712628, 2.3163852000000133, '57,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(121, '1103', 51.51093359999999, -0.14310409999995954, '57,39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(122, '1053', 44.49153279999999, 11.344115800000054, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(123, '1040', 45.4152189, 6.635758200000055, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(124, '1033', 51.5104429, -0.14277449999997316, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(125, '995', 45.46578316980133, 9.189933787696873, '59', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(126, '998', 43.462648105344556, 11.88461872409971, '36', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(127, '932', 45.44034303267191, 12.333052723643732, '35', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(128, '895', 34.6714818, 135.50073810000004, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(129, '997', 40.76230252643231, -73.97175405092617, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(130, '720', 45.4560675, 9.210218199999985, '34', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(131, '950', 22.297350818770667, 114.1688026063598, '63', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(132, '1037', 51.5091443, -0.14083860000005188, '40', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(133, '1003', 45.465501, 9.190143000000034, '61', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(134, '652', 43.754311, 11.307492000000024, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(135, '960', 45.4694107, 9.197408499999937, '57', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
/**
* Create the pin object */
var marker_object = cspm_new_pin_object(136, '955', 39.9443916, 116.45337719999998, '39', map_id, 'http://www.baciocchiassociati.it/wp-content/uploads/2015/02/pin-map.png', '18x24', 'no');
json_markers_data.push(marker_object);
/**
* Create the polyline/polygon paths from post IDs
* @since 2.7
*/
var infobox_div = $('div.cspm_infobox_container.cspm_infobox_'+map_id+'');
var show_infobox = 'true';
var infobox_type = 'cspm_type2';
var infobox_display_event = 'onclick';
var useragent = navigator.userAgent;
var infobox_loaded = false;
var clustering_method = false;
/**
* [@polyline_values] - will store an Object of all available Polylines
* [@polygon_values] - will store an Object of all available Polygons
*
* @since 2.7
*/
var polyline_values = [];
var polygon_values = [];
/**
* Build the map */
plugin_map.gmap3({
map:{
options: map_options,
onces: {
tilesloaded: function(map){
var carousel_output = [];
plugin_map.gmap3({
marker:{
values: json_markers_data,
callback: function(markers){
/**
* Autofit the map to contain all markers & clusters */
/**
* Build the carousel items */
if(!light_map){
for(var i = 0; i < markers.length; i++){
var post_id = markers[i].post_id;
var is_child = markers[i].is_child;
// Convert the LatLng object to array
var marker_position = $.map(markers[i].position, function(value, index) {
return [value];
});
var lat = marker_position[0];
var lng = marker_position[1];
// Create carousel items
carousel_output.push('');
carousel_output.push('
');
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);
}
}
}
}
});
clustering_method = true;
var clusterer = cspm_clustering(plugin_map, map_id, light_map); $('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+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 */
styledmaptype:{
id: "custom_style",
options:{
name: "Baciocchi",
alt: "Show Baciocchi"
},
styles: [ { featureType:'all', elementType:'labels.text.stroke', stylers:[ {hue:'#000000'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{ featureType:'all', elementType:'labels.icon', stylers:[ {hue:'#000000'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{ featureType:'water', elementType:'all', stylers:[ {hue:'#000000'}, {saturation:-100}, {lightness:100}, {visibility:'on'} ] },{ featureType:'landscape', elementType:'geometry', stylers:[ {hue:'#D1D3D4'}, {saturation:-88}, {lightness:-7}, {visibility:'on'} ] },{ featureType:'landscape', elementType:'labels', stylers:[ {hue:'#939598'}, {saturation:-91}, {lightness:-34}, {visibility:'on'} ] },{ featureType:'poi', elementType:'all', stylers:[ {hue:'#E3EBE5'}, {saturation:-61}, {lightness:57}, {visibility:'off'} ] },{ featureType:'poi.park', elementType:'geometry', stylers:[ {hue:'#E3EBE5'}, {saturation:-100}, {lightness:57}, {visibility:'on'} ] },{ featureType:"administrative", elementType:"geometry.fill", stylers:[ {visibility:"off"} ] },{ featureType:'administrative.country', elementType:'all', stylers:[ {hue:'#E3EBE5'}, {saturation:-100}, {lightness:81}, {visibility:'off'} ] }, { featureType:'administrative.province', elementType:'all', stylers:[ {hue:'#E3EBE5'}, {saturation:-100}, {lightness:81}, {visibility:'off'} ] },{
"featureType": "administrative.locality", "stylers": [ { "visibility": "off" } ] },{ featureType:'administrative.neighborhood', elementType:'labels', stylers:[ {hue:'#939598'}, {saturation:-100}, {lightness:16}, {visibility:'on'} ] },{ featureType:'administrative.neighborhood', elementType:'all', stylers:[ {hue:'#939598'}, {saturation:-100}, {lightness:16}, {visibility:'on'} ] },{ featureType:'administrative.land_parcel', elementType:'all', stylers:[ {hue:'#939598'}, {saturation:-100}, {lightness:16}, {visibility:'simplified'} ] },{ featureType:'road.highway', elementType:'geometry', stylers:[ {hue:'#939598'}, {saturation:-98}, {lightness:-8}, {visibility:'off'} ] },{ featureType:'road.highway', elementType:'labels', stylers:[ {hue:'#FFFFFF'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{ featureType:'road.arterial', elementType:'geometry', stylers:[ {hue:'#6D6E71'}, {saturation:-98}, {lightness:-43}, {visibility:'off'} ] },{ featureType:'road.arterial', elementType:'labels', stylers:[ {hue:'#FFFFFF'}, {saturation:-100}, {lightness:100}, {visibility:'off'} ] },{featureType:"road.local", elementType:"geometry","stylers":[{"hue":"#ffffff"},{"saturation":-100},{"lightness":100},{"visibility":"on"}]},{ featureType:'road.local', elementType:'labels', stylers:[ {hue:'#d8d8d8'}, {saturation:-88}, {lightness:-7}, {visibility:'on'} ]}, {featureType: 'transit.line', elementType: 'geometry', stylers: [{ visibility: 'off'}]}, {featureType: 'transit.line', elementType: 'labels.text', stylers: [ {visibility: 'off' }]
}
] },
/**
* 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
$('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+map_id+'').hide();
// Hide the faceted search before the map load
// Hide the search form before the map load
$('div.cspm_infobox_container').hide();
}else{
// Show the Zoom cotrol after the map load
$('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+map_id+'').show();
// Show the faceted search after the map load
// 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 */
// Call zoom-in function
cspm_zoom_in($('div.codespacing_map_zoom_in_'+map_id+''), plugin_map);
// Call zoom-out function
cspm_zoom_out($('div.codespacing_map_zoom_out_'+map_id+''), plugin_map);
/**
* Center the Map on screen resize */
$(window).resize(function(){
setTimeout(function(){
var latLng = new google.maps.LatLng (41.11114, 28.88860);
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;
});
">