Skip to content

Commit dc04de6

Browse files
author
Finn Gutteridge
committed
fix(all): update demo to NS v6.2; demo template cleanup
1 parent 6a80f82 commit dc04de6

File tree

7 files changed

+4049
-353
lines changed

7 files changed

+4049
-353
lines changed

demo/app/main-page.xml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
<Page xmlns="http://www.nativescript.org/tns.xsd" xmlns:maps="nativescript-google-maps-sdk" loaded="pageLoaded">
22
<GridLayout>
3-
<maps:mapView latitude="{{ latitude }}" longitude="{{ longitude }}"
4-
zoom="{{ zoom }}" minZoom="{{ minZoom }}" maxZoom="{{ maxZoom }}" bearing="{{ bearing }}" mapAnimationsEnabled="{{ mapAnimationsEnabled }}"
5-
tilt="{{ tilt }}" i-padding="50,50,50,50" padding="{{ padding }}" mapReady="onMapReady"
6-
markerSelect="onMarkerEvent" markerBeginDragging="onMarkerEvent"
7-
markerEndDragging="onMarkerEvent" markerDrag="onMarkerEvent"
8-
markerInfoWindowTapped="onMarkerEvent" markerInfoWindowClosed="onMarkerEvent"
9-
coordinateTapped="onCoordinateTapped"
10-
cameraChanged="onCameraChanged"
11-
indoorBuildingFocused="onIndoorBuildingFocused"
12-
indoorLevelActivated="onIndoorLevelActivated"
13-
cameraMove="onCameraMove">
3+
<maps:mapView
4+
latitude="{{ latitude }}" longitude="{{ longitude }}"
5+
zoom="{{ zoom }}" minZoom="{{ minZoom }}" maxZoom="{{ maxZoom }}"
6+
tilt="{{ tilt }}" bearing="{{ bearing }}"
7+
mapAnimationsEnabled="{{ mapAnimationsEnabled }}"
8+
i-padding="50,50,50,50" padding="{{ padding }}"
9+
mapReady="onMapReady"
10+
coordinateTapped="onCoordinateTapped"
11+
markerSelect="onMarkerEvent"
12+
markerBeginDragging="onMarkerEvent" markerEndDragging="onMarkerEvent" markerDrag="onMarkerEvent"
13+
markerInfoWindowTapped="onMarkerEvent" markerInfoWindowClosed="onMarkerEvent"
14+
cameraChanged="onCameraChanged"
15+
cameraMove="onCameraMove"
16+
indoorBuildingFocused="onIndoorBuildingFocused"
17+
indoorLevelActivated="onIndoorLevelActivated"
18+
>
1419
<maps:mapView.infoWindowTemplate>
1520
<StackLayout orientation="vertical" width="200" height="150" >
1621
<Label text="{{title}}" className="title" width="125" />

demo/app/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
},
2424
"homepage": "https://github.com/NativeScript/template-hello-world",
2525
"android": {
26-
"v8Flags": "--expose_gc"
26+
"v8Flags": "--expose_gc",
27+
"markingMode": "none"
2728
}
2829
}

0 commit comments

Comments
 (0)