none
PushPin style customize based on the location's associated value on an OpenStreetMap from WPF C# in VS2013 on win7 RRS feed

  • Question

  • I need to mark each location by a pushpin on an OpenStreetMap map from WPF C# in VS2013 on win7.

    I would like to customize the pushpin style as a circle. Any suggestions about bing map (prefered) or other map controls are welcome.

    I need to change the circle radius based on the value associated with the location on the map.

    For example, I need to put a pushpin at a location that has a value as 100 and another location with value as 200 on the map. I need to show two circle with different radius for the two locations on the map. The larger value, the larger circle. I also need to change the pushpin color. The larger size, the darker color.

    Also, the points are clustered together when the map is zoomed out. The value of each clustered point will increase and it may decrease for zoom in. So, I need the pushpins's size can be changed according to the updated value in the process of zoom in and out.

    I have searched some solutions about how to customize a pushpin but they are not what I want.

    http://stackoverflow.com/questions/8805390/how-to-change-the-size-of-an-element-within-a-custom-pushpin-in-bingmaps-for-sil
    
    http://pietschsoft.com/post/2010/06/04/Resizing-and-Auto-Scaling-Pushpin-in-Bing-Maps-Silverlight
    
    http://stackoverflow.com/questions/20768427/how-to-use-image-as-map-pushpin
    
    http://stackoverflow.com/questions/25022847/changing-the-icon-style-of-my-pushpin
    
    http://dennis.bloggingabout.net/2012/10/17/bing-maps-on-wpf-and-custom-pushpin-tutorial-for-pixelsense/

    Any help would be appreciated.

    Monday, November 9, 2015 7:39 PM

Answers