Fixed map (pair programming)
[u/erikhf/frm.git] / src / components / map / map.ts
CommitLineData
28765058 1import {Component, CORE_DIRECTIVES} from 'angular2/angular2';
cb2c4ba8 2
1e6ce2f5 3
cb2c4ba8 4@Component({
28765058 5 selector: 'mou-map',
cb2c4ba8 6 directives: [CORE_DIRECTIVES],
28765058 7 templateUrl: './components/map/map.html'
cb2c4ba8
JHR
8})
9
10
28765058 11export class Map {
1e6ce2f5
EHF
12 constructor(){
13 this.initMap();
14 }
15
16 initMap(){
17 let map = new google.maps.Map(document.getElementById("map"),
18 {center:{lat:59,lng:11},zoom:12});
cb2c4ba8 19 }
28765058 20
cb2c4ba8 21}