From a5c8c37ebf445f35c9b994eaf3b11856ae159da8 Mon Sep 17 00:00:00 2001 From: KarthiKeyanZ Date: Mon, 20 Nov 2023 16:16:50 +0530 Subject: [PATCH] leaflet angular.json --- angular.json | 3 +++ src/app/view/location/location.component.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/angular.json b/angular.json index 692be7d..047d645 100644 --- a/angular.json +++ b/angular.json @@ -24,6 +24,9 @@ "src/assets" ], "styles": [ + "node_modules/leaflet/dist/leaflet.css", + "node_modules/leaflet.markercluster/dist/MarkerCluster.css", + "node_modules/leaflet.markercluster/dist/MarkerCluster.Default.css", "src/styles.css", "src/assets/vendors/css/bootstrap.min.css", "src/assets/css/style.css", diff --git a/src/app/view/location/location.component.ts b/src/app/view/location/location.component.ts index 23921b8..9e7e080 100644 --- a/src/app/view/location/location.component.ts +++ b/src/app/view/location/location.component.ts @@ -62,7 +62,7 @@ export class LocationComponent implements AfterViewInit { } private fetchLocationData(): void { - this.http.get('https://explorer3.epic.tech/epic_explorer/v1/blockchain_block/v1/peers/all').subscribe((data: any) => { + this.http.get('https://explorer.epic.tech/epic_explorer/v1/blockchain_block/v1/peers/all').subscribe((data: any) => { this.locations = data.response; this.addMarkers(); });