Sandbox: Cultural Mapping: Difference between revisions

From Wiki Malolos
Jump to navigation Jump to search
(Created page with "=== Package A: Kapitolyo Walk === <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], 15); // Center on Malolos City // MapTiler tile layer L.tileLayer('https...")
 
No edit summary
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
=== Package A: Kapitolyo Walk ===
=== Sandbox for Byaheng Malolos Workshop ===


<html>
<html>
Line 23: Line 23:
   }).addTo(map);
   }).addTo(map);


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


   // Marker: Bulacan State University with article link
   // PIN PLUS LABEL AND URL: Bulacan State University with article link
   L.marker([14.857882, 120.813859]).addTo(map)
   L.marker([14.857882, 120.813859]).addTo(map)
     .bindPopup('<b>Bulacan State University (BulSU)</b><br><a href="https://wikimalolos.com/wikimalolos/index.php/Making_a_Case_for_a_Historical_Founding_Date_of_Bulacan_State_University" target="_blank">Read Historical Article</a>');
     .bindPopup('<b>Bulacan State University (BulSU)</b><br><a href="https://wikimalolos.com/wikimalolos/index.php/Making_a_Case_for_a_Historical_Founding_Date_of_Bulacan_State_University" target="_blank">Read Historical Article</a>');


   // Polygon: Approximate boundary of Bulacan State University
   // POLYGON PLUS LABEL ONLY: Approximate boundary of Bulacan State University
   var bulsuPolygon = L.polygon([
   var bulsuPolygon = L.polygon([
     [14.857630581410698, 120.81184712962074],
     [14.857630581410698, 120.81184712962074],
Line 46: Line 46:
   bulsuPolygon.bindPopup('Bulacan State University Campus');
   bulsuPolygon.bindPopup('Bulacan State University Campus');


  // Polygon: Approximate boundary of Barasoain Church
  // POLYGON PLUS LABEL AND URL: Approximate boundary of Ancestral House of Jacinto-Lomotan in Malolos City
   var barasoainPolygon = L.polygon([
   var lomotanPolygon = L.polygon([
     [14.846952933499336, 120.81225915935168],
     [14.842683313281473, 120.80980602907323],
     [14.84639927994201, 120.81201259956772],
     [14.842716275863445, 120.80993816820266],
     [14.846204950097054, 120.81256261510248],
     [14.842591292713529, 120.80996374351803],
     [14.846740270448107, 120.81277883038656],
     [14.8425624504379, 120.80983444609032],
   ], {
   ], {
     color: 'red',
     color: 'red',
Line 58: Line 58:
   }).addTo(map);
   }).addTo(map);


   barasoainPolygon.bindPopup('Barasoain Church');
   lomotanPolygon.bindPopup('<b>Barasoain Church</b><br><a href="https://wikimalolos.com/wikimalolos/index.php/Ancestral_House_of_Jacinto-Lomotan_in_Malolos_City" target="_blank">Read Article</a>');
 
// POLYGON PLUS LABEL AND URL: Approximate boundary of Ancestral House of Jacinto-Lomotan in Malolos City
  var lomotanPolygon = L.polygon([
    [14.842683313281473, 120.80980602907323],
    [14.842716275863445, 120.80993816820266],
    [14.842591292713529, 120.80996374351803],
    [14.8425624504379, 120.80983444609032],
  ], {
    color: 'red',
  }).addTo(map);
 
  lomotanPolygon.bindPopup('<b>Lomotan House</b><br><a href="https://wikimalolos.com/wikimalolos/index.php/Ancestral_House_of_Jacinto-Lomotan_in_Malolos_City" target="_blank">Read Article</a>');


</script>
</script>
Line 64: Line 76:
</body>
</body>
</html>
</html>
<html><iframe src="https://wikimalolos.com/wp-admin/admin-ajax.php?action=h5p_embed&id=20" width="959" height="628" frameborder="0" allowfullscreen="allowfullscreen" title="Tara, Malolos!"></iframe><script src="https://wikimalolos.com/wp-content/plugins/h5p/h5p-php-library/js/h5p-resizer.js" charset="UTF-8"></script></html>

Latest revision as of 03:54, 21 November 2025

Sandbox for Byaheng Malolos Workshop

Map Test