1 var hotel = L.icon({ 2 iconUrl: 'https://images.turismoenportugal.org/hotel-all.png', 3 iconSize: [32, 37], // size of the icon 4 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 5 shadowAnchor: [4, 62], // the same for the shadow 6 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 7}); 8var hotel1 = L.icon({ 9 iconUrl: 'https://images.turismoenportugal.org/hotel-all1.png', 10 iconSize: [32, 37], // size of the icon 11 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 12 shadowAnchor: [4, 62], // the same for the shadow 13 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 14}); 15var hotel2 = L.icon({ 16 iconUrl: 'https://images.turismoenportugal.org/hotel-all2.png', 17 iconSize: [32, 37], // size of the icon 18 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 19 shadowAnchor: [4, 62], // the same for the shadow 20 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 21}); 22var hotel3 = L.icon({ 23 iconUrl: 'https://images.turismoenportugal.org/hotel-all3.png', 24 iconSize: [32, 37], // size of the icon 25 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 26 shadowAnchor: [4, 62], // the same for the shadow 27 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 28}); 29var hotel4 = L.icon({ 30 iconUrl: 'https://images.turismoenportugal.org/hotel-all4.png', 31 iconSize: [32, 37], // size of the icon 32 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 33 shadowAnchor: [4, 62], // the same for the shadow 34 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 35}); 36var hotel5 = L.icon({ 37 iconUrl: 'https://images.turismoenportugal.org/hotel-all5.png', 38 iconSize: [32, 37], // size of the icon 39 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 40 shadowAnchor: [4, 62], // the same for the shadow 41 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 42}); 43var hotelthis = L.icon({ 44 iconUrl: 'https://images.turismoenportugal.org/hotel-this.png', 45 iconSize: [32, 37], // size of the icon 46 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 47 shadowAnchor: [4, 62], // the same for the shadow 48 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 49}); 50var hotelthis1 = L.icon({ 51 iconUrl: 'https://images.turismoenportugal.org/hotel-this1.png', 52 iconSize: [32, 37], // size of the icon 53 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 54 shadowAnchor: [4, 62], // the same for the shadow 55 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 56}); 57var hotelthis2 = L.icon({ 58 iconUrl: 'https://images.turismoenportugal.org/hotel-this2.png', 59 iconSize: [32, 37], // size of the icon 60 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 61 shadowAnchor: [4, 62], // the same for the shadow 62 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 63}); 64var hotelthis3 = L.icon({ 65 iconUrl: 'https://images.turismoenportugal.org/hotel-this3.png', 66 iconSize: [32, 37], // size of the icon 67 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 68 shadowAnchor: [4, 62], // the same for the shadow 69 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 70}); 71var hotelthis4 = L.icon({ 72 iconUrl: 'https://images.turismoenportugal.org/hotel-this4.png', 73 iconSize: [32, 37], // size of the icon 74 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 75 shadowAnchor: [4, 62], // the same for the shadow 76 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 77}); 78var hotelthis5 = L.icon({ 79 iconUrl: 'https://images.turismoenportugal.org/hotel-this5.png', 80 iconSize: [32, 37], // size of the icon
81 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 82 shadowAnchor: [4, 62], // the same for the shadow 83 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 84}); 85var acuario = L.icon({ 86 iconUrl: 'https://images.turismoenportugal.org/acuario.png', 87 iconSize: [32, 37], // size of the icon 88 89 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 90 shadowAnchor: [4, 62], // the same for the shadow 91 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 92}); 93var bandera = L.icon({ 94 iconUrl: 'https://images.turismoenportugal.org/bandera.png', 95 iconSize: [32, 37], // size of the icon 96 97 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 98 shadowAnchor: [4, 62], // the same for the shadow 99 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 100}); 101var cascohistorico = L.icon({ 102 iconUrl: 'https://images.turismoenportugal.org/cascohistorico.png', 103 iconSize: [32, 37], // size of the icon 104 105 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 106 shadowAnchor: [4, 62], // the same for the shadow 107 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 108}); 109var ciudad = L.icon({ 110 iconUrl: 'https://images.turismoenportugal.org/ciudad.png', 111 iconSize: [32, 37], // size of the icon 112 113 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 114 shadowAnchor: [4, 62], // the same for the shadow 115 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 116}); 117var iglesia = L.icon({ 118 iconUrl: 'https://images.turismoenportugal.org/iglesia.png', 119 iconSize: [32, 37], // size of the icon 120 121 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 122 shadowAnchor: [4, 62], // the same for the shadow 123 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 124}); 125var lugardefiesta = L.icon({ 126 iconUrl: 'https://images.turismoenportugal.org/lugardefiesta.png', 127 iconSize: [32, 37], // size of the icon 128 129 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 130 shadowAnchor: [4, 62], // the same for the shadow 131 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 132}); 133var monumento = L.icon({ 134 iconUrl: 'https://images.turismoenportugal.org/monumento.png', 135 iconSize: [32, 37], // size of the icon 136 137 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 138 shadowAnchor: [4, 62], // the same for the shadow 139 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 140}); 141var museo = L.icon({ 142 iconUrl: 'https://images.turismoenportugal.org/museo.png', 143 iconSize: [32, 37], // size of the icon 144 145 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 146 shadowAnchor: [4, 62], // the same for the shadow 147 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 148}); 149var nieve = L.icon({ 150 iconUrl: 'https://images.turismoenportugal.org/nieve.png', 151 iconSize: [32, 37], // size of the icon 152 153 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 154 shadowAnchor: [4, 62], // the same for the shadow 155 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 156}); 157var otros = L.icon({ 158 iconUrl: 'https://images.turismoenportugal.org/otros.png', 159 iconSize: [32, 37], // size of the icon 160 161 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 162 shadowAnchor: [4, 62], // the same for the shadow 163 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 164}); 165var palacio = L.icon({ 166 iconUrl: 'https://images.turismoenportugal.org/palacio.png', 167 iconSize: [32, 37], // size of the icon 168
169 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 170 shadowAnchor: [4, 62], // the same for the shadow 171 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 172}); 173var paquetematico = L.icon({ 174 iconUrl: 'https://images.turismoenportugal.org/paquetematico.png', 175 iconSize: [32, 37], // size of the icon 176 177 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 178 shadowAnchor: [4, 62], // the same for the shadow 179 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 180}); 181var parqueacuatico = L.icon({ 182 iconUrl: 'https://images.turismoenportugal.org/parqueacuatico.png', 183 iconSize: [32, 37], // size of the icon 184 185 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 186 shadowAnchor: [4, 62], // the same for the shadow 187 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 188}); 189var playa = L.icon({ 190 iconUrl: 'https://images.turismoenportugal.org/playa.png', 191 iconSize: [32, 37], // size of the icon 192 193 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 194 shadowAnchor: [4, 62], // the same for the shadow 195 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 196}); 197var pueblo = L.icon({ 198 iconUrl: 'https://images.turismoenportugal.org/pueblo.png', 199 iconSize: [32, 37], // size of the icon 200 201 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 202 shadowAnchor: [4, 62], // the same for the shadow 203 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 204}); 205var puerto = L.icon({ 206 iconUrl: 'https://images.turismoenportugal.org/puerto.png', 207 iconSize: [32, 37], // size of the icon 208 209 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 210 shadowAnchor: [4, 62], // the same for the shadow 211 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 212}); 213var teatro = L.icon({ 214 iconUrl: 'https://images.turismoenportugal.org/teatro.png', 215 iconSize: [32, 37], // size of the icon 216 217 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 218 shadowAnchor: [4, 62], // the same for the shadow 219 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 220}); 221var mezquita = L.icon({ 222 iconUrl: 'https://images.turismoenportugal.org/mezquita.png', 223 iconSize: [32, 37], // size of the icon 224 225 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 226 shadowAnchor: [4, 62], // the same for the shadow 227 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 228}); 229var otrosthis = L.icon({ 230 iconUrl: 'https://images.turismoenportugal.org/otros-this.png', 231 iconSize: [32, 37], // size of the icon 232 233 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 234 shadowAnchor: [4, 62], // the same for the shadow 235 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 236}); 237var zoo = L.icon({ 238 iconUrl: 'https://images.turismoenportugal.org/zoo.png', 239 iconSize: [32, 37], // size of the icon 240 241 iconAnchor: [15, 37], // point of the icon which will correspond to marker's location 242 shadowAnchor: [4, 62], // the same for the shadow 243 popupAnchor: [0, -37] // point from which the popup should open relative to the iconAnchor 244}); 245 246 247var mymap = L.map('map').setView([42.5449,1.51537], 17); 248 249 L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png??access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw', { 250 maxZoom: 20, 251 attribution: 'Map data © OpenStreetMap contributors, ' + 252 'CC-BY-SA, ' + 253 'Imagery © Mapbox', 254 id: 'mapbox.streets' 255 }).addTo(mymap); 256 257 258 259L.marker([42.5446 , 1.51416],{icon: hotel}).addTo(mymap).bindPopup('<a href="oferta-apartamento-romantico-la-massana" target="_blank" class="titulo">Apartamento Romantico </a>'); 260 261 262L.marker([42.5451 , 1.51326],{icon: hotel}).addTo(mymap).bindPopup('<a href="oferta-trekyourway-slu-la-massana" target="_blank" class="titulo">TREKYOURWAY, SLU </a>'); 263 264 265L.marker([42.5453 , 1.51325],{icon: hotel}).addTo(mymap).bindPopup('<a href="oferta-secret-spot-hostel-la-massana" target="_blank" class="titulo">Secret Spot Hostel </a>'); 266 267 268L.marker([42.5455 , 1.51904],{icon: hotel}).addTo(mymap).bindPopup('<a href="oferta-vitivola-edifici-el-moli-la-massana" target="_blank" class="titulo">Vitivola Edifici el Molà </a>'); 269 270 271L.marker([42.5455 , 1.51915],{icon: hotel}).addTo(mymap).bindPopup('<a href="oferta-duplex-snow-and-sun-la-massana" target="_blank" class="titulo">Duplex Snow & Sun </a>'); 272 273 274L.marker([42.5456 , 1.51901],{icon: hotel}).addTo(mymap).bindPopup('<a href="oferta-el-moli-la-massana-la-massana" target="_blank" class="titulo">El Molà La Massana </a>'); 275 276 277L.marker([42.5457 , 1.51482],{icon: hotel}
277).addTo(mymap).bindPopup('<a href="oferta-apartments-telecabine-365-la-massana" target="_blank" class="titulo">Apartments TELECABINE 365 </a>'); 278 279 280L.marker([42.5457 , 1.51485],{icon: hotel}).addTo(mymap).bindPopup('<a href="oferta-apartamentos-telecabine-365-la-massana" target="_blank" class="titulo">Apartamentos Telecabine 365 </a>'); 281 282 283L.marker([42.5443 , 1.51041],{icon: hotel}).addTo(mymap).bindPopup('<a href="oferta-maison-conviviale-la-massana" target="_blank" class="titulo">maison conviviale </a>'); 284 285 286L.marker([42.5457 , 1.51899],{icon: hotel}).addTo(mymap).bindPopup('<a href="oferta-danny-and-linda-flat-la-massana" target="_blank" class="titulo">Danny and Linda Flat </a>'); 287 288//esto si es el hotel seleccionado coincide 289 290 291 292 293 294L.marker([42.5456 , 1.51474],{icon: nieve}).addTo(mymap).bindPopup('<a href="vallnord" target="_blank" class="titulo">Vallnord Andorra </a>'); 295L.marker([42.5457 , 1.51838],{icon: museo}).addTo(mymap).bindPopup('<a href="farga-rossell" target="_blank" class="titulo">Farga Rossell, Andorra </a>'); 296L.marker([42.5461 , 1.51481],{icon: museo}).addTo(mymap).bindPopup('<a href="museo-del-comic" target="_blank" class="titulo">Museo del Cómic </a>'); 297L.marker([42.5466 , 1.48674],{icon: monumento}).addTo(mymap).bindPopup('<a href="puente-de-sant-antoni-de-la-grella" target="_blank" class="titulo">Puente de Sant Antoni de la Grella </a>'); 298L.marker([42.5447 , 1.47546],{icon: museo}).addTo(mymap).bindPopup('<a href="centro-de-interpretacion-andorra-romanica" target="_blank" class="titulo">Centro de Interpretación Andorra Románica </a>'); 299L.marker([42.546 , 1.47519],{icon: monumento}).addTo(mymap).bindPopup('<a href="iglesia-de-sant-climent-de-pal" target="_blank" class="titulo">Iglesia de Sant Climent de Pal </a>'); 300L.marker([42.5539 , 1.53244],{icon: museo}).addTo(mymap).bindPopup('<a href="museo-de-las-miniaturas-nicolai-siadristy-andorra" target="_blank" class="titulo">Museo de las Miniaturas Nicolai Siadristy en Andorra </a>'); 301L.marker([42.5532 , 1.54639],{icon: museo}).addTo(mymap).bindPopup('<a href="museo-nacional-del-automovil" target="_blank" class="titulo">Museo Nacional del Automóvil </a>'); 302L.marker([42.554 , 1.5325],{icon: museo}).addTo(mymap).bindPopup('<a href="museo-iconografico-sant-jordi-y-del-cristianismo" target="_blank" class="titulo">Museo Iconografico Sant Jordi y del Cristianismo Andorra </a>'); 303 304 305 306//esto si es el lugar seleccionado 307L.marker([42.5449 , 1.51537],{icon: otrosthis}).addTo(mymap).bindPopup('<a href="la-massana" target="_blank" class="titulo">La Massana, Andorra </a>'); 308 309
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.