Ejemplo n.º 1
0
 /// <summary>
 /// Converts a ILocationModel into a GeoPoint object.
 /// </summary>
 /// <param name="loc">ILocationModel to convert to Geopoint.</param>
 /// <returns>Geopoint instance representing this ILocationModel.</returns>
 public static Geopoint AsGeoPoint(this ILocationModel loc)
 {
     return(new Geopoint(loc.AsBasicGeoposition()));
 }