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