leaflet angular.json
This commit is contained in:
parent
096705ce65
commit
a5c8c37ebf
@ -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",
|
||||
|
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user