Skip to content

Commit 1a12f25

Browse files
authored
update readme
1 parent 327bda4 commit 1a12f25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,15 @@ exports.onMarkerSelect = onMarkerSelect;
121121
exports.onCameraChanged = onCameraChanged;
122122
```
123123

124-
## Angular
124+
## Using with Angular
125125

126126
```
127127
// /app/map-example.component.ts
128128
129129
import {Component, ElementRef, ViewChild} from '@angular/core';
130130
import {registerElement} from "nativescript-angular/element-registry";
131131
132+
// Important - must register MapView plugin in order to use in Angular templates
132133
registerElement("MapView", () => require("nativescript-google-maps-sdk").MapView);
133134
134135
@Component({

0 commit comments

Comments
 (0)