var centerLat = 39.59303, centerLon = -0.97244, zoom = 13;

var iancho = 20;
var ialto = 20;
var iposx = 1;
var iposy = 20;
var iinfox = 5;
var iinfoy = 15;
var itxtx = 2;
var itxty = -27;

var ico1 = 'ico/b_rojo.png';
var ico2 = 'ico/b_azul.png';
var ico3 = 'ico/b_amarillo.png';
var ico4 = 'ico/b_verde.png';
var ico5 = 'ico/b_naranja.png';
var ico6 = 'ico/b_violeta.png';


var markers = [ 
 { 'id': '01', 'nombre': 'Museo Parque Geológico', 'lat':39.593850209823366, 'lon':-0.9731912612915039,'tipo':'1','img':'museo.jpg', 'web':'' },
 { 'id': '02', 'nombre': 'Cuevas de la Garita', 'lat':39.58845962645288, 'lon':-0.9859800338745117, 'tipo':'1','img':'cuevas.jpg', 'web':'' },
 { 'id': '03', 'nombre': 'Area recreativa Embalse Buseo', 'lat':39.58630989034081, 'lon':-0.9467124938964844, 'tipo':'1', 'img':'buseo.jpg','web':'' },
 { 'id': '04', 'nombre': 'Barranco de la Hoz', 'lat':39.58986518708, 'lon':-0.9395241737365723, 'tipo':'1','img':'hoz.jpg', 'web':'' },
 { 'id': '05', 'nombre': 'El Reatillo', 'lat':39.551905042577765, 'lon':-0.9814739227294922, 'tipo':'1', 'img':'reatillo.jpg', 'web':'' },
 
 { 'id': '06', 'nombre': 'El Saltillo', 'lat':39.62099517596803, 'lon':-0.9661102294921875, 'tipo':'2', 'img':'saltillo.gif', 'web':'' },
 { 'id': '07', 'nombre': 'Fuente Tosquillas', 'lat':39.59518952284537, 'lon':-0.969618558883667, 'tipo':'2','img':'fte_tosquillas.jpg', 'web':'' },
 { 'id': '08', 'nombre': 'Fuente del Barrio', 'lat':39.594503334840525, 'lon':-0.9729659557342529, 'tipo':'2','img':'fte_barrio.jpg', 'web':'' },
 { 'id': '09', 'nombre': 'Fuente de la Hoya', 'lat':39.59867822901054, 'lon':-0.9607887268066406, 'tipo':'2','img':'fte_hoya.jpg', 'web':'' },
 { 'id': '10', 'nombre': 'Fuente la Puerca', 'lat':39.581356975239665, 'lon':-0.9450280666351318, 'tipo':'2','img':'fte_puerca.jpg', 'web':'' },
 { 'id': '11', 'nombre': 'Charco de las Lumbres', 'lat':39.56891111068631, 'lon':-0.9661960601806641, 'tipo':'2', 'img':'lumbres.jpg','web':'' },
 { 'id': '12', 'nombre': 'Chorrero de la Castellana', 'lat':39.5730958168194, 'lon':-0.9711956977844238, 'tipo':'2', 'img':'castellana.gif','web':'' },

 { 'id': '13', 'nombre': 'Iglesia', 'lat':39.59184945942226, 'lon':-0.9744036197662353,'tipo':'3', 'img':'iglesia.jpg','web':'' },
 { 'id': '14', 'nombre': 'Castillo de Chera', 'lat':39.58935257415456, 'lon':-0.9896278381347656, 'tipo':'3','img':'castillo.jpg', 'web':'' },
 { 'id': '15', 'nombre': 'Ermita de Chera', 'lat':39.59181638868224, 'lon':-0.991215705871582, 'tipo':'3','img':'ermita.jpg', 'web':'' },
 { 'id': '16', 'nombre': 'Casa del Conde', 'lat':39.589650220831075, 'lon':-0.9806907176971435, 'tipo':'3', 'img':'casa_conde.jpg','web':'' },
 { 'id': '17', 'nombre': 'Sindicato de riegos', 'lat':39.59566902368167, 'lon':-0.9409832954406738, 'tipo':'3', 'img':'riegos.jpg','web':'' },
 { 'id': '18', 'nombre': 'Presa de Buseo', 'lat':39.59542100642214, 'lon':-0.9396529197692871, 'tipo':'3', 'img':'presa.jpg','web':'' },


 { 'id': '19', 'nombre': 'Microreserva Fte. la Puerca', 'lat':39.58143139561519, 'lon':-0.9448349475860596, 'tipo':'4','img':'m_puerca.jpg', 'web':'' },
 { 'id': '20', 'nombre': 'Microreserva del Pico Ropé', 'lat':39.62125962998203, 'lon':-0.9797358512878418, 'tipo':'4', 'img':'m_rope.jpg', 'web':'' },  
 
 
 { 'id': '21', 'nombre': 'Pico Ropé', 'lat':39.62162325260124, 'lon':-0.9797573089599609, 'tipo':'5','img':'rope.jpg', 'web':'http://www.cma.gva.es/cidam/montes/sendaverde/fichas/ficha_montanyismo.asp?idLugar=647&botones=1' },
 { 'id': '22', 'nombre': 'Piquillo de las Nieves', 'lat':39.60072838193814, 'lon':-0.9940052032470703, 'tipo':'5', 'img':'piquillo_nieves.jpg','web':'' },
 { 'id': '23', 'nombre': 'Alto de Cinco Pinos', 'lat':39.583597820411285, 'lon':-1.0120296478271484, 'tipo':'5','img':'alto_cinco_pinos.jpg','web':'' },
 { 'id': '24', 'nombre': 'Pico del Tio Gaspar', 'lat':39.590278581837886, 'lon':-1.0010433197021484,'tipo':'5', 'img':'gaspar.jpg', 'web':''},
 { 'id': '25', 'nombre': 'Alto del Burgal', 'lat':39.551905042577765, 'lon':-0.9355545043945312,'tipo':'5', 'img':'alto_burgal.jpg', 'web':'' },
 { 'id': '26', 'nombre': 'Puntal del Tio Fernando', 'lat':39.556669808968984, 'lon':-0.9424209594726562, 'tipo':'5', 'img':'puntal_tio_fernando.jpg', 'web':''},
 
  ];
  

var lineas = [];
  
var area = [
     {"colour":"#222222", "width":2, "points":[ 
     new GLatLng(39.58373012, -1.01434708),
     new GLatLng(39.60238169, -1.00490570),
     new GLatLng(39.61163947, -0.99718094),
     new GLatLng(39.61547447, -0.99185944),
     new GLatLng(39.62076378, -0.98911285),
     new GLatLng(39.62287939, -0.98241806),
     new GLatLng(39.62975468, -0.96559525),
     new GLatLng(39.63015131, -0.96370697),
     new GLatLng(39.62909362, -0.96044540),
     new GLatLng(39.62724263, -0.95804214),
     new GLatLng(39.62512715, -0.95752716),
     new GLatLng(39.61970595, -0.95375061),
     new GLatLng(39.61930926, -0.95272064),
     new GLatLng(39.61759024, -0.95151901),
     new GLatLng(39.61692907, -0.94963074),
     new GLatLng(39.61640013, -0.94928741),
     new GLatLng(39.61640013, -0.94860077),
     new GLatLng(39.61468104, -0.94739914),
     new GLatLng(39.61415208, -0.94516754),
     new GLatLng(39.61243293, -0.94379425),
     new GLatLng(39.61071374, -0.93812943),
     new GLatLng(39.60820101, -0.93366623),
     new GLatLng(39.60674622, -0.93469620),
     new GLatLng(39.60291074, -0.93538284),
     new GLatLng(39.59762006, -0.93091965),
     new GLatLng(39.59642960, -0.93074799),
     new GLatLng(39.59563595, -0.93006134),
     new GLatLng(39.59537140, -0.92782974),
     new GLatLng(39.59418091, -0.92542648),
     new GLatLng(39.59206442, -0.92388153),
     new GLatLng(39.58955101, -0.91701508),
     new GLatLng(39.58148101, -0.90362549),
     new GLatLng(39.57645332, -0.90173721),
     new GLatLng(39.57089598, -0.89693069),
     new GLatLng(39.56745550, -0.89916229),
     new GLatLng(39.56401485, -0.89830399),
     new GLatLng(39.56335317, -0.90808868),
     new GLatLng(39.55792712, -0.92645645),
     new GLatLng(39.55369187, -0.93589783),
     new GLatLng(39.54402923, -0.93177795),
     new GLatLng(39.54561770, -0.94465256),
     new GLatLng(39.54852980, -0.95615387),
     new GLatLng(39.55077998, -0.96078873),
     new GLatLng(39.55316244, -0.98241806),
     new GLatLng(39.55382422, -0.98413467),
     new GLatLng(39.57023437, -0.99769592),
     new GLatLng(39.58253942, -1.01314545),
     new GLatLng(39.58373012, -1.01434708)]
     }
];

