Exemplo n.º 1
0
        private async Task ConfigureForCurrentConfiguration()
        {
            if (!EnableDefaultWorldGeocoder || _configureMapFlag)
            {
                return;
            }

            _configureMapFlag = true;

            try
            {
                await(SearchViewModel?.ConfigureDefaultWorldGeocoder() ?? Task.CompletedTask);
            }
            catch (Exception)
            {
                // Ignore
            }
            finally
            {
                _configureMapFlag = false;
            }
        }