MapXtreme2004代码 简单专题图的显示


    MapControl1.Map.Clear();
</span>
MapGeosetLoader(@"F:/test.gst");
</span>
MapControl1.Map.Load(gl);
</span>

</span></span>

</span>
MapTableLoader(@"F:/test.tab"));
</span>

</span></span>

</span>
FeatureLayer;
</span>
RangedTheme(lyrPnt,"PH__1999","ph",3,DistributionMethod.EqualCountPerRange);
</span>
lyrPnt.Modifiers.Insert(0,thm);
</span>
RangedTheme
</span></span>

</span>
ThemeLegendFrame frame = LegendFrameFactory.CreateThemeLegendFrame("PH__1999","pp",thm);
</span>

</span>
Size(5,5));
</span>
legend.Frames.Append(frame);
</span>
Legend
</span></span>

</span>
//MapControl1.Map.Adornments.Append(legend);
</span>
Legend
</span></span>

</span>
LegendControl1.Map = MapControl1.Map;
</span>
(MapControl1.Map.Legends.Count > 0)
</span>
{
</span>
LegendControl1.Legend = MapControl1.Map.Legends[0];
</span>
}
</span>
Legend
</span></span>

</span>

</span>


 

你可能感兴趣的:(java,工作)