Skip to content

Commit

Permalink
for 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
d3netxer committed Nov 2, 2022
1 parent df97a86 commit d4ec646
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _includes/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}).addTo(map);

//var featureLayer = L.mapbox.featureLayer().loadURL('{{ site.baseurl }}/events.geojson',{
var featureLayer = L.mapbox.featureLayer().loadURL('https://nl711prwcg.execute-api.us-east-1.amazonaws.com/dev/events_geojson',{ style: L.mapbox.simplestyle.style })
var featureLayer = L.mapbox.featureLayer().loadURL('https://o5sxlalqle.execute-api.us-east-1.amazonaws.com/dev/events_geojson',{ style: L.mapbox.simplestyle.style })
//var featureLayer = L.geoJson(geojson, { style: L.mapbox.simplestyle.style }).addTo(map);

featureLayer.addTo(map);
Expand Down
2 changes: 1 addition & 1 deletion events/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h1 class='space-bottom1 space-top4'>Events</h1>
// use fetch to retrieve it, and report any errors that occur in the fetch operation
// once the products have been successfully loaded and formatted as a JSON object
// using response.json(), run the initialize() function
fetch('https://nl711prwcg.execute-api.us-east-1.amazonaws.com/dev/events').then(function(response) {
fetch('https://o5sxlalqle.execute-api.us-east-1.amazonaws.com/dev/events').then(function(response) {
if (response.ok) {
response.json().then(function(json) {
console.log('response is ok');
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ <h3><a href="{{site.baseurl}}/{{post.permalink}}">{{ post.title }}</a></h3>
// use fetch to retrieve it, and report any errors that occur in the fetch operation
// once the products have been successfully loaded and formatted as a JSON object
// using response.json(), run the initialize() function
fetch('https://nl711prwcg.execute-api.us-east-1.amazonaws.com/dev/events').then(function(response) {
fetch('https://o5sxlalqle.execute-api.us-east-1.amazonaws.com/dev/events').then(function(response) {
if (response.ok) {
response.json().then(function(json) {
console.log('response is ok');
Expand Down

0 comments on commit d4ec646

Please sign in to comment.