- add code for quering sos api

This commit is contained in:
Arno Kaimbacher 2021-08-06 15:12:58 +02:00
commit 5740a5ddc3
11 changed files with 321 additions and 58 deletions

View file

@ -28,16 +28,16 @@ L.Marker.prototype.options.icon = L.icon({
// <div>The number: {{x}}</div>
// </div>
// `,
// styleUrls: ['./app.component.css']
})
export class AppComponent {
constructor() { }
name = 'Angular test ' + VERSION.major;
public name = 'Angular test ' + VERSION.major;
x: number = 123;
public providerUrl = 'https://geo.irceline.be/sos/api/v1/';
// public providerUrl = 'https://geo.irceline.be/sos/api/v2/';
public providerUrl = 'https://geomon.geologie.ac.at/52n-sos-webapp/api/';
public fitBounds: L.LatLngBoundsExpression = [[49.5, 3.27], [51.5, 5.67]];
// public zoomControlOptions: L.Control.ZoomOptions = { position: 'topleft' };
@ -56,4 +56,8 @@ export class AppComponent {
public onStationSelected(station: Station) {
console.log('Clicked station: ' + station.properties.label);
}
mapInitialized(newItem: string) {
// alert(newItem);
}
}