手動で値 (緯度と経度) を指定すると、画鋲ツールが場所を検出しません。
これが私のコードです:
double dbllat = 13.060407;
double dbllong = 80.249562;
Pushpin mypin = new Pushpin();
watcher = new GeoCoordinateWatcher(GeoPositionAccuracy.High);
watcher.MovementThreshold = 40;
watcher.Start();
watcher.Position.Location.Latitude = dbllat;
watcher.Position.Location.Longitude = dbllong;
mypin .Location.Latitude = dbllat;
mypin .Location.Longitude = dbllong;
//CredentialsProvider cp=
map1.Center = new GeoCoordinate(mypin.Location.Latitude, mypin.Location.Longitude);
map1.SetView(mypin .Location, 5.0);
push.Tag = "Location";
push.Content = "i'm here";
map1.Children.Add(mypin);
watcher.Stop();
私は何が間違っているのでしょうか?