private static string GetImagerySet(BingMapsImageryStyle imageryStyle) { var imagerySet = "Road"; if (imageryStyle == BingMapsImageryStyle.StreetMapStyle) { imagerySet = "Road"; } else if (imageryStyle == BingMapsImageryStyle.SatelliteNoLabelsMapStyle) { imagerySet = "Aerial"; } else // if (imageryStyle == BingMapsImageryStyle.SatelliteMapStyle) { imagerySet = "AerialWithLabels"; } return(imagerySet); }
private void OnImageryStylePropertyChanged(BingMapsImageryStyle oldValue, BingMapsImageryStyle newValue) { this.Validate(); }