add pages
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<div class="city-map">
|
||||
<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>
|
||||
<app-icon name="chevron-down" [size]="18" />
|
||||
</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>
|
||||
|
||||
@if (selected(); as landmark) {
|
||||
<div class="city-map__sheet">
|
||||
<app-map-item-sheet [landmark]="landmark" />
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
Reference in New Issue
Block a user