Skip to content

Commit

Permalink
Merge pull request #83 from ArnoldV/develop
Browse files Browse the repository at this point in the history
2.0.4: Bug Fixes on the 2.0.x release
  • Loading branch information
robertjf authored Jan 3, 2022
2 parents ec8c3f9 + 23e5b82 commit 8a6e263
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
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>net5.0;net472</TargetFrameworks>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>

<Version>2.0.3</Version>
<Version>2.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
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ angular.module('umbraco').controller('GMapsMapsController', ['$scope', '$element
'route'
],
state: [
// Used when postal area is not the same as the other localities. Must be used for proper addresses.
"postal_town",
// administrative_area_level_1 indicates a first-order civil entity below the country level. Within the United States, these administrative levels are states.
// Not all nations exhibit these administrative levels.In most cases, administrative_area_level_1 short names will closely match ISO 3166-2 subdivisions and other widely circulated lists however this is not guaranteed as our geocoding results are based on a variety of signals and location data.
'administrative_area_level_1',
Expand Down Expand Up @@ -357,7 +359,7 @@ angular.module('umbraco').controller('GMapsMapsController', ['$scope', '$element
if ($scope.model.value.address.coordinates) {
$scope.address.coordinates = $scope.model.value.address.coordinates
enableSearchedCoordinates = true
} else if (vm.model.value.address.latlng) {
} else if ($scope.model.value.address.latlng) {
// Fall back to legacy field.
$scope.address.coordinates = parseCoordinates($scope.model.value.address.latlng)
enableSearchedCoordinates = true
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 @@ -6,7 +6,7 @@
<IncludeBuildOutput>false</IncludeBuildOutput>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>

<Version>2.0.3</Version>
<Version>2.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

0 comments on commit 8a6e263

Please sign in to comment.