0
votes
1answer
26 views

Trying to use Near to relocate points to the waterways

We are trying to relocate elements that are near the water but not quite on the water and relocation them to the nearest point. I'm trying to build the parameters to use the Near tool ...
1
vote
2answers
77 views

Get IFeatureLayer from ILayer using ArcGIS Engine?

I try to select object from layer by name. I think i found sollution here. First problem i got is that i use GroupLayer. So i made research how to get subLayer from GroupLayer. Sollution is here. Now ...
1
vote
1answer
83 views

Can you customize the editor widget for a feature layer?

Here is the code for the editor widget: <esri:EditorWidget x:Name="MyEditorWidget" Map="{Binding ElementName=MyMap}" Width="300" ...
1
vote
0answers
90 views

How to create FeatureLayer without Legend in Table Of Contents (TOC) using ArcGIS Engine?

So what I am trying to accomplish is having a IGroupLayer that contains an IFeatureLayer and in the table of contents (TOC) there would be no + next to the feature layer (i.e. there is no legend). So ...
0
votes
1answer
802 views

FeatureClass to IFeatureLayer

I am trying to covert my feature class to feature layer so that i can pass "IQueryByLayer" over my feature class. Till now i have my feature class --- FeatureClass className = new FeatureClass(cc); ...
2
votes
1answer
167 views

ArcObjects 10/10.1 Get rid of Invalid layer symbol in TOC

I've written an add-in (VS2010, C#) that finds specific invalid feature layers in ArcMap and fixes them. After the layer is fixed, the red invalid symbol still appears in the TOC. An ...
1
vote
1answer
893 views

Is there any way to set polygon features fill color and outline programmatically?

By some process I am creating a polygon feature layer. Before adding the layer in the map, I want to set polygon's fill color to no color and set polygon's outline color and width. I am working with ...
2
votes
0answers
120 views

Proper disposal of layers

I have a group layer. Its purpose is to show feature layers over a base map. Those feature layers are logically grouped into categories and we provide the ability to add/remove whole categories ...