public ParkingMeter(Usoniandream.WindowsPhone.LocationServices.Models.JSON.Stockholm.ParkingMeters.Feature item)
        {
            SWEREF99 swerefpos = new SWEREF99(item.geometry.coordinates[0], item.geometry.coordinates[1], SWEREF99.SWEREFProjection.sweref_99_18_00);
            WGS84 pos = swerefpos.ToWGS84();
            GeoCoordinate coords = new GeoCoordinate(pos.Latitude, pos.Longitude);


            Status = item.properties.DESC2;
            Content = item.properties.DESC3.Trim();

            if (!String.IsNullOrEmpty(item.properties.DESC4))
            {
                AcceptsCoins = Boolean.Parse(item.properties.DESC4);
            }
            if (!String.IsNullOrEmpty(item.properties.DESC5))
            {
                AcceptsCards = Boolean.Parse(item.properties.DESC5);
            }
            if (!String.IsNullOrEmpty(item.properties.DESC6))
            {
                ResidentButton = Boolean.Parse(item.properties.DESC6);
            }
            CoinFlavours = item.properties.DESC8;
            Location = coords;

        }
        public ParkingLocationsByRadius(int radius, Usoniandream.WindowsPhone.LocationServices.Models.Enums.Stockholm.VehicleTypeEnum vehicletype)
            : base(vehicletype)
        {
            Radius = radius;

            Request.Resource += "within?";
            
            Request.AddParameter("radius", Radius);
            Request.AddParameter("lat", Location.Latitude.ToString().Replace(",", "."));
            Request.AddParameter("lng",Location.Longitude.ToString().Replace(",", "."));
        }
 public ParkingLocationsByStreet(string address, Usoniandream.WindowsPhone.LocationServices.Models.Enums.Stockholm.VehicleTypeEnum vehicletype)
     : base(vehicletype)
 {
     Request.Resource += "street/" + address;
     Request.AddParameter("srsname", "EPSG:3426");
 }