Mapa Lab: Difference between revisions

228 bytes removed ,  Saturday at 09:26
(Created page with "=== MAPA LAB CHEAT SHEET === <html> <head> <title>Map Test</title> <meta charset="utf-8"> <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" /> <style>#map { height: 500px; }</style> </head> <body> <div id="map"></div> <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script> <script> var map = L.map('map').setView([14.8432, 120.8114], 20); // Center on Malolos City // MapTiler tile layer L.tileLayer('https://ap...")
 
Line 27: Line 27:
//DO EDIT ABOVE CODE  
//DO EDIT ABOVE CODE  


  // Marker: Malolos City with clickable URL
  //L.marker([14.8432, 120.8114]).addTo(map)
    //.bindPopup('<b>Lungsod ng Malolos</b><br><a href="https://malolos.gov.ph" target="_blank">Visit Website</a>')
    //.openPopup();


   // Marker: Bulacan State University with article link
   // Marker: Bulacan State University with article link