resdy to merge
[u/erikhf/frm.git] / src / components / map / map.ts
CommitLineData
cb2c4ba8
JHR
1import {Component, CORE_DIRECTIVES} from '../../../node_modules/angular2/angular2.d.ts';
2
3@Component({
4 selector: 'map',
5 directives: [CORE_DIRECTIVES],
6 template: ` <div id="map"></div>`
7 //templateUrl: './map.html'
8
9
10})
11
12
13class Map {
14
15
16 initMap() {
17 let map = new google.maps.Map(document.getElementById('map'), {
18 center: {lat: -34.397, lng: 150.644},
19 zoom: 8
20 });
21
22 }
23}