We are thinking of using LabelPoints/TextSymbols and make them look better manually, because setting up the labels in ArcMap is not a viable option for us right now. That said, is there a way to set a JoinDataSource on a FeatureLayer, so that I can use the extra fields from the database in the TextSymbol?
Also, how would I register a workspace for my database?
LayerSource leftTableLayerSource = new LayerDataSource { DataSource = new TableDataSource { DataSourceName = leftTable, WorkspaceID = workspaceInfoId, } }; LayerSource rightTableLayerSource = new LayerDataSource { DataSource = new TableDataSource { DataSourceName = rightTable, WorkspaceID = workspaceInfoId, } }; dataSource = new JoinDataSource { JoinType = JoinType.LeftInnerJoin, LeftTableSource = leftTableLayerSource, LeftTableKey = leftTableKey, RightTableSource = rightTableLayerSource, RightTableKey = rightTableKey };
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.