MapXtreme2004代码 MapControl控件中显示地图文件

来源:互联网 发布:淘宝客成交订单在哪看 编辑:程序博客网 时间:2024/04/30 19:53

::打开TAB文件::

MapControl1.Map.Clear();//清空MapControl1控件中的地图

MapTableLoader t1=new MapTableLoader(@"F:/test.tab");

MapControl1.Map.Load(t1);

 

::打开GST文件::

MapControl1.Map.Clear();

MapGeosetLoader g1=new MapGeosetLoader(@"F:/test.gst");

MapControl1.Map.Load(g1);

 

::打开其它类型地图文件的代码类似::

原创粉丝点击