diff --git a/Yavsc/Views/Manage/SetActivity.cshtml b/Yavsc/Views/Manage/SetActivity.cshtml index f177ca9f..17b5f4f3 100644 --- a/Yavsc/Views/Manage/SetActivity.cshtml +++ b/Yavsc/Views/Manage/SetActivity.cshtml @@ -39,8 +39,6 @@ var pos = loc.geometry.location; var lat = new Number(pos.lat); var lng = new Number(pos.lng); - $('#'+config.latId).val(lat.toLocaleString('en')); - $('#'+config.longId).val(lng.toLocaleString('en')); gmap.setCenter(pos); if (marker) { marker.setMap(null); @@ -69,6 +67,7 @@ url: 'https://maps.googleapis.com/maps/api/geocode/json', type: 'get', data: { + key: '@Startup.GoogleSettings.BrowserApiKey', sensor: false, address: function () { return $('#'+config.addrId).val() } }, diff --git a/Yavsc/Views/Shared/DisplayTemplates/PerformerProfile.cshtml b/Yavsc/Views/Shared/DisplayTemplates/PerformerProfile.cshtml index df6a5994..f542d496 100644 --- a/Yavsc/Views/Shared/DisplayTemplates/PerformerProfile.cshtml +++ b/Yavsc/Views/Shared/DisplayTemplates/PerformerProfile.cshtml @@ -1,7 +1,7 @@ @model PerformerProfile