We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d21644f commit 327bda4Copy full SHA for 327bda4
README.md
@@ -124,20 +124,22 @@ exports.onCameraChanged = onCameraChanged;
124
## Angular
125
126
```
127
+// /app/map-example.component.ts
128
+
129
import {Component, ElementRef, ViewChild} from '@angular/core';
130
import {registerElement} from "nativescript-angular/element-registry";
131
132
registerElement("MapView", () => require("nativescript-google-maps-sdk").MapView);
133
134
@Component({
- selector: 'google-maps-example',
135
+ selector: 'map-example-component',
136
template: `
137
<GridLayout>
138
<MapView (mapReady)="onMapReady($event)"></MapView>
139
</GridLayout>
140
`
141
})
-export class GoogleMapsExample {
142
+export class MapExampleComponent {
143
144
@ViewChild("MapView") mapView: ElementRef;
145
0 commit comments