AnsweredAssumed Answered

adding layers from spatial databases in vb.net

Question asked by sami.jayne70 on Jul 11, 2017
Latest reply on Jul 12, 2017 by sami.jayne70

Afternoon everyone, I was wondering if anyone has any vb.net examples of adding layers to a ArcGIS Pro Map that they could share. I need to add layers, but its not just as simple as adding from a file. However if anyone has any examples of the following for Pro I would be really grateful as it will help me debug. I haven't programmed using Async before so if anyone could share:

 

adding a layer from a flat file

adding a layer from a spatial SQL database

adding a layer when the name changes dynamically based on a user selection in a UI that would be great.

 

I keep getting a method wrong and I am trying to work out which one.

 

TIA

S*

Outcomes