parent
4c4d6b8bf3
commit
747f5a498c
@ -0,0 +1,23 @@
|
|||||||
|
import React, { Component } from 'react';
|
||||||
|
// import sharedStyles from './shared-styles';
|
||||||
|
// import {
|
||||||
|
// Platform,
|
||||||
|
// StyleSheet,
|
||||||
|
// Image,
|
||||||
|
// ListView,
|
||||||
|
// Text,
|
||||||
|
// ScrollView,
|
||||||
|
// TextInput,
|
||||||
|
// TouchableHighlight,
|
||||||
|
// View
|
||||||
|
// } from 'react-native';
|
||||||
|
|
||||||
|
export default class CapturedArea {
|
||||||
|
constructor(userID, coordinates, strokeColor, fillColor, area) {
|
||||||
|
this.userID = userID;
|
||||||
|
this.coordinates = coordinates;
|
||||||
|
this.strokeColor = strokeColor;
|
||||||
|
this.fillColor = fillColor;
|
||||||
|
this.area = area;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,35 @@
|
|||||||
|
import React, { Component } from 'react';
|
||||||
|
import sharedStyles from '../shared-styles';
|
||||||
|
import {
|
||||||
|
TouchableHighlight,
|
||||||
|
Platform,
|
||||||
|
StyleSheet,
|
||||||
|
Text,
|
||||||
|
View
|
||||||
|
} from 'react-native';
|
||||||
|
|
||||||
|
export default class NewButton extends Component {
|
||||||
|
constructor(props) {
|
||||||
|
super(props);
|
||||||
|
this.erase = this.props.erase;
|
||||||
|
this.state = { value: this.props.value};
|
||||||
|
}
|
||||||
|
|
||||||
|
formatValue() {
|
||||||
|
return this.state.value;
|
||||||
|
}
|
||||||
|
|
||||||
|
render() {
|
||||||
|
return (
|
||||||
|
<View style ={[sharedStyles.runInfoWrapper, {flex: 1}]}>
|
||||||
|
<TouchableHighlight
|
||||||
|
onPress= {() => this.erase()}
|
||||||
|
// style={sharedStyles.new}
|
||||||
|
>
|
||||||
|
<Text style={{fontSize: 25, textAlign: 'center'}}>New</Text>
|
||||||
|
</TouchableHighlight>
|
||||||
|
</View>
|
||||||
|
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,59 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<gpx version="1.1" creator="gpxgenerator.com">
|
||||||
|
<wpt lat="-43.56034430559162" lon="172.56487963850645">
|
||||||
|
<ele>20.00</ele>
|
||||||
|
<time>2018-09-29T00:14:32Z</time>
|
||||||
|
</wpt>
|
||||||
|
<wpt lat="-43.560389009756214" lon="172.5645457034841">
|
||||||
|
<ele>20.00</ele>
|
||||||
|
<time>2018-09-29T00:14:38Z</time>
|
||||||
|
</wpt>
|
||||||
|
<wpt lat="-43.56057462886744" lon="172.56421847398428">
|
||||||
|
<ele>20.00</ele>
|
||||||
|
<time>2018-09-29T00:14:46Z</time>
|
||||||
|
</wpt>
|
||||||
|
<wpt lat="-43.56077482475481" lon="172.56412727887778">
|
||||||
|
<ele>20.00</ele>
|
||||||
|
<time>2018-09-29T00:14:51Z</time>
|
||||||
|
</wpt>
|
||||||
|
<wpt lat="-43.560938196226466" lon="172.56437502082076">
|
||||||
|
<ele>20.00</ele>
|
||||||
|
<time>2018-09-29T00:14:57Z</time>
|
||||||
|
</wpt>
|
||||||
|
<wpt lat="-43.561183094481144" lon="172.5645091312715">
|
||||||
|
<ele>20.00</ele>
|
||||||
|
<time>2018-09-29T00:15:04Z</time>
|
||||||
|
</wpt>
|
||||||
|
<wpt lat="-43.56154822035659" lon="172.5645983288913">
|
||||||
|
<ele>20.00</ele>
|
||||||
|
<time>2018-09-29T00:15:14Z</time>
|
||||||
|
</wpt>
|
||||||
|
<wpt lat="-43.56176590553912" lon="172.56466806632568">
|
||||||
|
<ele>20.00</ele>
|
||||||
|
<time>2018-09-29T00:15:20Z</time>
|
||||||
|
</wpt>
|
||||||
|
<wpt lat="-43.56199330797017" lon="172.56471098166992">
|
||||||
|
<ele>20.00</ele>
|
||||||
|
<time>2018-09-29T00:15:26Z</time>
|
||||||
|
</wpt>
|
||||||
|
<wpt lat="-43.56214685271595" lon="172.56482095223953">
|
||||||
|
<ele>20.00</ele>
|
||||||
|
<time>2018-09-29T00:15:30Z</time>
|
||||||
|
</wpt>
|
||||||
|
<wpt lat="-43.562273186707" lon="172.56501675349762">
|
||||||
|
<ele>19.00</ele>
|
||||||
|
<time>2018-09-29T00:15:35Z</time>
|
||||||
|
</wpt>
|
||||||
|
<wpt lat="-43.56249281286084" lon="172.56543786031295">
|
||||||
|
<ele>19.00</ele>
|
||||||
|
<time>2018-09-29T00:15:45Z</time>
|
||||||
|
</wpt>
|
||||||
|
<wpt lat="-43.56234315618805" lon="172.56567657691528">
|
||||||
|
<ele>19.04</ele>
|
||||||
|
<time>2018-09-29T00:15:51Z</time>
|
||||||
|
</wpt>
|
||||||
|
<wpt lat="-43.56218766834203" lon="172.56602526408722">
|
||||||
|
<ele>20.00</ele>
|
||||||
|
<time>2018-09-29T00:15:59Z</time>
|
||||||
|
</wpt>
|
||||||
|
</gpx>
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue