I have one Bingmap control in wp7. This bingmap contain so many pushpin buttons. And i wants to remove this buttons when click event is fire.
So how to remove this button?
I tryed bellow c# code but its not working
map1.children.remove(pin[i])
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you can use a MapLayer and add a pushpin to that MapLayer and then clear the layer before adding the next pushpin.
Don’t forget to add that MapLayer as achild to the map control