Skip to content

Commit 2d0274d

Browse files
authored
Merge pull request #39 from Kromtec/develop
merge v1.1.2
2 parents bb4c4e4 + d93798c commit 2d0274d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

LegendsViewer.Backend/LegendsViewer.Backend.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<AssemblyName>LegendsViewer</AssemblyName>
8-
<Version>1.1.1.0</Version>
8+
<Version>1.1.2.0</Version>
99
<!-- Set the icon only for Windows builds -->
1010
<ApplicationIcon Condition="'$(RuntimeIdentifier)' == 'win-x64'">Resources/AppIcon.ico</ApplicationIcon>
1111
</PropertyGroup>

LegendsViewer.Frontend/legends-viewer-frontend/src/views/Map.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ const siteTypeMarkers: Record<SiteType, MarkerConfig> = {
7070
function createMarker(siteType: SiteType, siteColor: string | null | undefined, latlng: L.LatLngExpression): L.Layer {
7171
const config = siteTypeMarkers[siteType];
7272
const color = siteColor || "#666"
73-
const size = config.size || 3;
74-
switch (config.shape) {
73+
const size = config?.size ?? 3;
74+
switch (config?.shape) {
7575
case 'circle':
7676
return L.circle(latlng, { color: color, radius: size });
7777
case 'triangle':

0 commit comments

Comments
 (0)