예제 #1
0
        public Geometry(ZipDataModel data)
        {
            coordinates.Add((JArray)JsonConvert.DeserializeObject(data.Geometry));
            var first = coordinates.First.First;

            ((JArray)coordinates.First).Add(first);
        }
예제 #2
0
 public Properties(ZipDataModel data)
 {
     ZipCode     = data.ZipCode.ToString();
     PrimaryCity = data.PrimaryCity;
     State       = data.State;
     County      = data.County;
     Timezone    = data.Timezone;
     Country     = data.Country;
     Latitude    = data.Latitude.ToString();
     Longitude   = data.Longitude.ToString();
 }