Esempio n. 1
0
 public static IEnumerable <Point> ToPoints(this IEnumerable <Location> locations, MapView mapView)
 {
     return(locations.Select(location => mapView.LocationToViewportPoint(location)));
 }
Esempio n. 2
0
 public static IEnumerable <Location> ToLocations(this IEnumerable <Point> points, MapView mapView)
 {
     return(points.Select <Point, Location>(point => mapView.ViewportPointToLocation(point)));
 }