Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to colorize Pushpin items based on data source data

$
0
0

A MapPushpin item is displayed by a simple image. By default, this image is loaded from the current Skin. The only way to change the pushpin color is to replace this image with a custom one using the Image property. This example demonstrates how to modify the color of the pushpin image using the ColorMatrix Class. For the sake of simplicity, we prepared a clear red custom pushpin. We update and assign it to a certain item from the IMapItemFactory.CreateMapItem Method.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>