private async Task CreateFeatureLayer()
        {
            try
            {
                var gdbFeatureServiceTable = await GeodatabaseFeatureServiceTable.OpenAsync(
                    new Uri("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/EarthquakesFromLastSevenDays/FeatureServer/0"));

                mapView.Map.Layers.Add(new FeatureLayer(gdbFeatureServiceTable)
                {
                    ID = "featureLayer"
                });
            }
            catch (Exception ex)
            {
                Debug.WriteLine("Cannot initialize FeatureLayer: {0}", ex.ToString());
            }
        }
        /// <summary>
        /// Helper method to create individual FeatureLayers
        /// </summary>
        private async Task <FeatureLayer> CreateFeatureLayerAsync(string uri, string name, string displayName)
        {
            FeatureLayer layer = null;

            // Creates and initializes the layer
            var gdbFeatureServiceTable = await GeodatabaseFeatureServiceTable.OpenAsync(new Uri(uri));

            if (gdbFeatureServiceTable.IsInitialized)
            {
                layer = new FeatureLayer()
                {
                    ID           = name,
                    DisplayName  = displayName,
                    FeatureTable = gdbFeatureServiceTable
                };
            }

            return(layer);
        }