Beispiel #1
0
        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);
                }
            }
        }
Beispiel #2
0
 protected virtual void OnMapLongTouch(MapLongTouchEventArgs e)
 {
     Tap?.Invoke(this, e);
 }