- first code with simple leaflet map
This commit is contained in:
parent
e9138a4c08
commit
2f048c1c0f
25 changed files with 19565 additions and 2 deletions
22
src/app/app.component.ts
Normal file
22
src/app/app.component.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
import { Component, VERSION } from "@angular/core";
|
||||
import '../styles.css';
|
||||
import '../../node_modules/leaflet/dist/leaflet.css';
|
||||
|
||||
@Component({
|
||||
selector: "app-component",
|
||||
templateUrl: "./app.component.html",
|
||||
styleUrls: ["./app.component.css"]
|
||||
// template: `
|
||||
// <div>
|
||||
// <h1>{{name}}</h1>
|
||||
// <div>The number: {{x}}</div>
|
||||
// </div>
|
||||
// `,
|
||||
// styleUrls: ['./app.component.css']
|
||||
})
|
||||
export class AppComponent {
|
||||
constructor() {}
|
||||
|
||||
private name = 'Angular test ' + VERSION.major;
|
||||
x: number = 123;
|
||||
}
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue