プッシュピンにイベントハンドラーをアタッチしようとしています。誰か助けてもらえますか?これが私がこれまでに持っているものです:
' Retrieve the center of the current map view.
Dim mapCenter = Map1.Center
' Create a pushpin to put at the center of the view.
Dim pin1 As New Pushpin()
pin1.Background = New SolidColorBrush(Colors.Red)
pin1.Location = New Location(52.499634, -1.705241)
また、地図をドラッグすると、画鋲は地図と一緒に移動するのではなく、その場所に留まります。マップと一緒に移動させるにはどうすればよいですか?
ありがとう