You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-15Lines changed: 16 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,8 @@ Modify your view by adding the `xmlns:maps="nativescript-google-maps-sdk"` names
129
129
markerEndDragging="onMarkerEndDragging"
130
130
markerDrag="onMarkerDrag"
131
131
cameraChanged="onCameraChanged"
132
-
cameraMove="onCameraMove" />
132
+
cameraMove="onCameraMove"
133
+
/>
133
134
</GridLayout>
134
135
</Page>
135
136
```
@@ -192,7 +193,7 @@ Use `gMap.setStyle(style);` to set the map's styling ([Google Maps Style Referen
192
193
193
194
### Angular
194
195
195
-
Use `this.mapView.setStyle(<Style>JSON.parse(this.styles));` inside of the `onMapReady`function. In this example `this.mapView` is the imported `MapView`from the plugin and `this.styles` is a reference to a json file that was created using the link below. The `<Style>`was also imported from the plugin as `{ Style }`.
196
+
Use `this.mapView.setStyle(<Style>JSON.parse(this.styles));` inside of the `onMapReady`event handler. In this example,`this.mapView` is the `MapView`object and `this.styles` is a reference to a JSON file that was created using the [Styling Wizard](https://mapstyle.withgoogle.com/). The `<Style>`type was imported from the plugin as `{ Style }`.
196
197
197
198
## Basic Example
198
199
@@ -202,22 +203,22 @@ Use `this.mapView.setStyle(<Style>JSON.parse(this.styles));` inside of the `onMa
202
203
var mapsModule = require("nativescript-google-maps-sdk");
0 commit comments