Exemplo n.º 1
0
        void SaveAllData()
        {
            // Store current countries information and frontiers data in string variables
            countryGeoData    = map.GetCountryGeoData();
            countryAttributes = map.GetCountriesAttributes();

            // Same for provinces. This wouldn't be neccesary if you are not using provinces in your app.
            provinceGeoData    = map.GetProvinceGeoData();
            provinceAttributes = map.GetProvincesAttributes();

            // Same for cities. This wouldn't be neccesary if you are not using cities in your app.
            cityGeoData    = map.GetCityGeoData();
            cityAttributes = map.GetCitiesAttributes();

            // Same for mount points. This wouldn't be neccesary if you are not using mount points in your app.
            mountPointGeoData    = map.GetMountPointsGeoData();
            mountPointAttributes = map.GetMountPointsAttributes();
        }