|
POST
|
Hi Luhua, That might be a problem if you have some null value, take a look about this documentation ClassBreaksRenderer | API Reference | ArcGIS API for JavaScript You can set some breakpoint in code to debug if that's the issue. Also, you can try to follow another sample to addBreak manually to compare Class breaks renderer | ArcGIS API for JavaScript
... View more
03-14-2016
05:39 PM
|
0
|
0
|
494
|
|
POST
|
Hi Reynald, There is. Please take a look about this RouteTask | API Reference | ArcGIS API for JavaScript And here is another sample about how to use route task RouteTask | API Reference | ArcGIS API for JavaScript Hope this can help.
... View more
03-09-2016
08:15 AM
|
0
|
0
|
293
|
|
POST
|
Hi Jordan, I think the issue is if you using the widget that I showed in my sample, then you don't have to worry about ImageServiceMeasureTask or ImageServiceMeasureParameters The reason is because the widget already handle those task behind, and all you need to do is interact with the UI widget and draw polygon on screen to get the result. I assume you want to pro-grammatically to get the result without interact with widget, then you need to pass all the right values that you need to get the result to execute. The easy way to identify what type of requests that you send to image service, is using the developer tool from browser. Then used that widget sample to see the request. Here I show you a screenshot to illustrate what I mean:
... View more
03-02-2016
02:20 PM
|
0
|
1
|
1500
|
|
POST
|
Hi Jordan, Kind of follow up my previous answer. The sample that I mentioned above is using an ImageServiceMeasure | API Reference | ArcGIS API for JavaScript widget. You can check the hyperlink about this widget. However, I confirm with our dev team that this doc has some issue and may confuse you. I do internally logged a documentation enhancement and we should update this documentation pretty. [ENH-000094580 Incomplete documentation for IncopImageServiceMeasure widget] Currently, I would suggest just follow the sample that I showed to you to finish your task. Best Regards,
... View more
03-02-2016
10:42 AM
|
0
|
1
|
1500
|
|
POST
|
Hi Jordan, Here I share with you this sample code that you can take a look about JS Bin - Collaborative JavaScript Debugging Hope this can help.
... View more
03-01-2016
05:13 PM
|
1
|
8
|
1500
|
|
POST
|
Hi Reina, Have you tried to change the attribute display value followed by this screenshot?
... View more
02-29-2016
03:27 PM
|
0
|
1
|
1263
|
|
POST
|
Hi Murali, You can find the answer from this FAQ page. FAQs | ArcGIS API for JavaScript
... View more
02-25-2016
03:23 PM
|
4
|
0
|
1689
|
|
POST
|
It's my pleasure. I wish I can help you in person and this should be fixed easily. Feel free to share this information to the analyst that you work with and it will definitely helps. Best Regards,
... View more
02-25-2016
11:38 AM
|
0
|
1
|
1318
|
|
POST
|
Hi Ashley, Try to follow this documentation to setup a proxy Setting up a Proxy | Support Services Blog If you still encounter any issues you can try to contact Esri Technical Support and we would definitely love to help you resolve this problem.
... View more
02-25-2016
09:45 AM
|
0
|
3
|
1318
|
|
POST
|
If your machine is same domain with your print service then you don't need to. The reason I need is because my domain is out of your print service domain.
... View more
02-24-2016
03:08 PM
|
0
|
5
|
1318
|
|
POST
|
Hi Ashley, Two thing you need to change from this sample: Print templates with esri.request | ArcGIS API for JavaScript 1. Enable CORS or add proxy: //esriConfig.defaults.io.proxyUrl = "http://yourproxy/proxy.ashx";
esriConfig.defaults.io.corsEnabledServers.push("conservationgis.alabama.gov"); 2. Like I mentioned, or you may already did it: app.printer = new Print({
"map": app.map,
"async": true, And it should work. Here is the screenshot that using your print service.
... View more
02-24-2016
01:36 PM
|
0
|
7
|
1318
|
|
POST
|
Hi Doug, I do check our API documentation and previous thread on Geonet, Unfortunately, the legend dijit only supports tiled, dynamic, kml and feature layers. Legend | API Reference | ArcGIS API for JavaScript However, the workaround is create a feature layer from a feature collection and you'll be able to use that with the legend dijit. According to the old thread: Legend for Graphics Layer Try this: http://jsfiddle.net/6R3T8
... View more
02-23-2016
04:29 PM
|
0
|
0
|
1430
|
|
POST
|
Hi Priya, Have you tried to take a look about this sample DataGrid with zoom button | ArcGIS API for JavaScript
... View more
02-22-2016
04:06 PM
|
1
|
1
|
857
|
|
POST
|
Hi Douglas, The LegendLayer in Print Template is normally used for specific feature layer that you already define with the renderer. For instance, in your scenario, when user select the dropdown to define the renderer. You should give that featurelayer an id, then attach the renderer to that layer. Then add the layer to map. Later, you need to define a new legend as LegendLayer, and follow this doc to define the legendLayer id match with the featurelayer that you previous assign with the renderer. LegendLayer | API Reference | ArcGIS API for JavaScript: var stateLegend = new LegendLayer();
stateLegend.layerId = "FL"; Then add this line into layoutOptions: "legendLayer": stateLegend For a similar sample about using legendLayer, you can take a look about this sample: developer-support/ModifyPrintLegend_preCallback.html at master · Esri/developer-support · GitHub Hope this can help!
... View more
02-22-2016
03:59 PM
|
1
|
2
|
1430
|
|
POST
|
Hi Jenna, The issue is you directly running the application with the local file path. You need to put the file under your local server folder, for example, the default folder path is C:\inetpub\wwwroot and when you running the app, you should put your localhost or your fully qualify domain. For example: http://yourMachineName.domain.com/land-use-public-notification-master/default.htm Here I attached two screenshots to illustrate my words: This is wrong path: This is right way to load the application:
... View more
02-22-2016
02:07 PM
|
1
|
1
|
1278
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-20-2015 10:15 AM | |
| 1 | 07-31-2015 08:53 AM | |
| 1 | 01-28-2016 04:55 PM | |
| 1 | 02-22-2016 02:07 PM | |
| 1 | 05-20-2015 04:54 PM |
| Online Status |
Offline
|
| Date Last Visited |
06-27-2025
09:24 AM
|