private async void MainMap_LongTouch(object sender, MapLongTouchEventArgs e) { if (InspectionDataCache.IsReportStarted) { var fault = new Fault() { Latitude = e.Position.Latitude, Longitude = e.Position.Longitude }; selectedPinPopup = new PinPopupPage(fault, MainMap); if (selectedPinPopup != null) { await Navigation.PushPopupAsync(selectedPinPopup, true); } } }
protected virtual void OnMapLongTouch(MapLongTouchEventArgs e) { Tap?.Invoke(this, e); }