0
나는이 같은지도에 foreach 루프와 압정을 추가하고 :빙지도에 여러 줄의 텍스트를 표시하는 방법은 무엇입니까?
내 클래스는 다음과 같습니다Pushpin p = new Pushpin() { Location = new Microsoft.Maps.MapControl.WPF.Location { Latitude = n.latitude, Longitude = n.longtitude} };
: 나는 그것을, 그래서 압정에 주소 클래스에서 다른 데이터를 추가하려면 어떻게
public class Address
{
public int ID { get; set; }
public string companyName { get; set; }
public string address { get; set; }
public string street { get; set; }
public string houseNumber { get; set; }
public double longtitude { get; set; }
public double latitude { get; set; }
}
을 이런 식으로 보일까요? Pushpin
압정은 ContentControl이므로 적절한 ContentTemplate을 설정할 수 있습니다. – Clemens