Bing Maps on WPF and custom PushPin tutorial for PixelSense

You may also like...

3 Responses

  1. Bruce says:

    Hey this was a great tutorial and much more valuable than anything that I have found to date. However, I am looking for a solution to a couple of different scenarios. The first, rather than defining a rectangle, I would like to define a custom image for the pushpin. The second, I would like to use what you have but modify the size of the rectangle based on the content (e.g. pushpin.content = “one” will require less space than pushpin.content = “five hundred and twenty”). Not really using those values but you get what I mean.

    Any pointers would be much appreciated!

  2. Dennis van der Stelt says:

    How to do an image can be found on many places, for example the answer on this question on Stackoverflow
    http://stackoverflow.com/questions/4653484/wp7-bing-maps-pushpin-template-with-image-doesnt-show-up

    The size of the pin can also be adjusted by building another IValueConverter. Remember not to animate/adjust the size, but use transform to make it bigger. That’s performance wise much better.

  3. Faro says:

    Hi Dennis,

    do you know any way that the map can recognize an object when I put a tagged object on it?

Click on a tab to select how you'd like to leave your comment

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>