//google.load('earth', '1');
var map;
// var googleEarth;
var javierposition = new google.maps.LatLng(27.90484,87.05152);
var javierMarker;
var javiericon = 'img/ferran.png';
var javierString = '
'+
'ÚLTIMA POSICIÓN DE FERRAN:
'+
'LATITUD: 27.90484
'+
'LONGITUD: 87.05152
'+
'A LAS: 12:38:10
'+
'DEL: 24/05/2014
'+
'
';
var trackPath;
var lailaposition = new google.maps.LatLng(27.8901666928995,87.08995073724108);
var lailaMarker;
var lailaicon = 'img/cima.png';
var routeLayer;
var commentPosition = new Array();
var commentMarker = new Array();
var commenticon = 'img/comentarios.png';
var commentString = new Array();
var infoComment = new Array();
var campPosition = new Array();
var campMarker = new Array();
var campicon = 'img/camp_on.png';
var campString = new Array();
var infoCamp = new Array();
function initialize() {
var mapOptions = {
zoom: 13,
center: new google.maps.LatLng(27.90484,87.05152),
mapTypeId: google.maps.MapTypeId.TERRAIN,
panControlOptions: {
position: google.maps.ControlPosition.RIGHT_TOP
},
mapTypeControlOptions: {
position: google.maps.ControlPosition.TOP_RIGHT
},
zoomControlOptions: {
position: google.maps.ControlPosition.RIGHT_TOP
},
streetViewControl: false
};
map = new google.maps.Map(document.getElementById('map_canvas'),
mapOptions);
//googleEarth = new GoogleEarth(map);
javierMarker = new google.maps.Marker({
map:map,
position: javierposition,
icon:javiericon
});
var infowindowAlex = new google.maps.InfoWindow({
content: javierString
});
google.maps.event.addListener(javierMarker, 'click', function() {
infowindowAlex.open(map,javierMarker);
});
var contentString = ''+
'
Monte Makalu |
---|
El Makalu.desde el suroeste |
|
País | China Nepal |
---|
Coordenadas | 27°53′21″N / 87°05′19″E |
---|
Altitud | 8.463 msnm |
---|
Prominencia | 2.386 m |
---|
Cordillera | Himalaya |
---|
Primera ascensión | 15 de mayo Lionel Terray y Jean Couzy |
---|
'+
'
';
var infowindow = new google.maps.InfoWindow({
content: contentString
});
lailaMarker = new google.maps.Marker({
map:map,
position: lailaposition,
icon:lailaicon
});
google.maps.event.addListener(lailaMarker, 'click', function() {
infowindow.open(map,lailaMarker);
});
routeLayer = new google.maps.KmlLayer('http://ferranlatorre.racetracker.es/makalu/kml/Rutaprevista.kml');
//routeLayer.setMap(map);
var flightPlanCoordinates = [
new google.maps.LatLng(27.90484, 87.05152),new google.maps.LatLng(27.90581, 87.05244),new google.maps.LatLng(27.90754, 87.05367),new google.maps.LatLng(27.91429, 87.06534),new google.maps.LatLng(27.91429, 87.0668),new google.maps.LatLng(27.91425, 87.06671),new google.maps.LatLng(27.9139, 87.06665),new google.maps.LatLng(27.90833, 87.07517),new google.maps.LatLng(27.9079, 87.07605),new google.maps.LatLng(27.90751, 87.07656),new google.maps.LatLng(27.90704, 87.07848),new google.maps.LatLng(27.90695, 87.0789),new google.maps.LatLng(27.90587, 87.08096),new google.maps.LatLng(27.90455, 87.08253),new google.maps.LatLng(27.90455, 87.08253),new google.maps.LatLng(27.90464, 87.08253),new google.maps.LatLng(27.90528, 87.08152),new google.maps.LatLng(27.90611, 87.08025),new google.maps.LatLng(27.9069, 87.07893),new google.maps.LatLng(27.90687, 87.07895),new google.maps.LatLng(27.9073, 87.07689),new google.maps.LatLng(27.90743, 87.07656),new google.maps.LatLng(27.90756, 87.07631),new google.maps.LatLng(27.90832, 87.07468),new google.maps.LatLng(27.90814, 87.07438),new google.maps.LatLng(27.90823, 87.07405),new google.maps.LatLng(27.90827, 87.07371),new google.maps.LatLng(27.90858, 87.07308),new google.maps.LatLng(27.90876, 87.07294),new google.maps.LatLng(27.90892, 87.07277),new google.maps.LatLng(27.90902, 87.07285),new google.maps.LatLng(27.90932, 87.07232),new google.maps.LatLng(27.90945, 87.07223),new google.maps.LatLng(27.90949, 87.0719),new google.maps.LatLng(27.90992, 87.07117),new google.maps.LatLng(27.9101, 87.07082),new google.maps.LatLng(27.91049, 87.07056),new google.maps.LatLng(27.911, 87.06985),new google.maps.LatLng(27.91128, 87.06921),new google.maps.LatLng(27.91132, 87.06861),new google.maps.LatLng(27.91165, 87.068),new google.maps.LatLng(27.9123, 87.06779),new google.maps.LatLng(27.91346, 87.06719),new google.maps.LatLng(27.914, 87.06663),new google.maps.LatLng(27.91397, 87.06667),new google.maps.LatLng(27.91438, 87.06279),new google.maps.LatLng(27.91381, 87.06264),new google.maps.LatLng(27.91424, 87.06204),new google.maps.LatLng(27.91467, 87.06084),new google.maps.LatLng(27.91361, 87.05983),new google.maps.LatLng(27.9131, 87.05983),new google.maps.LatLng(27.91259, 87.05974),new google.maps.LatLng(27.91032, 87.05573),new google.maps.LatLng(27.90968, 87.05444),new google.maps.LatLng(27.90811, 87.05405),new google.maps.LatLng(27.9063, 87.05369),new google.maps.LatLng(27.90514, 87.05222),new google.maps.LatLng(27.90475, 87.05171),new google.maps.LatLng(27.90074, 87.05086),new google.maps.LatLng(27.9028, 87.05103),new google.maps.LatLng(27.9046, 87.0518),new google.maps.LatLng(27.9059, 87.05302),new google.maps.LatLng(27.91002, 87.05422),new google.maps.LatLng(27.91126, 87.05868),new google.maps.LatLng(27.91395, 87.0667),new google.maps.LatLng(27.91399, 87.06663),new google.maps.LatLng(27.91399, 87.06671),new google.maps.LatLng(27.914, 87.06673),new google.maps.LatLng(27.91403, 87.06665),new google.maps.LatLng(27.91417, 87.06193),new google.maps.LatLng(27.91433, 87.06182),new google.maps.LatLng(27.91459, 87.06062),new google.maps.LatLng(27.91356, 87.05976),new google.maps.LatLng(27.91248, 87.05963),new google.maps.LatLng(27.90671, 87.05395),new google.maps.LatLng(27.90585, 87.05309),new google.maps.LatLng(27.90473, 87.05197),new google.maps.LatLng(27.90092, 87.05094),new google.maps.LatLng(27.89985, 87.05068),new google.maps.LatLng(27.89732, 87.05025),new google.maps.LatLng(27.89512, 87.0494),new google.maps.LatLng(27.89413, 87.04716),new google.maps.LatLng(27.89413, 87.04716),new google.maps.LatLng(27.89413, 87.04716),new google.maps.LatLng(27.89407, 87.04719),new google.maps.LatLng(27.89407, 87.04719),new google.maps.LatLng(27.89411, 87.04719),new google.maps.LatLng(27.89386, 87.04742),new google.maps.LatLng(27.89407, 87.04725),new google.maps.LatLng(27.89412, 87.04719),new google.maps.LatLng(27.89412, 87.04719),new google.maps.LatLng(27.89412, 87.04719),new google.maps.LatLng(27.89439, 87.04774),new google.maps.LatLng(27.89664, 87.05022),new google.maps.LatLng(27.89986, 87.05031),new google.maps.LatLng(27.90354, 87.05069),new google.maps.LatLng(27.90457, 87.05155),new google.maps.LatLng(27.90461, 87.05172),new google.maps.LatLng(27.91268, 87.05968),new google.maps.LatLng(27.9135, 87.05959),new google.maps.LatLng(27.91384, 87.06198),new google.maps.LatLng(27.91384, 87.0665),new google.maps.LatLng(27.91416, 87.06667),new google.maps.LatLng(27.91412, 87.06701),new google.maps.LatLng(27.91412, 87.06667),new google.maps.LatLng(27.9143, 87.06519),new google.maps.LatLng(27.91413, 87.06407),new google.maps.LatLng(27.91404, 87.06347),new google.maps.LatLng(27.91371, 87.06245),new google.maps.LatLng(27.91405, 87.06211),new google.maps.LatLng(27.91461, 87.06091),new google.maps.LatLng(27.91073, 87.05688),new google.maps.LatLng(27.91022, 87.05482),new google.maps.LatLng(27.90928, 87.05413),new google.maps.LatLng(27.90747, 87.05431),new google.maps.LatLng(27.89418, 87.04752),new google.maps.LatLng(27.8971, 87.05011),new google.maps.LatLng(27.89938, 87.05041),new google.maps.LatLng(27.90123, 87.05092),new google.maps.LatLng(27.90355, 87.05126),new google.maps.LatLng(27.90994, 87.05457),new google.maps.LatLng(27.91131, 87.05886),new google.maps.LatLng(27.9135, 87.0598),new google.maps.LatLng(27.91413, 87.06201),new google.maps.LatLng(27.91415, 87.062),new google.maps.LatLng(27.91374, 87.06252),new google.maps.LatLng(27.91396, 87.06671),new google.maps.LatLng(27.91276, 87.06765),new google.maps.LatLng(27.91237, 87.06774),new google.maps.LatLng(27.91147, 87.06899),new google.maps.LatLng(27.91126, 87.0695),new google.maps.LatLng(27.91037, 87.07064),new google.maps.LatLng(27.90981, 87.07141),new google.maps.LatLng(27.90955, 87.0721),new google.maps.LatLng(27.9094, 87.07238),new google.maps.LatLng(27.90947, 87.07232),new google.maps.LatLng(27.90935, 87.07247),new google.maps.LatLng(27.90872, 87.07307),new google.maps.LatLng(27.90872, 87.07307),new google.maps.LatLng(27.90863, 87.07298),new google.maps.LatLng(27.9082, 87.07426),new google.maps.LatLng(27.9082, 87.0746),new google.maps.LatLng(27.90819, 87.075),new google.maps.LatLng(27.90816, 87.07539),new google.maps.LatLng(27.90807, 87.07548),new google.maps.LatLng(27.90792, 87.07568),new google.maps.LatLng(27.90792, 87.07594),new google.maps.LatLng(27.90788, 87.07603),new google.maps.LatLng(27.90797, 87.07611),new google.maps.LatLng(27.90784, 87.0762),new google.maps.LatLng(27.9078, 87.0762),new google.maps.LatLng(27.90766, 87.07632),new google.maps.LatLng(27.90761, 87.07637),new google.maps.LatLng(27.90758, 87.07639),new google.maps.LatLng(27.90752, 87.07653),new google.maps.LatLng(27.90742, 87.07661),new google.maps.LatLng(27.90729, 87.07678),new google.maps.LatLng(27.90729, 87.07678),new google.maps.LatLng(27.90731, 87.07687),new google.maps.LatLng(27.90731, 87.07687),new google.maps.LatLng(27.90728, 87.07687),new google.maps.LatLng(27.90732, 87.07689),new google.maps.LatLng(27.90676, 87.07964),new google.maps.LatLng(27.90733, 87.07682),new google.maps.LatLng(27.90737, 87.07682),new google.maps.LatLng(27.90758, 87.07656),new google.maps.LatLng(27.90783, 87.07616),new google.maps.LatLng(27.90796, 87.0759),new google.maps.LatLng(27.90805, 87.07564),new google.maps.LatLng(27.90834, 87.0736),new google.maps.LatLng(27.9085, 87.07322),new google.maps.LatLng(27.9085, 87.07322),new google.maps.LatLng(27.90877, 87.0729),new google.maps.LatLng(27.90894, 87.07274),new google.maps.LatLng(27.90903, 87.07274),new google.maps.LatLng(27.90923, 87.07262),new google.maps.LatLng(27.90933, 87.0724),new google.maps.LatLng(27.90943, 87.07219),new google.maps.LatLng(27.90944, 87.07191),new google.maps.LatLng(27.90966, 87.07159),new google.maps.LatLng(27.90982, 87.07138),new google.maps.LatLng(27.90998, 87.07162),new google.maps.LatLng(27.91024, 87.07098),new google.maps.LatLng(27.91063, 87.07038),new google.maps.LatLng(27.91093, 87.06986),new google.maps.LatLng(27.91377, 87.06712),new google.maps.LatLng(27.91384, 87.06641),new google.maps.LatLng(27.91386, 87.06644),new google.maps.LatLng(27.91424, 87.06532),new google.maps.LatLng(27.91425, 87.0642),new google.maps.LatLng(27.91416, 87.06368),new google.maps.LatLng(27.90483, 87.05184),new google.maps.LatLng(27.90483, 87.05184),new google.maps.LatLng(27.90483, 87.0515),new google.maps.LatLng(27.89417, 87.04758),new google.maps.LatLng(27.89417, 87.04759),new google.maps.LatLng(27.90107, 87.05069),new google.maps.LatLng(27.9048, 87.05172),new google.maps.LatLng(27.9066, 87.05378),new google.maps.LatLng(27.91466, 87.06047),new google.maps.LatLng(27.91407, 87.06323),new google.maps.LatLng(27.91433, 87.06538),new google.maps.LatLng(27.91384, 87.06626),new google.maps.LatLng(27.91388, 87.06652),new google.maps.LatLng(27.91414, 87.06618),new google.maps.LatLng(27.91422, 87.06498),new google.maps.LatLng(27.91413, 87.06386),new google.maps.LatLng(27.91409, 87.06353),new google.maps.LatLng(27.91371, 87.06247),new google.maps.LatLng(27.91418, 87.06204),new google.maps.LatLng(27.91457, 87.06117),new google.maps.LatLng(27.91293, 87.05987),new google.maps.LatLng(27.912, 87.05942),new google.maps.LatLng(27.91101, 87.05839),new google.maps.LatLng(27.91047, 87.05588),new google.maps.LatLng(27.91011, 87.05466),new google.maps.LatLng(27.90921, 87.05397),new google.maps.LatLng(27.90745, 87.05414),new google.maps.LatLng(27.90641, 87.05373),new google.maps.LatLng(27.90598, 87.05347),new google.maps.LatLng(27.90495, 87.05218),new google.maps.LatLng(27.90477, 87.05183),new google.maps.LatLng(27.90387, 87.05106),new google.maps.LatLng(27.90108, 87.05097),new google.maps.LatLng(27.89727, 87.05041),new google.maps.LatLng(27.89536, 87.04971),new google.maps.LatLng(27.89425, 87.04749),new google.maps.LatLng(27.89443, 87.04759),new google.maps.LatLng(27.89443, 87.04759),new google.maps.LatLng(27.89443, 87.04759),new google.maps.LatLng(27.89443, 87.04759),new google.maps.LatLng(27.88854, 87.04566),new google.maps.LatLng(27.88608, 87.04347),new google.maps.LatLng(27.88411, 87.04261),new google.maps.LatLng(27.88196, 87.04141),new google.maps.LatLng(27.86741, 87.04575),new google.maps.LatLng(27.86545, 87.04852),new google.maps.LatLng(27.84736, 87.07494),new google.maps.LatLng(27.84736, 87.07534),new google.maps.LatLng(27.84699, 87.07684),new google.maps.LatLng(27.84622, 87.07714),new google.maps.LatLng(27.83266, 87.08002),new google.maps.LatLng(27.83189, 87.08448),new google.maps.LatLng(27.83129, 87.08714),new google.maps.LatLng(27.83904, 87.09568),new google.maps.LatLng(27.83289, 87.08936),new google.maps.LatLng(27.83289, 87.08936),new google.maps.LatLng(27.83238, 87.0891),new google.maps.LatLng(27.83186, 87.08429),new google.maps.LatLng(27.83268, 87.08146),new google.maps.LatLng(27.83324, 87.07957),new google.maps.LatLng(27.83601, 87.07571),new google.maps.LatLng(27.83098, 87.07528),new google.maps.LatLng(27.82534, 87.07478),new google.maps.LatLng(27.82113, 87.07615),new google.maps.LatLng(27.81701, 87.07787),new google.maps.LatLng(27.80805, 87.08189),new google.maps.LatLng(27.7976, 87.12656),new google.maps.LatLng(27.706301, 85.330768) ];
trackPath = new google.maps.Polyline({
path: flightPlanCoordinates,
strokeColor: '#FF0000',
strokeOpacity: 1.0,
strokeWeight: 2
});
trackPath.setMap(map);
commentString[1] = ''+
'
El CB de nit |
|
|
'+
'
';
infoComment[1] = new google.maps.InfoWindow({
content: commentString[1]
});
commentPosition[1] = new google.maps.LatLng(27.894068,87.04743);
commentMarker[1] = new google.maps.Marker({
map:map,
position: commentPosition[1],
icon:commenticon
});
google.maps.event.addListener(commentMarker[1], 'click', function() {
infoComment[1].open(map,commentMarker[1]);
});
commentString[2] = ''+
'
Amb l Enric a Tumlingtar |
|
|
'+
'
';
infoComment[2] = new google.maps.InfoWindow({
content: commentString[2]
});
commentPosition[2] = new google.maps.LatLng(27.315761,87.195517);
commentMarker[2] = new google.maps.Marker({
map:map,
position: commentPosition[2],
icon:commenticon
});
google.maps.event.addListener(commentMarker[2], 'click', function() {
infoComment[2].open(map,commentMarker[2]);
});
commentString[3] = ''+
'
Als peus del Makalu |
|
Per fi una estona per poder escriure. Ahir vàrem arribar al Camp Base baix (4840 m), i avui hem posat una mica d’ordre, ja que fins fa poques hores, no teníem tot l’equipatge amb nosaltres. Coses de la nova logística. En principi teníem ...
+ info a:http://bit.ly/1myoJIW |
'+
'
';
infoComment[3] = new google.maps.InfoWindow({
content: commentString[3]
});
commentPosition[3] = new google.maps.LatLng(27.831805,87.088091);
commentMarker[3] = new google.maps.Marker({
map:map,
position: commentPosition[3],
icon:commenticon
});
google.maps.event.addListener(commentMarker[3], 'click', function() {
infoComment[3].open(map,commentMarker[3]);
});
campString[1] = '';
infoCamp[1] = new google.maps.InfoWindow({
content: campString[1]
});
campPosition[1] = new google.maps.LatLng(27.90687,87.07895);
campMarker[1] = new google.maps.Marker({
map:map,
position: campPosition[1],
icon:campicon
});
google.maps.event.addListener(campMarker[1], 'click', function() {
infoCamp[1].open(map,campMarker[1]);
});
campString[2] = '';
infoCamp[2] = new google.maps.InfoWindow({
content: campString[2]
});
campPosition[2] = new google.maps.LatLng(27.91397,87.06667);
campMarker[2] = new google.maps.Marker({
map:map,
position: campPosition[2],
icon:campicon
});
google.maps.event.addListener(campMarker[2], 'click', function() {
infoCamp[2].open(map,campMarker[2]);
});
campString[3] = '';
infoCamp[3] = new google.maps.InfoWindow({
content: campString[3]
});
campPosition[3] = new google.maps.LatLng(27.914,87.06673);
campMarker[3] = new google.maps.Marker({
map:map,
position: campPosition[3],
icon:campicon
});
google.maps.event.addListener(campMarker[3], 'click', function() {
infoCamp[3].open(map,campMarker[3]);
});
campString[4] = '';
infoCamp[4] = new google.maps.InfoWindow({
content: campString[4]
});
campPosition[4] = new google.maps.LatLng(27.89418,87.04752);
campMarker[4] = new google.maps.Marker({
map:map,
position: campPosition[4],
icon:campicon
});
google.maps.event.addListener(campMarker[4], 'click', function() {
infoCamp[4].open(map,campMarker[4]);
});
campString[5] = '';
infoCamp[5] = new google.maps.InfoWindow({
content: campString[5]
});
campPosition[5] = new google.maps.LatLng(27.90676,87.07964);
campMarker[5] = new google.maps.Marker({
map:map,
position: campPosition[5],
icon:campicon
});
google.maps.event.addListener(campMarker[5], 'click', function() {
infoCamp[5].open(map,campMarker[5]);
});
campString[6] = '';
infoCamp[6] = new google.maps.InfoWindow({
content: campString[6]
});
campPosition[6] = new google.maps.LatLng(27.91384,87.06641);
campMarker[6] = new google.maps.Marker({
map:map,
position: campPosition[6],
icon:campicon
});
google.maps.event.addListener(campMarker[6], 'click', function() {
infoCamp[6].open(map,campMarker[6]);
});
campString[7] = '';
infoCamp[7] = new google.maps.InfoWindow({
content: campString[7]
});
campPosition[7] = new google.maps.LatLng(27.89425,87.04749);
campMarker[7] = new google.maps.Marker({
map:map,
position: campPosition[7],
icon:campicon
});
google.maps.event.addListener(campMarker[7], 'click', function() {
infoCamp[7].open(map,campMarker[7]);
});
campString[8] = ''+
'
Campamento |
|
|
'+
'
';
infoCamp[8] = new google.maps.InfoWindow({
content: campString[8]
});
campPosition[8] = new google.maps.LatLng(27.89425,87.04749);
campMarker[8] = new google.maps.Marker({
map:map,
position: campPosition[8],
icon:campicon
});
google.maps.event.addListener(campMarker[8], 'click', function() {
infoCamp[8].open(map,campMarker[8]);
});
campString[9] = '';
infoCamp[9] = new google.maps.InfoWindow({
content: campString[9]
});
campPosition[9] = new google.maps.LatLng(27.89443,87.04759);
campMarker[9] = new google.maps.Marker({
map:map,
position: campPosition[9],
icon:campicon
});
google.maps.event.addListener(campMarker[9], 'click', function() {
infoCamp[9].open(map,campMarker[9]);
});
campString[10] = ''+
'
Campo Base Makalu |
|
|
'+
'
';
infoCamp[10] = new google.maps.InfoWindow({
content: campString[10]
});
campPosition[10] = new google.maps.LatLng(27.89443,87.04759);
campMarker[10] = new google.maps.Marker({
map:map,
position: campPosition[10],
icon:campicon
});
google.maps.event.addListener(campMarker[10], 'click', function() {
infoCamp[10].open(map,campMarker[10]);
});
campString[11] = '';
infoCamp[11] = new google.maps.InfoWindow({
content: campString[11]
});
campPosition[11] = new google.maps.LatLng(27.7976,87.12656);
campMarker[11] = new google.maps.Marker({
map:map,
position: campPosition[11],
icon:campicon
});
google.maps.event.addListener(campMarker[11], 'click', function() {
infoCamp[11].open(map,campMarker[11]);
});
google.maps.event.addListener(map, 'center_changed', centerChanged);
centerChanged();
}
google.maps.event.addDomListener(window, 'load', initialize);
function getCenterLatLngText() {
return 'Latitud: ' + round(map.getCenter().lat(),6) +' Longitud: '+ round(map.getCenter().lng(),6) +'';
}
function centerChanged() {
var latlng = getCenterLatLngText();
document.getElementById('contentbottom').innerHTML = latlng;
}