|
POST
|
Have you verified that the variable "look" is what you expected it to be?
... View more
02-13-2014
04:03 AM
|
0
|
0
|
2012
|
|
POST
|
In my experience, the first thing to do when you run into issues coding a geoprocessing tool is to run it manually. When it runs successfully, take a look at the executing statement to see what the parameters should be. I ran the Multiple Ring Buffer and got this as the result Messages Executing: MultipleRingBuffer sample_test C:\Default.gdb\sample_test_MultipleRingBuff 500;1000 Meters distance NONE FULL Start Time: Wed Feb 12 08:39:34 2014 Running script MultipleRingBuffer... Completed script MultipleRingBuffer... Succeeded at Wed Feb 12 08:39:51 2014 (Elapsed Time: 17.00 seconds) In this case, the distances have to be separated by a semicolon.
... View more
02-12-2014
03:44 AM
|
0
|
0
|
2012
|
|
POST
|
Take a look at this post, where I set up a Fiddle with the sample written in AMD. You might be interested in alternate ways of showing the legend and table of contents. There are a few widgets that integrate the TOC with the legend, like this one written by Nliu and this one by Matt Driscoll.
... View more
02-07-2014
09:02 AM
|
0
|
0
|
886
|
|
POST
|
The second way (AMD) is the direction that Dojo and Esri's JSAPI are going. The first way (legacy) will eventually be deprecated when Dojo 2.0 is realeased. Take a look at this help page.
... View more
02-07-2014
05:27 AM
|
0
|
0
|
2282
|
|
POST
|
Shaun, You should mark your post as the answer to the question.
... View more
02-06-2014
11:47 AM
|
0
|
0
|
1780
|
|
POST
|
That is not a property of Query yet. Take a look at this thread.
... View more
02-06-2014
11:43 AM
|
0
|
0
|
3247
|
|
POST
|
Is this replaced by dojo/has? And this page might help a little too.
... View more
02-06-2014
07:01 AM
|
0
|
0
|
671
|
|
POST
|
Your info is really very very helpful! I just have one question: when I tried to use ArcGISDynamicLayer, instead of FeatureLayer, the label of the checkbox is always 'undefined'. Is there anyway we can let Dynamic layer's label to display for the checkbox? Thanks a lot! I've updated the sample to use an ArcGISDynamicLayer and it shows the label properly. It might show undefined if the service is not up and running, however. For example, look at Vince's latest Fiddle. Since the services he is using are not public, they will show up as undefined (eventually).
... View more
02-06-2014
04:41 AM
|
0
|
2
|
1134
|
|
POST
|
Remember, the TOC widget is not part of the API. It was developed independently by nliu. You should contact him for any requests about the widget. If you'd like to hide layers in the TOC, the new version does have a way to do that. Take a look at this post showing how to do that. Note that it does require a 10.1 service.
... View more
02-06-2014
04:16 AM
|
0
|
0
|
729
|
|
POST
|
Hi Vince, I would suggest either continuing the discussion in that thread or starting a new thread for this question.
... View more
02-06-2014
03:51 AM
|
0
|
0
|
3118
|
|
POST
|
What I think is happening is that it depends on which version of AGSJS TOC that you're using. The sample you're pointing is using ver 1.04. If you look at the source code for the TOC, you'll find noLayer in there. However, for the current version of TOC, noLayers isn't included. The current example doesn't use it either.
... View more
02-05-2014
10:40 AM
|
0
|
0
|
2767
|
|
POST
|
Where are you getting noLayers from? That's not one of the properties in the TOCLayerInfo class.
... View more
02-05-2014
09:35 AM
|
0
|
0
|
2767
|
|
POST
|
Have you tried setting the layerIds property of the IdentifyParameters? var idParams = new IdentifyParameters(); idParams.width = map.width; idParams.height = map.height; idParams.geometry = evt.mapPoint; idParams.mapExtent = map.extent; idParams.layerOption = IdentifyParameters.LAYER_OPTION_VISIBLE; idParams.layerIds = layer.visibleLayers; idParams.tolerance = 3; idParams.returnGeometry = true; idParams.spatialReference = map.spatialReference;
... View more
02-05-2014
08:02 AM
|
0
|
0
|
1535
|
|
POST
|
You're using array.forEach in your code, but in the function, you're assigning the alias "arrayUtils" for the array module "dojo/_base/array". Try using "arrayUtils.forEach" instead. There was a similar question where I replied with a Fiddle that is written in AMD style.
... View more
02-04-2014
10:32 AM
|
0
|
0
|
1025
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | Monday | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|