Skip to content

Commit

Permalink
Add support For Multiple colors for different features #274
Browse files Browse the repository at this point in the history
  • Loading branch information
valentasm committed Sep 9, 2023
1 parent 62aeabe commit 83e9b77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GoogleMapsComponents/GoogleMapsComponents.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<RazorLangVersion>3.0</RazorLangVersion>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
<PackageId>BlazorGoogleMaps</PackageId>
<Version>3.1.3</Version>
<Version>3.1.4</Version>
<Authors>Rungwiroon</Authors>
<Company>QueueStack Solution</Company>
<Product>BlazorGoogleMaps</Product>
Expand Down
3 changes: 2 additions & 1 deletion GoogleMapsComponents/wwwroot/js/objectManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,8 @@
var featureId = args[2].replace('"', "").replace('"', "");
var feature = mapObjects[featureId];
var data = mapObjects[args[0]];
data.overrideStyle(feature, args[3]);
var request = tryParseJson(args[3]);
data.overrideStyle(feature, request);
} catch (e) {
console.log(e);
}
Expand Down

0 comments on commit 83e9b77

Please sign in to comment.