Sandbox: Cultural Mapping: Difference between revisions

From Wiki Malolos
Jump to navigation Jump to search
No edit summary
No edit summary
 
(18 intermediate revisions by 5 users not shown)
Line 24: Line 24:


   // PIN PLUS LABEL AND URL: 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('Makasaysayang Lungsod ng Malolos
    .openPopup();
<a href="https://malolos.gov.ph" target="_blank">Visit Website</a>')
  .openPopup();


  // PIN PLUS LABEL AND URL: Bulacan State University with article link
  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>');


  // POLYGON PLUS LABEL ONLY: Approximate boundary of Bulacan State University
  var bulsuPolygon = L.polygon([
    [14.857630581410698, 120.81184712962074],
    [14.859724860926136, 120.81430888041209],
    [14.858521919350292, 120.81543541601346],
    [14.856447885966825, 120.81283903663416],
  ], {
    color: 'red',
    fillColor: '#f03',
    fillOpacity: 0.4
  }).addTo(map);


  bulsuPolygon.bindPopup('Bulacan State University Campus');
// POLYGON PLUS LABEL AND URL: Approximate boundary of Tulay ng Tampoy
  var tulayngtampoyPolygon = L.polygon([
    [14.844201440520933, 120.81147106684809],
    [14.844201440520933, 120.81147106684809],
    [14.844201440520933, 120.81147106684809],
    [14.844201440520933, 120.81147106684809],
  ], {
    color: 'red',
    fillColor: '#f03',
    fillOpacity: 0.4
  }).addTo(map);
  TulayngTampoyPolygon.bindPopup('<b>Tulay ng Tampoy Church</b><br><a href="https://wikimalolos.com/wikimalolos/index.php/Tulay_ng_Tampoy:_A_Heritage_Landmark_of_Malolos" target="_blank">Read Article</a>');
// POLYGON PLUS LABEL AND URL: Approximate boundary of Gusaling Gabaldon
  var gabaldonPolygon = L.polygon([
    [14.839639212023128, 120.81300787599069],
    [14.839837213298498, 120.81334168016718],
    [14.83944854184449, 120.81359582467152],
    [14.839243207607208, 120.8132658139156],
  ], {
    color: 'red',
    fillColor: '#f03',
    fillOpacity: 0.4
  }).addTo(map);
  gabaldonPolygon.bindPopup('<b>Gusaling Gabaldon</b><br><a href="https://wikimalolos.com/wikimalolos/index.php/Barasoain_Church" target="_blank">Read Article</a>');


</script>
</script>

Latest revision as of 07:37, 9 May 2026

Sandbox for Byaheng Malolos Workshop

Map Test