Skip to content

Commit

Permalink
Merge pull request #5 from charles-brewer/FollowUps
Browse files Browse the repository at this point in the history
Added new API Key
  • Loading branch information
charles-brewer authored Sep 30, 2023
2 parents 6be845c + 33def73 commit 97cc6bb
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ FodyWeavers.xsd


# Generated Maps
maps/
maps/*

# Generated PDF files
Missions/*.pdf
Expand Down
Binary file modified Content/Missions/Charlie'sMission1.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion Pages/Churches/ChurchMap.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@

</form>

<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCuVWRgSV46wxc7yQlBo3p5pfiwxd7wA3w&callback=initMap" async defer></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDB9MeOdXAO_GxZHZglRCcPhN1xPsdv3tM&callback=initMap" async defer></script>


@section Scripts {
Expand Down
2 changes: 1 addition & 1 deletion Pages/Missions/Create.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCuVWRgSV46wxc7yQlBo3p5pfiwxd7wA3w&callback=initMap" async defer></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDB9MeOdXAO_GxZHZglRCcPhN1xPsdv3tM&callback=initMap" async defer></script>

<h4>Mission</h4>
<hr />
Expand Down
1 change: 0 additions & 1 deletion Pages/Missions/Edit.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@

<script src="https://maps.googleapis.com/maps/api/js?key=xxxxxxx&callback=initMap" async defer></script>


@section Scripts {
@{
await Html.RenderPartialAsync("_ValidationScriptsPartial");
Expand Down
2 changes: 1 addition & 1 deletion Pages/Missions/Edit.cshtml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ private void SaveStaticMap(MissionMap? missionMap, string mapMarkerData)
var mapCenter = missionMap.MapData.ToString().Replace("{lat:", "").Replace("lng:", "").Replace("}", "");
var img = "https://maps.googleapis.com/maps/api/staticmap?center=" + mapDatas[0] + "&format=png&zoom=" + missionMap.MapZoom;
img += "&size=640x640";
img += "&key=AIzaSyCuVWRgSV46wxc7yQlBo3p5pfiwxd7wA3w&maptype=hybrid";
img += "&key=AIzaSyDB9MeOdXAO_GxZHZglRCcPhN1xPsdv3tM&maptype=hybrid";
img = img.Replace("%20", "").Replace("{lat:", "").Replace("lng:", "").Replace("}", "").Replace(" ", "");


Expand Down
Binary file modified wwwroot/maps/map_19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 97cc6bb

Please sign in to comment.