Skip to content

Commit

Permalink
Merge branch 'main' into tile-pois
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Sep 20, 2024
2 parents 17e906f + 8ffcfca commit 52c038a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $control-border: 4px;
$container-height-small-screen: 130px;
$container-height: 200px;
$container-height-expanded: 300px;
$button-height: 36px;
$button-size: 36px;
$buttons-margin: 5px;

.chart-control-container {
Expand All @@ -13,7 +13,7 @@ $buttons-margin: 5px;
}

.chart-control-container.expanded {
width: calc(100vw - #{$control-border});
width: calc(100vw - #{$control-border} - #{$button-size} - 2 * #{$buttons-margin});
height: $container-height-expanded;
}

Expand Down Expand Up @@ -71,12 +71,12 @@ $buttons-margin: 5px;
}

.chart-expand-button {
top: calc(#{$buttons-margin} + #{$button-height});
top: calc(#{$buttons-margin} + #{$button-size});
left: $buttons-margin;
}

.chart-more-button {
top: calc(#{$buttons-margin} + 2 * #{$button-height});
top: calc(#{$buttons-margin} + 2 * #{$button-size});
left: $buttons-margin;
}

Expand All @@ -86,7 +86,7 @@ $buttons-margin: 5px;
}

.chart-table-button {
bottom: calc(#{$buttons-margin} + #{$button-height});
bottom: calc(#{$buttons-margin} + #{$button-size});
right: $buttons-margin;
}

Expand Down Expand Up @@ -118,7 +118,7 @@ $buttons-margin: 5px;
}

.chart-more-button {
top: calc(#{$buttons-margin} + #{$button-height});
top: calc(#{$buttons-margin} + #{$button-size});
left: $buttons-margin;
}
}
3 changes: 2 additions & 1 deletion IsraelHiking.Web/src/application/services/spatial.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@ export class SpatialService {
public static isJammingTarget(latlng: LatLngAlt): boolean {
const position = SpatialService.toCoordinate(latlng);
return SpatialService.insideBbox(position, [35.48, 33.811, 35.50, 33.823]) ||
SpatialService.insideBbox(position, [31.350, 30.0817, 31.355, 30.0860]);
SpatialService.insideBbox(position, [31.350, 30.0817, 31.355, 30.0860]) ||
SpatialService.insideBbox(position, [35.98, 31.70, 36.02, 31.73]);
}

private static canBeMreged(line1: GeoJSON.Position[], line2: GeoJSON.Position[]): "start-start" | "start-end" | "end-start" | "end-end" | null {
Expand Down

0 comments on commit 52c038a

Please sign in to comment.