-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add coordinateur conseiller marker effect on hover and display …
…modal on click (#270) * feat: add coordinateur conseiller marker effect on hover and display modal on click * feat: no interaction with conseiller markers on low zoom level
- Loading branch information
1 parent
7214782
commit 21da81c
Showing
13 changed files
with
111 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...s/coordinateurs/components/conseiller-details-modal/conseiller-details-modal.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 16 additions & 5 deletions
21
src/features/coordinateurs/presenters/conseiller-on-map/conseiller-on-map.presentation.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
type ConseillerCoordinateur = { | ||
id: string; | ||
nom: string; | ||
}; | ||
type StructurePorteuse = { nom: string; adresse: string }; | ||
|
||
type LieuActivitePrincipal = { nom: string; adresse: string }; | ||
|
||
type LieuActiviteSecondaire = { id: string; nom: string; commune: string; codePostal: string }; | ||
|
||
export type ConseillerOnMapPresentation = { | ||
id: string; | ||
coordinateurs?: { | ||
id: string; | ||
nom: string; | ||
}[]; | ||
coordinateurs?: ConseillerCoordinateur[]; | ||
nom: string; | ||
telephone?: string; | ||
latitude: number; | ||
longitude: number; | ||
nom: string; | ||
structurePorteuse: StructurePorteuse; | ||
lieuActivitePrincipal: LieuActivitePrincipal; | ||
lieuActivite?: LieuActiviteSecondaire[]; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
.square-xs { | ||
width: $square-xs; | ||
height: $square-xs; | ||
} | ||
|
||
.square-sm { | ||
width: $square-sm; | ||
height: $square-sm; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
$marker-group-size: 85px; | ||
$marker-group-size-bg-hover: 110px; | ||
$marker-group-size-fg-hover: 74px; | ||
$marker-territoire-size: 85px; | ||
$marker-territoire-size-bg-hover: 110px; | ||
$marker-territoire-size-fg-hover: 74px; | ||
$marker-conseiller-size: 9px; | ||
$marker-conseiller-size-bg-hover: 24px; | ||
$marker-conseiller-size-fg-hover: 14px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
$square-xs: 6px; | ||
$square-sm: 16px; | ||
$square: 20px; | ||
$square-lg: 32px; |