Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Ribiere committed Mar 25, 2024
2 parents d47ffae + fdf045e commit d45b36a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/classes/BaseMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ export class BaseMap {

public initMap (): void {
const bounds = [
[-11.645509, 29.979384],
[37.397460, 46.331957]
[-13.218747, 23.570882],
[36.527347, 46.194746]
] as LngLatBoundsLike
this.map = new Map({
accessToken: "pk.eyJ1Ijoid2VzbGV5YmFuZmllbGQiLCJhIjoiY2pmMDRwb202MGlzNDJ3bm44cHA3YXZiNCJ9.b2yOf2vbWnWiV7mlsFAywg",
Expand Down Expand Up @@ -344,7 +344,7 @@ export class BaseMap {
}

private add12MilesLayers () {
this.map.addLayer({ id: "zone12miles", type: "line", source: "zone12Miles", layout: {}, paint: { "line-color": "#F03E1B", "line-width": 2, "line-dasharray": [3, 3] } })
this.map.addLayer({ id: "zone12miles", type: "line", source: "zone12Miles", layout: {}, paint: { "line-color": "#F03E1B", "line-width": 1, "line-dasharray": [1, 2] } })
}

/// /////// PRIVATE METHODS TO UPDATE LAYERS VISIBILITY AND SOURCES CONTENT \\\\\\\
Expand Down
4 changes: 3 additions & 1 deletion src/components/KeyNumbers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export default defineComponent({

<style scoped>
.position-desktop {
align-items: center;
top: 3rem;
right: 3%;
right: 20px;
width: 22vw;
}
</style>
1 change: 1 addition & 0 deletions src/components/Stats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,6 @@ function removeInformationTooltip () {
.position-desktop {
top: 3rem;
margin-left: 3%;
width: 23vw;
}
</style>

0 comments on commit d45b36a

Please sign in to comment.