|
POST
|
The samples page has been updated to JS 3.5 and the categories have been rearranged. However, many samples from previous versions are missing in the TOC, even though they have been updated to JS 3.5, like Info Window with Chart. Are these going to show up in the TOC and will some of the missing categories (like Widgets and Layout) return? Correct, we re-arranged and removed several sample categories to make the TOC more manageable and useful to those not already familiar with it. Old categories, like Widgets and Layout, will not be coming back. We didn't actually remove any samples. As Kelly pointed out, you can still find old samples via search. If you'd previously bookmarked a sample, that link will still work as well.
... View more
05-16-2013
08:55 AM
|
0
|
0
|
1622
|
|
POST
|
You can use setRequestPreCallback to manipulate the URL for the request before it's sent.
... View more
05-16-2013
08:16 AM
|
0
|
0
|
1256
|
|
POST
|
I'll also add that there are geoprocessing specific samples in the analytics category: http://developers.arcgis.com/en/javascript/jssamples/#analytics
... View more
05-16-2013
07:46 AM
|
0
|
0
|
712
|
|
POST
|
Instead of: gridpa.setStore(store); Try: gridpa.set("store", store);
... View more
05-15-2013
12:36 PM
|
0
|
0
|
1277
|
|
POST
|
1) the fields don't display when the map is first loaded, but will display after I've selected an attribute. Your code (and the sample you started with) create a dynamic map service layer with visible: false in the options object. To show the fields (with their default symbology) when the page loads, use this:
urlDyn = "http://services.kgs.ku.edu/arcgis/rest/services/oilgas/oilgas_fields/MapServer";
fieldsLayer = new esri.layers.ArcGISDynamicMapServiceLayer(urlDyn, {
id: "og_fields",
opacity: 0.7
});
app.map.addLayer(fieldsLayer);
2) after selecting an attribute for rendering, the layer displays with the default symbology - not rendered by the selected attribute The hiccup here was in applyRenderer. The array index used to specify drawingOptions for a layer in optionsArray needs to match the layer index that you're updating. In the sample, this was layer index two. With your map service, you want to update layer index 0. Instead of doing: optionsArray[2] = drawingOptions; Do this: optionsArray[0] = drawingOptions; Working example: http://jsfiddle.net/StdbT/
... View more
05-15-2013
12:34 PM
|
0
|
0
|
689
|
|
POST
|
Thanks for the insight. I finally got it working. Hi Deanna, Did you mean to mark your post as the answer to this thread? If anything, it seems like Jian's post is more appropriate to be marked as the answer for this thread. If his post didn't help, please add specifics to your post about what you did to address your problem.
... View more
05-15-2013
12:02 PM
|
0
|
0
|
1103
|
|
POST
|
It's a bug (NIM091468) that we've fixed for 3.5, which will be out shortly. You can test with http://serverapi.arcgisonline.com/jsapi/arcgis/3.5/
... View more
05-15-2013
11:58 AM
|
0
|
0
|
860
|
|
POST
|
PS I tweaked the anti-alias setting and things look better, so those links may not show what I meant anymore. Please clarify whether or not you still have a question.
... View more
05-15-2013
10:51 AM
|
0
|
0
|
628
|
|
POST
|
Check out this post and thread: http://forums.arcgis.com/threads/42685-Limit-on-layerDefinitions-Length?p=145738&viewfull=1#post145738 I'm recommending that because I see a 404 for the map image in dev tools when the renderer includes more than three countries (which makes the URL for the request longer).
... View more
05-15-2013
06:17 AM
|
0
|
0
|
1018
|
|
POST
|
Is the end goal to see if a point falls within a drive-time polygon?
... View more
05-13-2013
09:47 AM
|
0
|
0
|
977
|
|
POST
|
Take a look at what I posted on the GIS StackExchange a while back: http://gis.stackexchange.com/a/2750/124
... View more
05-13-2013
08:52 AM
|
0
|
0
|
977
|
|
POST
|
If you post a more complete code sample to reproduce your problem we can provide more help. It's hard to say what's going wrong with the code you posted. Here's a sample that shows how to use the closest facility task: http://developers.arcgis.com/en/javascript/jssamples/routetask_closest_facility.html
... View more
05-09-2013
09:00 AM
|
0
|
0
|
950
|
|
POST
|
Is your DB Oracle? From what I can find, this is an Oracle limitation: A comma-delimited list of expressions can contain no more than 1000 expressions. A comma-delimited list of sets of expressions can contain any number of sets, but each set can contain no more than 1000 expressions. Source: http://docs.oracle.com/cd/B19306_01/server.102/b14200/expressions014.htm#i1033664 If you must query 1000+ features, I'd do it over multiple queries and use a deferred list to manage execution.
... View more
05-02-2013
01:07 PM
|
0
|
0
|
2650
|
|
POST
|
Thanks! I'll investigate and post back here when I figure out what/why this is happening.
... View more
05-02-2013
09:30 AM
|
0
|
0
|
2650
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-23-2012 07:54 AM | |
| 1 | 05-28-2010 08:31 AM | |
| 1 | 11-12-2012 08:12 AM | |
| 3 | 02-23-2012 10:57 AM | |
| 1 | 06-27-2011 08:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|