Пример #1
0
        internal List<String> getPlaceNameGeo(string ipaddress)
        {
            TwitterGeo geo = new TwitterGeo();
               Coordinate coord = new Coordinate();
               coord.Latitude = 123;
               coord.Longitude = 12321;
               List<string> placeNames = new List<string>();
               placeNames.Add(ipaddress);

               return placeNames;
        }
Пример #2
0
        internal List<String> getPlaceNameGeo(double latitude, double longitude)
        {
            TwitterGeo geo = new TwitterGeo();
            Coordinate coord = new Coordinate();
            coord.Latitude = 123;
            coord.Longitude = 12321;
            List<string> placeNames = new List<string>();
            placeNames.Add(coord.ToString());
            placeNames.Add(geo.ToString());

            return placeNames;
        }