public VesselGeoPosition ProcessMessage(PositionReport positionReport)
 {
     return(new VesselGeoPosition(positionReport, NGeoHashAlgorithm.Default));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VesselGeoPosition"/> class.
 /// </summary>
 public VesselGeoPosition(PositionReport position, IGeoHashAlgorithm geoHasher)
     : this(position.ObjectId, position.Source, position.Longitude, position.Latitude, position.Timestamp, geoHasher)
 {
 }