// create custom basemap in your current project
            Map basemap = null;
            Task task = QueuedTask.Run(() =>

            {
                basemap =MapFactory.Instance.CreateMap("gisoracle", MapType.Map);
            });
            task.Wait();
            // create and add layer to the basemap using LayerFactory.Instance
            string url = @"F:\2020book\toolforpro\MyProject3\1.shp";
            Uri uri = new Uri(url);
            QueuedTask.Run(() =>

            {
                Layer lyr = LayerFactory.Instance.CreateLayer(uri, basemap);
            });

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
  • 2021-07-26
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2021-12-02
相关资源
相似解决方案