コード例 #1
0
 public TrackPoint(
     GeographicLocation location,
     DateTime datetime,
     PlatformEnum platform,
     string provider,
     bool isFromMockProvider,
     double?altitude           = null,
     int?buildingFloor         = null,
     double?speed              = null,
     double?bearing            = null,
     double?horizontalAccuracy = null,
     double?verticalAccuracy   = null
     ) : this()
 {
     _location           = location;
     _dateTimeStamp      = datetime;
     _platform           = platform;
     _isFromMockProvider = isFromMockProvider;
     _provider           = provider;
     _altitude           = altitude;
     _buildingFloor      = buildingFloor;
     _speed              = speed;
     _bearing            = bearing;
     _horizontalAccuracy = horizontalAccuracy;
     _verticalAccuracy   = verticalAccuracy;
 }
コード例 #2
0
 public TrackPoint(TrackPointGpx gpx) : this()
 {
     _location           = gpx.GeoCoord;
     _dateTimeStamp      = gpx.Time.DateTimeUtc;
     _platform           = PlatformEnum.Suunto;
     _provider           = "Suunto Ambit 3 Peak (Dan's watch)";
     _isFromMockProvider = false;
 }