Skip to content

Commit

Permalink
Fix google map api library registration
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjf committed Dec 15, 2024
1 parent beb3a27 commit 0f70f47
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
dotnet-version: ['7.x']
dotnet-version: ['8.x']

steps:

Expand Down
2 changes: 1 addition & 1 deletion Our.Umbraco.GMaps.Core/Our.Umbraco.GMaps.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>

<Version>3.0.3</Version>
<Version>3.0.4</Version>
<Authors>Arnold Visser</Authors>
<Company>Arnold Visser</Company>
<Description>Basic Google Maps with autocomplete property editor for Umbraco 8+. This package contains the Core DLL only.</Description>
Expand Down
2 changes: 1 addition & 1 deletion Our.Umbraco.GMaps/Our.Umbraco.GMaps.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<IncludeBuildOutput>false</IncludeBuildOutput>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>

<Version>3.0.3</Version>
<Version>3.0.4</Version>
<Authors>Arnold Visser</Authors>
<Company>Arnold Visser</Company>
<Description>Basic Google Maps with autocomplete property editor for Umbraco 8+</Description>
Expand Down
2 changes: 1 addition & 1 deletion Our.Umbraco.GMaps/wwwroot/js/maps.factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0f70f47

Please sign in to comment.