|
POST
|
Take a look at this Fiddle, showing an infoWindow with two different layers with different attributes. The code creates a template for each layer that is visible.
... View more
06-26-2013
07:23 AM
|
0
|
0
|
707
|
|
POST
|
Thanks Jim, we'll get those fixed. Any update on when this will be fixed? At the same time, could you also update the API reference so that the "AMD Module Require" version of the documentation shows "on" method in the code snippets and the new event names?
... View more
06-25-2013
07:15 AM
|
0
|
0
|
1470
|
|
POST
|
For one of my projects (an ArcGIS 10 application written in VB.NET), I duplicated the Select by Attribute form and added in some additional functionality. Here's the zipped form, but it does make references to other items in the project.
... View more
06-24-2013
05:51 AM
|
0
|
0
|
1572
|
|
POST
|
It sounds like this tool I developed for ArcGIS 9. I do have plans to update this to ArcGIS 10, but unfortunately, this is not high on my priority list right now. Generally, ArcGIS 10 isn't able to use the tools that were developed for ArcGIS 9. In this case, the installer is looking for specific assemblies for ArcGIS 9 that are not included with 10. You don't need to install the SDK just to use tools that were developed for ArcGIS. This is for the developers to build the custom functionality. Drop me a line at ken.buja at noaa.gov if you'd like to discuss this more.
... View more
06-21-2013
10:35 AM
|
0
|
0
|
5500
|
|
POST
|
I'm rewriting an application I developed in Flex that allows a user to identify the features of all the visible layers and puts the result in a tab container, with each tab containing the results of each visible layer. This application can be viewed here. [ATTACH=CONFIG]25337[/ATTACH] I've gotten the new application to the point where I have populated the tab containers with the grids, but some of the grids are not showing all the fields. The issue is that there are varying number of fields to be shown...from two to 100. However, all the grids are the same width, so the grid for layer 224 is only showing 7 of the 97 fields. I've created a Fiddle that shows this issue. This is what it's looking like now in JavaScript [ATTACH=CONFIG]25340[/ATTACH] A couple of things with the Fiddle. It isn't rendering the tabs correctly, but clicking on the numbers at top will show the different tabs. Also, the CSS section contains a couple of different files merged together, but the styles for the dgrid that I'm using are at the bottom of the list, setting the default size of the dgrid and the width of the fields (50px for all except the OJBECTID field). Finally, the Fiddle should be showing one other issue I'm having with the dgrid. Sometimes the first row of the data overlaps the header. [ATTACH=CONFIG]25341[/ATTACH]
... View more
06-18-2013
08:46 AM
|
0
|
7
|
6020
|
|
POST
|
Glad to help. Please remember to click the check and the up arrow on the post to signify your question was answered.
... View more
06-17-2013
08:05 AM
|
0
|
0
|
871
|
|
POST
|
I believe you have to use dojo.connect or connect.connect instead. See this thread
... View more
06-17-2013
07:02 AM
|
0
|
0
|
871
|
|
POST
|
Glad to help. Please remember to click the check in the post to signify that your question has been answered.
... View more
06-14-2013
05:53 AM
|
0
|
0
|
1103
|
|
POST
|
Where are you setting the renderer for the layer? Take a look at the samples, which show how to set it.
... View more
06-13-2013
12:43 PM
|
0
|
0
|
2486
|
|
POST
|
You can start the Edit Tool like this public void CurrentTool(IApplication app) { ICommandBars documentBars = app.Document.CommandBars; UID cmdID = new UIDClass(); cmdID.Value = "{9EBF3A1E-D0C0-11D0-802D-0000F8037368}"; ICommandItem cmdItem = documentBars.Find(cmdID, false, false); app.CurrentTool = cmdItem; }
... View more
06-13-2013
11:58 AM
|
0
|
0
|
1103
|
|
POST
|
I'm glad to help. Please remember to click the check on the post that best answered your question.
... View more
06-13-2013
11:04 AM
|
0
|
0
|
3056
|
|
POST
|
You can do something like this If TypeOf layer Is ESRI.ArcGIS.Geodatabase.IDataset Then Dim dataset As ESRI.ArcGIS.Geodatabase.IDataset = CType(layer, ESRI.ArcGIS.Geodatabase.IDataset) GetCategory(dataset.Workspace) End If
... View more
06-07-2013
05:06 AM
|
0
|
0
|
1344
|
|
POST
|
If you get the workspace of the dataset, you can use this code to get the type of data source
Public Function GetCategory(ByVal pWorkspace As ESRI.ArcGIS.Geodatabase.IWorkspace) As String
Dim sClassID As String
sClassID = pWorkspace.WorkspaceFactory.GetClassID.Value
Select Case sClassID
Case "{DD48C96A-D92A-11D1-AA81-00C04FA33A15}" ' pGDB
GetCategory = "Personal Geodatabase Database"
Case "{71FE75F0-EA0C-4406-873E-B7D53748AE7E}" ' fGDB
GetCategory = "File Geodatabase" '
Case "{D9B4FA40-D6D9-11D1-AA81-00C04FA33A15}" ' GDB
GetCategory = "SDE Database"
Case "{A06ADB96-D95C-11D1-AA81-00C04FA33A15}" ' Shape
GetCategory = "Shapefile Workspace"
Case "{34DAE34F-DBE2-409C-8F85-DDBB46138011}" ' SDC
GetCategory = "SDC Workspace"
Case "{1D887452-D9F2-11D1-AA81-00C04FA33A15}" ' Coverage
GetCategory = "ArcInfo Coverage Workspace"
Case "{7F2BC55C-B902-43D0-A566-AA47EA9FDA2C}" ' InMemory
GetCategory = "InMemory Workspace"
Case "{59158055-3171-11D2-AA94-00C04FA37849}" 'OLEDB Workspace
GetCategory = "OLEDB Workspace"
Case Else
GetCategory = "Unknown Workspace Category"
End Select
End Function
... View more
06-06-2013
05:58 PM
|
0
|
0
|
1344
|
|
POST
|
Take a look at this post. Does that example do what you're looking for?
... View more
06-06-2013
05:46 PM
|
0
|
0
|
1962
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-04-2025 06:39 AM | |
| 1 | 05-01-2026 08:26 AM | |
| 1 | 04-10-2026 12:01 PM | |
| 1 | 04-13-2026 09:11 AM | |
| 1 | 10-11-2023 06:18 AM |
| Online Status |
Online
|
| Date Last Visited |
13m ago
|