protected Web.Wms.Capabilities.WmsServiceDescription GetDescription(string url) { var description = new Web.Wms.Capabilities.WmsServiceDescription("Acme Corp. Map Server", url); description.MaxWidth = 500; description.MaxHeight = 500; description.Abstract = "Map Server maintained by Acme Corporation. Contact: [email protected]. High-quality maps showing roadrunner nests and possible ambush locations."; description.Keywords = new[] { "bird", "roadrunner", "ambush" }; description.ContactInformation.PersonPrimary.Person = "John Doe"; description.ContactInformation.PersonPrimary.Organisation = "Acme Inc"; description.ContactInformation.Address.AddressType = "postal"; description.ContactInformation.Address.Country = "Neverland"; description.ContactInformation.VoiceTelephone = "1-800-WE DO MAPS"; return description; }
protected Web.Wms.Capabilities.WmsServiceDescription GetDescription(string url) { var description = new Web.Wms.Capabilities.WmsServiceDescription("Acme Corp. Map Server", url); description.MaxWidth = 500; description.MaxHeight = 500; description.Abstract = "Map Server maintained by Acme Corporation. Contact: [email protected]. High-quality maps showing roadrunner nests and possible ambush locations."; description.Keywords = new[] { "bird", "roadrunner", "ambush" }; description.ContactInformation.PersonPrimary.Person = "John Doe"; description.ContactInformation.PersonPrimary.Organisation = "Acme Inc"; description.ContactInformation.Address.AddressType = "postal"; description.ContactInformation.Address.Country = "Neverland"; description.ContactInformation.VoiceTelephone = "1-800-WE DO MAPS"; return(description); }