var map;
function initialize() {
var mapOptions = {
zoom: 5,
center: new google.maps.LatLng(41.530,12.280),
mapTypeId: google.maps.MapTypeId.HYBRID
};
map = new google.maps.Map(document.getElementById('map_canvas'),
mapOptions);
var image = 'https://www.ultimiterremoti.it/img/greendot2.png'
var marker = new google.maps.Marker({
position: new google.maps.LatLng(43.5783,12.076),
map: map,
icon: image,
zIndex: 1, title:"Data/Ora UTC: 2025-12-29 02:46:27, Magnitudo: ML 1.2",
draggable: false,
content: "Data/Ora UTC: 2025-12-29 02:46:27
Magnitudo: ML 1.2
"
});
infos = [];
function closeInfos(){
if(infos.length > 0){
infos[0].set("marker",null);
infos[0].close();
infos.length = 0;
}
}
google.maps.event.addListener(marker, 'click', function() {
closeInfos();
var info = new google.maps.InfoWindow({content: this.content});
info.open(map,this);
infos[0]=info;
});
var image = 'https://www.ultimiterremoti.it/img/yellowdot2.png'
var marker = new google.maps.Marker({
position: new google.maps.LatLng(43.5797,12.088),
map: map,
icon: image,
zIndex: 99, title:"Data/Ora UTC: 2025-12-29 02:45:30, Magnitudo: ML 2.6",
draggable: false,
content: "Data/Ora UTC: 2025-12-29 02:45:30
Magnitudo: ML 2.6
"
});
infos = [];
function closeInfos(){
if(infos.length > 0){
infos[0].set("marker",null);
infos[0].close();
infos.length = 0;
}
}
google.maps.event.addListener(marker, 'click', function() {
closeInfos();
var info = new google.maps.InfoWindow({content: this.content});
info.open(map,this);
infos[0]=info;
});
var image = 'https://www.ultimiterremoti.it/img/greendot2.png'
var marker = new google.maps.Marker({
position: new google.maps.LatLng(43.5695,12.0745),
map: map,
icon: image,
zIndex: 1, title:"Data/Ora UTC: 2025-12-29 02:31:23, Magnitudo: ML 1.6",
draggable: false,
content: "Data/Ora UTC: 2025-12-29 02:31:23
Magnitudo: ML 1.6
"
});
infos = [];
function closeInfos(){
if(infos.length > 0){
infos[0].set("marker",null);
infos[0].close();
infos.length = 0;
}
}
google.maps.event.addListener(marker, 'click', function() {
closeInfos();
var info = new google.maps.InfoWindow({content: this.content});
info.open(map,this);
infos[0]=info;
});
var image = 'https://www.ultimiterremoti.it/img/yellowdot2.png'
var marker = new google.maps.Marker({
position: new google.maps.LatLng(43.5673,12.0795),
map: map,
icon: image,
zIndex: 99, title:"Data/Ora UTC: 2025-12-29 02:29:08, Magnitudo: ML 2.0",
draggable: false,
content: "Data/Ora UTC: 2025-12-29 02:29:08
Magnitudo: ML 2.0
"
});
infos = [];
function closeInfos(){
if(infos.length > 0){
infos[0].set("marker",null);
infos[0].close();
infos.length = 0;
}
}
google.maps.event.addListener(marker, 'click', function() {
closeInfos();
var info = new google.maps.InfoWindow({content: this.content});
info.open(map,this);
infos[0]=info;
});
var image = 'https://www.ultimiterremoti.it/img/greendot2.png'
var marker = new google.maps.Marker({
position: new google.maps.LatLng(42.8532,13.0638),
map: map,
icon: image,
zIndex: 1, title:"Data/Ora UTC: 2025-12-29 02:19:27, Magnitudo: ML 0.7",
draggable: false,
content: "Data/Ora UTC: 2025-12-29 02:19:27
Magnitudo: ML 0.7
"
});
infos = [];
function closeInfos(){
if(infos.length > 0){
infos[0].set("marker",null);
infos[0].close();
infos.length = 0;
}
}
google.maps.event.addListener(marker, 'click', function() {
closeInfos();
var info = new google.maps.InfoWindow({content: this.content});
info.open(map,this);
infos[0]=info;
});
var image = 'https://www.ultimiterremoti.it/img/greendot2.png'
var marker = new google.maps.Marker({
position: new google.maps.LatLng(42.561,13.3355),
map: map,
icon: image,
zIndex: 1, title:"Data/Ora UTC: 2025-12-28 23:32:48, Magnitudo: ML 1.4",
draggable: false,
content: "Data/Ora UTC: 2025-12-28 23:32:48
Magnitudo: ML 1.4
"
});
infos = [];
function closeInfos(){
if(infos.length > 0){
infos[0].set("marker",null);
infos[0].close();
infos.length = 0;
}
}
google.maps.event.addListener(marker, 'click', function() {
closeInfos();
var info = new google.maps.InfoWindow({content: this.content});
info.open(map,this);
infos[0]=info;
});
}
google.maps.event.addDomListener(window, 'load', initialize);