From 0f70f476ce516ced09a30cba57357eacc91aed80 Mon Sep 17 00:00:00 2001 From: Robert Foster Date: Sun, 15 Dec 2024 22:11:33 +1100 Subject: [PATCH] Fix google map api library registration --- .github/workflows/release.yml | 2 +- Our.Umbraco.GMaps.Core/Our.Umbraco.GMaps.Core.csproj | 2 +- Our.Umbraco.GMaps/Our.Umbraco.GMaps.csproj | 2 +- Our.Umbraco.GMaps/wwwroot/js/maps.factory.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0c4033..0756fb4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - dotnet-version: ['7.x'] + dotnet-version: ['8.x'] steps: diff --git a/Our.Umbraco.GMaps.Core/Our.Umbraco.GMaps.Core.csproj b/Our.Umbraco.GMaps.Core/Our.Umbraco.GMaps.Core.csproj index 3aced0c..2b93e05 100644 --- a/Our.Umbraco.GMaps.Core/Our.Umbraco.GMaps.Core.csproj +++ b/Our.Umbraco.GMaps.Core/Our.Umbraco.GMaps.Core.csproj @@ -3,7 +3,7 @@ net6.0;net7.0;net8.0 True - 3.0.3 + 3.0.4 Arnold Visser Arnold Visser Basic Google Maps with autocomplete property editor for Umbraco 8+. This package contains the Core DLL only. diff --git a/Our.Umbraco.GMaps/Our.Umbraco.GMaps.csproj b/Our.Umbraco.GMaps/Our.Umbraco.GMaps.csproj index 4db4aa0..db5de69 100644 --- a/Our.Umbraco.GMaps/Our.Umbraco.GMaps.csproj +++ b/Our.Umbraco.GMaps/Our.Umbraco.GMaps.csproj @@ -7,7 +7,7 @@ false true - 3.0.3 + 3.0.4 Arnold Visser Arnold Visser Basic Google Maps with autocomplete property editor for Umbraco 8+ diff --git a/Our.Umbraco.GMaps/wwwroot/js/maps.factory.js b/Our.Umbraco.GMaps/wwwroot/js/maps.factory.js index 5627ef0..7326cfb 100644 --- a/Our.Umbraco.GMaps/wwwroot/js/maps.factory.js +++ b/Our.Umbraco.GMaps/wwwroot/js/maps.factory.js @@ -10,7 +10,7 @@ return { initialize: function (apiKey) { - var url = 'https://maps.googleapis.com/maps/api/js?key=' + apiKey + '&libraries=places&libraries=marker&callback=googleMapsInitialized&v=weekly'; + var url = 'https://maps.googleapis.com/maps/api/js?key=' + apiKey + '&libraries=places,marker&callback=googleMapsInitialized&v=weekly'; if (!scriptExists(url)) { var script = document.createElement('script'); script.async = true;