add mp with icons and update after review

This commit is contained in:
2026-10-05 13:05:36 +03:00
parent c17c97bd2b
commit 0e2bcf0380
69 changed files with 1907 additions and 813 deletions
+33 -18
View File
@@ -2,25 +2,40 @@
<div #map class="city-map__canvas"></div>
<div class="city-map__hud">
<button
class="city-map__chip"
type="button"
[attr.aria-label]="'Показать центр: ' + city.name"
(click)="focusCity()"
>
<app-icon name="pin" [size]="18" />
<span>{{ city.name }}</span>
</button>
@if (!embedded() && !fullscreen()) {
<button
class="city-map__chip"
type="button"
[attr.aria-label]="'Показать центр: ' + city.name"
(click)="focusCity()"
>
<app-icon name="pin" [size]="18" />
<span>{{ city.name }}</span>
</button>
}
<button
class="city-map__locate"
type="button"
[class.city-map__locate--active]="following()"
[attr.aria-label]="following() ? 'Остановить навигацию' : 'Моя геопозиция'"
(click)="locate()"
>
<app-icon name="my-location" [size]="22" />
</button>
<div class="city-map__tools">
@if (embedded()) {
<button
class="city-map__locate"
type="button"
[attr.aria-label]="fullscreen() ? 'Свернуть карту' : 'На весь экран'"
(click)="toggleFullscreen()"
>
<app-icon [name]="fullscreen() ? 'collapse' : 'expand'" [size]="22" />
</button>
}
<button
class="city-map__locate"
type="button"
[class.city-map__locate--active]="following()"
[attr.aria-label]="following() ? 'Остановить навигацию' : 'Моя геопозиция'"
(click)="locate()"
>
<app-icon name="my-location" [size]="22" />
</button>
</div>
</div>
@if (selected(); as landmark) {