updated icon

This commit is contained in:
ztimson 2019-07-09 11:55:53 -04:00
parent acb2c660bc
commit 5fd3efea25
4 changed files with 5 additions and 6 deletions

View File

@ -24,7 +24,6 @@
"tsConfig": "tsconfig.app.json",
"aot": false,
"assets": [
"src/favicon.ico",
"src/assets",
"src/manifest.webmanifest"
],
@ -84,4 +83,4 @@
}
},
"defaultProject": "MapAlliance"
}
}

View File

@ -1,5 +1,5 @@
<mat-toolbar>
<img src="/assets/icons/icon-72x72.png" height="35px" width="auto"> <small class="ml-2 text-muted">{{version}}</small>
<img src="/assets/images/logo.png" height="35px" width="auto"> <small class="ml-2 text-muted">{{version}}</small>
<div class="ml-auto">
<button mat-icon-button><mat-icon>room</mat-icon></button> <!-- Add Marker -->
<button mat-icon-button><mat-icon>create</mat-icon></button> <!-- Create shape -->
@ -15,7 +15,7 @@
<button mat-icon-button><mat-icon>perm_identity</mat-icon></button>
</div>
</mat-toolbar>
<agm-map class="map" [mapTypeId]="style" [zoomControl]="false" [streetViewControl]="false" (mapReady)="mapReady($event)">
<agm-map class="map" [mapTypeId]="style" [zoomControl]="false" [streetViewControl]="false" (mapReady)="mapReady($event)" gestureHandling="greedy">
<ng-container *ngIf="position">
<agm-marker *ngIf="!position.heading" [markerClickable]="false" [latitude]="position.latitude" [longitude]="position.longitude" [iconUrl]="{url: '/assets/dot.png', anchor: {x: 11, y: 10}}"></agm-marker>
<agm-marker *ngIf="position.heading" [markerClickable]="false" [latitude]="position.latitude" [longitude]="position.longitude" [iconUrl]="{url: '/assets/arrow.png', anchor: {x: 11, y: 13}, rotation: position.heading}"></agm-marker>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -2,11 +2,11 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>MapAlliance</title>
<title>Map Alliance</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="icon" type="image/x-icon" href="/assets/images/logo.png">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="manifest" href="manifest.webmanifest">