404

Pagina non trovata
Error 404
Spiacente, non siamo riusciti a trovare la pagina che stai cercando.
.locations; var map; var markersArray = []; var image = 'img/'; var bounds = new google.maps.LatLngBounds(); var loc; var ismobile=navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i); function init(){ if (ismobile) { var mapOptions = { mapTypeId: google.maps.MapTypeId.ROADMAP, mapTypeControlOptions: { mapTypeIds: [google.maps.MapTypeId.ROADMAP] }, scrollwheel: false, draggable: false}; } else { var mapOptions = { mapTypeId: google.maps.MapTypeId.ROADMAP, mapTypeControlOptions: { mapTypeIds: [google.maps.MapTypeId.ROADMAP] }, scrollwheel: false}; } map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions); for (var i in locations) { buildGeocoder(locations[i]); } } function buildGeocoder(location) { var locationName = location.location; var teams = location.teams; console.log(location); if (location.lat && location.lng) { loc = new google.maps.LatLng(location.lat, location.lng); bounds.extend(loc); addMapMarker(locationName, teams); map.fitBounds(bounds); map.panToBounds(bounds); } else { geocoder.geocode( { 'address': location.address }, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { var coordinates = []; tLat = results[0].geometry.location.lat(); tLng = results[0].geometry.location.lng(); for(var j in teams) { coordinates.push({location_id: teams[j].location_id, lat: tLat, lng: tLng}); } loc = new google.maps.LatLng(tLat,tLng); bounds.extend(loc); addMapMarker(locationName, teams); map.fitBounds(bounds); map.panToBounds(bounds); saveCoordinates(coordinates); } }, function(error){ console.log(error); }); } } function addMapMarker(locationName, teams) { var content = '
'+ locationName + '
'; for (var j in teams){ content += 'Team Neicos ' +teams[j].nome + ':
' + teams[j].day + ' alle '+teams[j].ora_incontro + '
'; } var infowindow = new google.maps.InfoWindow({ content: content, }); var marker = new google.maps.Marker({ position:loc, map: map, title: locationName, label: teams.length+'' }); marker.addListener('click', function() { infowindow.open(map, marker); }); } function saveCoordinates(coordinates) { $.post('https://www.neicos.it/webapi/team/populate-locations-coordinates/token/acb35abc44f4f4ae45df72c0429da0f5', {data: coordinates} , function(risposta) {}, 'json'); } google.maps.event.addDomListener(window, 'load', init);

Pomeridiani

Team Test

Giorno di incontro: Giovedì
Ora incontro: 07:30
Open More Than Books