leaflet angular.json
This commit is contained in:
parent
096705ce65
commit
a5c8c37ebf
@ -24,6 +24,9 @@
|
|||||||
"src/assets"
|
"src/assets"
|
||||||
],
|
],
|
||||||
"styles": [
|
"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/styles.css",
|
||||||
"src/assets/vendors/css/bootstrap.min.css",
|
"src/assets/vendors/css/bootstrap.min.css",
|
||||||
"src/assets/css/style.css",
|
"src/assets/css/style.css",
|
||||||
|
@ -62,7 +62,7 @@ export class LocationComponent implements AfterViewInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fetchLocationData(): void {
|
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.locations = data.response;
|
||||||
this.addMarkers();
|
this.addMarkers();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user