ng2-map
Version:
Angular2 Google Map`
19 lines (17 loc) • 410 B
text/typescript
import { Component } from '@angular/core';
let templateStr = `
<h1>Bicycling Layer</h1>
<ng2-map zoom="14" center="42.3726399, -71.1096528">
<bicycling-layer></bicycling-layer>
</ng2-map>
<code>
<br/><b>HTML</b>
<pre>{{templateStr | htmlCode:'-code'}}</pre>
</code>
`;
@Component({
template: templateStr
})
export class BicyclingLayerComponent {
templateStr: string = templateStr;
}