我希望能够将 KMLTreeView 中地标条目的图标从标志更改为其他一些自定义位图。对我来说这不是很明显可以做到,但如果有人知道你怎么能提供几行代码?
这是我想更改的“旗帜”的图片。

这是设置此图标的代码。我找不到将字符串“flag”转换为图像的位置。此代码来自 2012 年 11 月 20 日 API 的 KmlTreeViewNode.cs 文件:
    internal void SetStyle()
    {
        switch (this.ApiType)
        {
            // other lines of code //
            case ApiType.KmlPlacemark:
                {
                    this.ImageKey = "flag";
                    this.SelectedImageKey = "flag";
                }
            // more lines of code //
感谢您提供的任何帮助。
