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.7467,7.7702),
map: map,
icon: image,
zIndex: 1, title:"Data/Ora UTC: 2026-01-12 05:54:40, Magnitudo: ML 1.5",
draggable: false,
content: "Data/Ora UTC: 2026-01-12 05:54:40
Magnitudo: ML 1.5
"
});
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(45.7477,6.9122),
map: map,
icon: image,
zIndex: 1, title:"Data/Ora UTC: 2026-01-12 03:28:03, Magnitudo: ML 1.2",
draggable: false,
content: "Data/Ora UTC: 2026-01-12 03:28:03
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(45.7465,6.9193),
map: map,
icon: image,
zIndex: 99, title:"Data/Ora UTC: 2026-01-12 03:07:42, Magnitudo: ML 2.7",
draggable: false,
content: "Data/Ora UTC: 2026-01-12 03:07:42
Magnitudo: ML 2.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.7837,12.7378),
map: map,
icon: image,
zIndex: 1, title:"Data/Ora UTC: 2026-01-12 02:55:30, Magnitudo: ML 1.2",
draggable: false,
content: "Data/Ora UTC: 2026-01-12 02:55:30
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/reddot2.png'
var marker = new google.maps.Marker({
position: new google.maps.LatLng(47.5805,147.478),
map: map,
icon: image,
zIndex: 999, title:"Data/Ora UTC: 2026-01-12 01:52:57, Magnitudo: Mwp 5.6",
draggable: false,
content: "Data/Ora UTC: 2026-01-12 01:52:57
Magnitudo: Mwp 5.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(42.9257,12.9783),
map: map,
icon: image,
zIndex: 1, title:"Data/Ora UTC: 2026-01-12 00:19:42, Magnitudo: ML 0.8",
draggable: false,
content: "Data/Ora UTC: 2026-01-12 00:19:42
Magnitudo: ML 0.8
"
});
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);