From 4547720f0e82f117449f4f6d74a51d921b4d5b98 Mon Sep 17 00:00:00 2001 From: ztimson Date: Tue, 27 Aug 2019 20:23:47 -0400 Subject: [PATCH] Fixed icons --- angular.json | 1 + src/app/components/toolbar/toolbar.component.html | 8 ++++---- src/app/views/map/map.component.ts | 8 +++----- src/styles.scss | 3 --- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/angular.json b/angular.json index cbda95a..cae97f0 100644 --- a/angular.json +++ b/angular.json @@ -28,6 +28,7 @@ "src/manifest.webmanifest" ], "styles": [ + "./node_modules/bootstrap-scss/bootstrap.scss", "./node_modules/leaflet/dist/leaflet.css", "src/material-theme.scss", "src/styles.scss" diff --git a/src/app/components/toolbar/toolbar.component.html b/src/app/components/toolbar/toolbar.component.html index 67730f2..78e0264 100644 --- a/src/app/components/toolbar/toolbar.component.html +++ b/src/app/components/toolbar/toolbar.component.html @@ -25,17 +25,17 @@ @@ -45,7 +45,7 @@ diff --git a/src/app/views/map/map.component.ts b/src/app/views/map/map.component.ts index 19d3ed7..d9cd863 100644 --- a/src/app/views/map/map.component.ts +++ b/src/app/views/map/map.component.ts @@ -7,11 +7,9 @@ import {ToolbarItem} from "../../models/toolbarItem"; import {flyInRight, flyOutRight} from "../../animations"; import {ARROW, MapLayers, MapService, MEASURE, WeatherLayers} from "../../services/map.service"; import {Subscription} from "rxjs"; -import {MarkerComponent} from "../../components/marker/marker.component"; import {MatBottomSheetRef} from "@angular/material/bottom-sheet"; import {copyToClipboard} from "../../utils"; import {ActivatedRoute} from "@angular/router"; -import {CircleComponent} from "../../components/circle/circle.component"; declare const L; @@ -37,9 +35,9 @@ export class MapComponent implements OnInit { menu: ToolbarItem[] = [ {name: 'Marker', icon: 'room', toggle: true, click: () => { this.addMarker(); }}, {name: 'Draw', icon: 'create', toggle: true, onEnabled: () => this.startDrawing(), onDisabled: () => this.stopDrawing()}, - {name: 'Circle', faicon: 'far fa-circle', toggle: true, click: () => { this.addCircle(); }}, - {name: 'Square', faicon: 'far fa-square', toggle: true}, - {name: 'Polygon', faicon: 'fas fa-draw-polygon', toggle: true}, + {name: 'Circle', icon: 'panorama_fish_eye', toggle: true, click: () => { this.addCircle(); }}, + {name: 'Square', icon: 'crop_square', toggle: true}, + {name: 'Polygon', icon: 'details', toggle: true}, {name: 'Measure', icon: 'straighten', toggle: true, onEnabled: () => this.startMeasuring(), onDisabled: () => this.stopMeasuring()}, {name: 'Delete', icon: 'delete', toggle: true}, {name: 'Map Style', icon: 'terrain', subMenu: [ diff --git a/src/styles.scss b/src/styles.scss index 528e254..0b0240e 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -1,6 +1,3 @@ -@import url('https://use.fontawesome.com/releases/v5.8.1/css/all.css'); -@import '~bootstrap-scss/bootstrap.scss'; - :focus { outline: none !important; }