forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDegarmo-Park.htm
90 lines (77 loc) · 4.79 KB
/
Degarmo-Park.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
---
<!DOCTYPE html>
<html lang="en">
<head>
<title>Degarmo Park - New Golf Facility</title>
<meta name="description" CONTENT="Chico Golf Course Degarmo Park Celebrity Greens New Executive Short Par 3 Course">
{% include h60.html %}
</head>
<body>
<div class="main-container" role="main">
<div id="map" aria-label="Chico"></div>
<div class="content" tabindex="0" aria-label="9 Holes">
<H1>Degarmo Park - New Golf Facility</H1>
<p>Degarmo Park's new golf facility is set to be an exciting addition to the Chico, California area. The park is being transformed to add a 9 hole short course layout created by <a style='font-weight:bold' href='https://www.celebritygreens.com/' target='_blank' rel='nofollow'>Celebrity Greens</a>. Artificial, synthetic turf will likely be the choice to accelerate construction and prioritize water saving measures.</p>
<p>Construction at Degarmo Park began in early 2024. The facility is planned to open in 2025. The community project will feature soccer fields and other outdoor activies. Total project public/private costs are targeted at $8 million.</p>
<p><a style='font-weight:bold' href='https://beyondgolfchico.com/' target='_blank' rel='nofollow'>Beyond Golf Chico</a> and Grant Hornbeak are leading the effort to expand golf to youth in the Chicgo community. <a style='font-weight:bold' href='https://buttecountyyouthsportsandeducationfoundation.org/pages/about-us' target='_blank' rel='nofollow'>Butte County Youth Sports and Education Foundation</a> is an initiative to bring public golf education and facilities to youth in the area. It is planned for Degarmo Park to offer free golf to junior golfers.</p>
<div id="image-container"></div>
</div>
</div>
</div>
<script>
window.addEventListener('load', function() {
var img = new Image();
img.src = "https://fescue.github.io/images/Celebrity-Greens.jpg";
img.alt = "Celebrity Greens";
img.style.width = "90%";
img.onload = function() {
document.getElementById('image-container').appendChild(img);
};
});
const map = L.map('map').setView([39.778421,-121.8825839], 9);
const tiles = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 30,
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}).addTo(map);
L.CustomOverlay = L.Layer.extend({
onAdd: function(map) {
this._map = map;
this._container = L.DomUtil.create('div', 'leaflet-custom-overlay');
// Your lite-youtube HTML
this._container.innerHTML = `
<lite-youtube videoid="2Hycb2MVdVs" style="background-image: url('https://i3.ytimg.com/vi/2Hycb2MVdVs/hqdefault.jpg');">
<a href="https://youtube.com/watch?v=2Hycb2MVdVs" class="lty-playbtn" title="Play Video. Credit: Action News Now">
<span class="lyt-visually-hidden">Credit: Action News Now</span>
</a>
</lite-youtube>
`;
// Add the container to the map
map._panes.overlayPane.appendChild(this._container);
// Update the position of the overlay on the map
this._update();
},
onRemove: function(map) {
L.DomUtil.remove(this._container);
},
_update: function() {
// Position the layer. This example assumes a fixed position, but you can use map latlng to position dynamically
// var position = this._map.latLngToLayerPoint(this._latlng || this._map.getCenter());
var position = this._map.containerPointToLayerPoint([10, 10]); // Adjust the position as needed
L.DomUtil.setPosition(this._container, position);
}
});
// Add the custom overlay to the map
var myCustomOverlay = new L.CustomOverlay();
myCustomOverlay.addTo(map);
// Add a marker to the map at the same location as the map center
var marker = L.marker([39.778421,-121.8825839]).addTo(map);
marker.bindPopup("<b>Degarmo Park</b><br>Chico, Northern California</br>").openPopup();
</script>
<p><a href="https://fescue.github.io/Dunedin-Golf-Course/">Donald Ross - Dunedin Golf Course</a></p>
<p><a href="https://fescue.github.io/Chicago-Jackson-Park-Golf/">Tiger Woods Proposal for Jackson Park, Chicago</a></p>
<p><a href="https://fescue.github.io/Sherrill-Park-Golf-Course/">Muni Sherrill Park Renovation</a></p>
{% include bodyFooter.html %}
</body>
{% include footer.html %}
</html>