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.
↧