Skip to content

Commit

Permalink
Merge pull request #6 from charles-brewer/charles-brewer-patch-2
Browse files Browse the repository at this point in the history
Update Edit.cshtml.cs
  • Loading branch information
charles-brewer authored Sep 30, 2023
2 parents 97cc6bb + ec2dde1 commit 5627ec0
Showing 1 changed file with 1 addition and 1 deletion.
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=AIzaSyDB9MeOdXAO_GxZHZglRCcPhN1xPsdv3tM&maptype=hybrid";
img += "&key=xxxxxxx&maptype=hybrid";
img = img.Replace("%20", "").Replace("{lat:", "").Replace("lng:", "").Replace("}", "").Replace(" ", "");


Expand Down

0 comments on commit 5627ec0

Please sign in to comment.