Skip to content

Commit

Permalink
fix(all): update demo to NS v6.2; demo template cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Finn Gutteridge committed Jan 5, 2020
1 parent 6a80f82 commit dc04de6
Show file tree
Hide file tree
Showing 7 changed files with 4,049 additions and 353 deletions.
27 changes: 16 additions & 11 deletions demo/app/main-page.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
<Page xmlns="http://www.nativescript.org/tns.xsd" xmlns:maps="nativescript-google-maps-sdk" loaded="pageLoaded">
<GridLayout>
<maps:mapView latitude="{{ latitude }}" longitude="{{ longitude }}"
zoom="{{ zoom }}" minZoom="{{ minZoom }}" maxZoom="{{ maxZoom }}" bearing="{{ bearing }}" mapAnimationsEnabled="{{ mapAnimationsEnabled }}"
tilt="{{ tilt }}" i-padding="50,50,50,50" padding="{{ padding }}" mapReady="onMapReady"
markerSelect="onMarkerEvent" markerBeginDragging="onMarkerEvent"
markerEndDragging="onMarkerEvent" markerDrag="onMarkerEvent"
markerInfoWindowTapped="onMarkerEvent" markerInfoWindowClosed="onMarkerEvent"
coordinateTapped="onCoordinateTapped"
cameraChanged="onCameraChanged"
indoorBuildingFocused="onIndoorBuildingFocused"
indoorLevelActivated="onIndoorLevelActivated"
cameraMove="onCameraMove">
<maps:mapView
latitude="{{ latitude }}" longitude="{{ longitude }}"
zoom="{{ zoom }}" minZoom="{{ minZoom }}" maxZoom="{{ maxZoom }}"
tilt="{{ tilt }}" bearing="{{ bearing }}"
mapAnimationsEnabled="{{ mapAnimationsEnabled }}"
i-padding="50,50,50,50" padding="{{ padding }}"
mapReady="onMapReady"
coordinateTapped="onCoordinateTapped"
markerSelect="onMarkerEvent"
markerBeginDragging="onMarkerEvent" markerEndDragging="onMarkerEvent" markerDrag="onMarkerEvent"
markerInfoWindowTapped="onMarkerEvent" markerInfoWindowClosed="onMarkerEvent"
cameraChanged="onCameraChanged"
cameraMove="onCameraMove"
indoorBuildingFocused="onIndoorBuildingFocused"
indoorLevelActivated="onIndoorLevelActivated"
>
<maps:mapView.infoWindowTemplate>
<StackLayout orientation="vertical" width="200" height="150" >
<Label text="{{title}}" className="title" width="125" />
Expand Down
3 changes: 2 additions & 1 deletion demo/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"homepage": "https://github.com/NativeScript/template-hello-world",
"android": {
"v8Flags": "--expose_gc"
"v8Flags": "--expose_gc",
"markingMode": "none"
}
}
Loading

0 comments on commit dc04de6

Please sign in to comment.