From 072200b4150d74d26bf8f507ada69e5a5973afc9 Mon Sep 17 00:00:00 2001 From: ztimson Date: Mon, 22 Jul 2019 13:07:05 -0400 Subject: [PATCH] Hide all pois --- src/app/views/map/map.component.html | 2 +- src/app/views/map/map.component.ts | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/app/views/map/map.component.html b/src/app/views/map/map.component.html index 43249f0..5d57b47 100644 --- a/src/app/views/map/map.component.html +++ b/src/app/views/map/map.component.html @@ -1,5 +1,5 @@ - + diff --git a/src/app/views/map/map.component.ts b/src/app/views/map/map.component.ts index e0bfaed..be11d66 100644 --- a/src/app/views/map/map.component.ts +++ b/src/app/views/map/map.component.ts @@ -21,6 +21,13 @@ export class MapComponent { drawListener = []; mapApi: any; mapClick = new BehaviorSubject(null); + mapStyle = [{ + "featureType": "poi", + "elementType": "labels", + "stylers": [{ + "visibility": "off" + }] + }]; position: any; showPalette = false; style = 'terrain';