Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
Customising individual shapes in a UltraGeographicMap GeographicShapeSeries
posted

How can I change the appearance of an individual shape that is part of a set loaded into a GeographicShapeSeries?

For example, in your UltraGeographicMap sample, it sets the colour that will be used for all the shapes in the series, but I then want to change the colour of the shape for just one member of the series, so I could make one particular country a different colour. 

How do I get access to an individual shape in the series, and what properties are exposed that would let me customise it?

Thanks!

  • 12480
    Offline posted

    Hi Robert,

    This is a feature that currently exists in xamGeographicMap, but is not yet available in UltraGeographicMap. My recommendation is to host a xamGeographicMap in your application and use a ShapeStyleSelector to specify which countries to color differently.

    Please let me know if you have any questions regarding this implementation.