public PropertyViewModel()
 {
     Location = new AddressModel()
     {
         Address  = "301 15th Street, Hood River",
         Location = GeographyHelpers.CreatePoint(45.7120903, -121.5272902)
     };
 }
 public BeachViewModel()
 {
     // some sample change
     Location = new AddressModel()
     {
         Address  = "301 15th Street, Hood River",
         Location = GeographyHelpers.CreatePoint(45.7120903, -121.5272902)
     };
 }
Exemplo n.º 3
0
        public ActionResult GoogleMaps()
        {
            var model = new AddressModel
            {
                Address  = "301 15th Street, Hood River",
                Location = GeographyHelpers.CreatePoint(45.7120903, -121.5272902)
            };

            return(View(model));
        }