|
POST
|
NIM080359 was not acknowledged as a valid bug by our development team. They explained that a dijit.layout.BorderContainer or a dijit.layout.ContentPane can be used to position the map with absolute values and provided the following application as an example of a viable approach to resolve the error. But this is still happening [ATTACH=CONFIG]22842[/ATTACH]
... View more
03-21-2013
09:19 AM
|
0
|
0
|
1659
|
|
POST
|
Does the DynamicMapServiceLayer have the same projection as the ArcGISDynamicMapServiceLayer?
... View more
03-21-2013
09:11 AM
|
0
|
0
|
1995
|
|
POST
|
Glad to help. Don't forget to click the check mark to signify the question is answered.
... View more
03-18-2013
05:30 AM
|
0
|
0
|
1177
|
|
POST
|
That's a good thing to know as I convert my projects to JavaScript!
... View more
03-15-2013
11:36 AM
|
0
|
0
|
1165
|
|
POST
|
In my applications where I have a tiled basemap and I perform a zoom to a feature, I check whether the extent of that feature is contained by the extent of the map. If not, then I move out one level. Although this code is for Flex, you should be able to use the same logic in JavaScript
map.extent = feature.extent;
if (!map.extent.contains(feature.extent))
{
map.level--;
}
... View more
03-15-2013
10:19 AM
|
0
|
0
|
1165
|
|
POST
|
You can use the IRasterStretch2:BackgroundColor property. Here are some examples of how to use it.
... View more
03-15-2013
05:39 AM
|
0
|
0
|
1177
|
|
POST
|
Yes, I'm seeing the same issue using the Create a map sample, with the zoom set to 2
... View more
03-13-2013
09:58 AM
|
0
|
0
|
2784
|
|
POST
|
Are your access tables configured so that you can pull out the correct years for Urban versus Annual? If you can query for the Annual years, then you can put that logic into the cboStations_Change subroutine, just like you have it in the Initialize routine to populate cboDistrict and cboStations
... View more
03-13-2013
08:47 AM
|
0
|
0
|
760
|
|
POST
|
Use wrapAround180 in the constructor. Note that When true, supports continuous pan across the dateline. Wraparound is supported in the following cases: Map spatial reference is WGS84 or Web Mercator The tiling scheme is either the pre-9.3 ArcGIS Online (4326) tiling scheme or ArcGIS/Google Maps/ Bing tiling scheme. Dynamic services must be version 10 or greater. At version 3.1 the default value is true. For versions earlier than 3.1 the default value is false. var map = new esri.Map("map", { basemap: "topo", center: [0, 0], zoom: 2 wrapAround180: true });
... View more
03-13-2013
08:38 AM
|
0
|
0
|
2784
|
|
POST
|
You'll just have to add in the logic in the cboStations_Change subroutine for the different selections
Private Sub cboStations_Change()
cboYear.Clear
If cboStations.Text = "Urban" Then
cboYear.AddItem "2010"
cboYear.AddItem "2011"
cboYear.AddItem "2012"
Elseif cboStations.Text = "Annual" then
cboYear.AddItem "2010"
End If
End Sub
... View more
03-13-2013
07:49 AM
|
0
|
0
|
760
|
|
POST
|
In your subroutine Private Sub cboStations_Change, you're setting the variable cboYear to a string. Inside this subroutine this variable is taking precedence over the combobox cboYear. You'll want to do something like this (untested, since I don't have VBA on my machine, however). You should also clear the combobox so that you don't add duplicate values every time the subroutine runs Private Sub cboStations_Change() cboYear.Clear If cboStations.Text = "Urban" Then cboYear.AddItem "2010" cboYear.AddItem "2011" cboYear.AddItem "2012" End If End Sub In addition, the if..then syntax in your next subroutine is incorrect Private Sub cboYear_Change() cboDistrict.Clear If cboYear.Text = "2010" Then cboDistrict.AddItem "Abilene" 'add the rest Elseif cboYear.Text = "2011" Then cboDistrict.AddItem "Beaumont" 'add the rest Elseif cboYear.Text = "2012" Then 'or just Else cboDistrict.AddItem "Brownwood" 'add the rest End If End Sub Another way to add different items to the combobox is through an array. Your second subroutine could be written like this Private Sub cboYear_Change() dim myArray() as String cboDistrict.Clear If cboYear.Text = "2010" Then myArray = Array ("Abilene", "Amarillo", "Austin", "San_Antonio", "Waco", "Wichita_Falls" ) Elseif cboYear.Text = "2011" Then myArray = Array ("Beaumont", "Houston") Elseif cboYear.Text = "2012" Then 'or just Else myArray = Array ("Brownwood", "Bryan", "Childress", "Corpus_Christi", "El_Paso", Lubbock, "Odessa", "Yoakum") End If For Each myElement in myArray cboYear.AddItem myElement Next End Sub
... View more
03-12-2013
12:58 PM
|
0
|
0
|
1047
|
|
POST
|
The current location for the JavaScript code assist plug-ins can be found here.
... View more
03-04-2013
04:59 AM
|
0
|
0
|
1269
|
|
POST
|
If you ever have questions about how the parameters for a geoprocessing tool should be entered, you should run it manually in ArcMap. The Results window will show how the tool expects the parameters to be passed to it. As Duncan states, the extent doesn't have any comma delimiters. [ATTACH=CONFIG]22263[/ATTACH]
... View more
02-28-2013
08:36 AM
|
0
|
0
|
1142
|
|
POST
|
The IDocumentInfo2 interface exposes much more information. Dim pMapDocument As New ESRI.ArcGIS.Carto.MapDocument pMapDocument.Open("TheFileName.mxd") Dim pDocInfo As ESRI.ArcGIS.Carto.IDocumentInfo2 = TryCast(pMapDocument, ESRI.ArcGIS.Carto.IDocumentInfo2) Debug.Print(pDocInfo.Author.ToString & vbNewLine & pDocInfo.Category.ToString & vbNewLine & pDocInfo.Comments.ToString & vbNewLine & pDocInfo.Credits.ToString & vbNewLine & pDocInfo.DateExported.ToString & vbNewLine & pDocInfo.DatePrinted.ToString & vbNewLine & pDocInfo.DateSaved.ToString & vbNewLine & pDocInfo.DocumentTitle.ToString & vbNewLine & pDocInfo.Folder.ToString & vbNewLine & pDocInfo.HyperlinkBase.ToString & vbNewLine & pDocInfo.Keywords.ToString & vbNewLine & pDocInfo.Name.ToString & vbNewLine & pDocInfo.Path.ToString & vbNewLine & pDocInfo.RelativePaths.ToString & vbNewLine & pDocInfo.SavePreview.ToString & vbNewLine & pDocInfo.Subject.ToString ) The description is given in the Comments property.
... View more
02-27-2013
10:31 AM
|
0
|
0
|
1535
|
|
POST
|
It is in the ESRI.ArcGIS.ArcMapUI assembly. Make sure you have that added to your project and you can either use Import ESRI.ArcGIS.ArcMapUI or Dim pTableFrame As ESRI.ArcGIS.ArcMapUI.ITableFrame
... View more
02-25-2013
11:22 AM
|
0
|
0
|
614
|
| 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 |
5 hours ago
|