void OnGetPoint(GetPointMessage pointMessage) { var coord = new CLLocationCoordinate2D(pointMessage.Pin.Position.Latitude, pointMessage.Pin.Position.Longitude); Task.Run(() => { pointMessage.OnGetPoint.Invoke(NativeMap.Projection.PointForCoordinate(coord).ToPoint()); }); }
void SendGetPoint(GetPointMessage message) { OnGetPoint?.Invoke(message); }