Пример #1
0
        private async void Map_CameraIdle(object sender, EventArgs e)
        {
            var    position = map.CameraPosition.Target;
            string key      = Resources.GetString(Resource.String.mapkey);
            string address  = await MapHelpers.FindCordinateAddress(position, key);

            if (!string.IsNullOrEmpty(address))
            {
                placeTextView.Text = address;
            }
            else
            {
                placeTextView.Text = "Incotro?";
            }

            placeTextView.Text = address;
        }
Пример #2
0
        private async void Map_CameraIdle(object sender, System.EventArgs e)
        {
            if (directionDrawn)
            {
                return;
            }

            destinationPoint = map.CameraPosition.Target;
            string key     = Resources.GetString(Resource.String.mapkey);
            string address = await mapHelper.FindCordinateAddress(destinationPoint, key);

            if (!string.IsNullOrEmpty(address))
            {
                placeTextView.Text = address;
            }
            else
            {
                placeTextView.Text = "Where to?";
            }
        }