private void Button_Click(object sender, RoutedEventArgs e)
        {
            // Provide map tool behaviour, for example, add mouse handling to the Map,
            // or install a custom toolbar using MapWidget.SetToolbar

            if ((MapWidget != null) && (MapWidget.Map != null))
            {
                _ergChemicalToolbar = new ERGChemicalMapToolbar(MapWidget, ERGChemicalURL, ERGPlacardURL, FindNearestWSURL,
                                                                WindDirectionLayerDataSource, WindDirectionFieldName, WindWeatherStationFieldName, WindRecordedDateFieldName, DefaultERGChemicalName, DefaultPlacardName);

                MapWidget.SetToolbar(_ergChemicalToolbar);
            }
            // Set the Checked property of the ToggleButton to false after work is complete.
            ToggleButton.IsChecked = false;
        }
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            // Provide map tool behaviour, for example, add mouse handling to the Map, 
            // or install a custom toolbar using MapWidget.SetToolbar

            if ((MapWidget != null) && (MapWidget.Map != null))
            {
                _ergChemicalToolbar = new ERGChemicalMapToolbar(MapWidget, ERGChemicalURL, ERGPlacardURL, FindNearestWSURL,
                    WindDirectionLayerDataSource, WindDirectionFieldName, WindWeatherStationFieldName, WindRecordedDateFieldName, DefaultERGChemicalName, DefaultPlacardName);
                
                MapWidget.SetToolbar(_ergChemicalToolbar);
            }
            // Set the Checked property of the ToggleButton to false after work is complete.
            ToggleButton.IsChecked = false;
        }