Windows Phone 8 - HowTo display current position on the map

被刻印的时光 ゝ 提交于 2019-12-06 15:23:01

try this way,

Pushpin pushpin = new Pushpin();

pushpin.Background = new SolidColorBrush(Colors.Red);

pushpin.Location = new GeoCoordinate(Latitude, Longitude);

pushpin.Content = "SampleString";

pushpin.Width = 25;

map1.Children.Add(pushpin);//this is way add pushpin to map

Have visited this one .

http://social.msdn.microsoft.com/Forums/wpapps/en-US/3d95b0c5-5f48-4918-b761-f8302fa090c2/updatehow-to-show-pushpin-on-microsoftphonemapscontrolsmap#bbb42943-663b-41f1-a920-f7368f2fee70

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!