1

アプリケーションにGraphicsLayerがあり、itemsSourceのようにPointDataSourceを使用しています。

        trackEntryPointDataSource = new PointDataSource();
        trackEntryPointDataSource.DataSpatialReference = 
                                  new SpatialReference((int)CommonEpsgCodes.JTSKEN);
        trackEntryPointDataSource.XCoordinateBinding = 
                                  new System.Windows.Data.Binding("XJTSK");
        trackEntryPointDataSource.YCoordinateBinding = 
                                  new System.Windows.Data.Binding("YJTSK");
        SimpleRenderer srd = new SimpleRenderer();
        srd.Symbol = new SimpleMarkerSymbol()
        {
            Color = new SolidColorBrush(Colors.Yellow)
        };

        EntriesLyr.GraphicsSource = trackEntryPointDataSource;
        EntriesLyr.Renderer = srd;

MapTipsをグラフィックシンボルに追加する方法を誰かが知っていますか?

4

1 に答える 1

2

GraphicsLayerクラスにはMapTipプロパティがあります。

ここにある場合の詳細な例

于 2012-10-28T07:16:45.310 に答える