|
POST
|
jeff is definitely right, but our client web api's are supposed to simplify the process of constructing requests like these, so you might also consider checking out the Class Breaks renderer from this sample (and possibly even adapting it to build the Unique Value renderer clientside as well).
... View more
08-23-2013
10:41 AM
|
0
|
0
|
1726
|
|
POST
|
i've logged a defect with regard to this problem. [NIM094284: Bing address locator always uses HTTP] in the meantime, you could use a technique similar to what is described in the forum thread Vinay linked to to manually update the url for the request in your code. esriRequest.setRequestPreCallback(myCallbackFunction);
...
function myCallbackFunction(ioArgs) {
if (ioArgs.url == "http://serverapi.arcgisonline.com/veadaptor/production/services/geocode/geocode") {
ioArgs.url = "https://serverapi.arcgisonline.com/veadaptor/production/services/geocode/geocode";
}
// don't forget to return ioArgs.
return ioArgs;
} sorry for the inconvenience!
... View more
08-23-2013
09:28 AM
|
0
|
0
|
1993
|
|
POST
|
@mark, the failed request to https://services.arcgisonline.com/ArcGIS/rest/info?f=json is not a request for a tile, but rather a request to the root of ArcGIS Server itself for some basic information in JSON. unfortunately, this means it doesn't have anything to do with the problem in your app.
... View more
08-22-2013
12:54 PM
|
0
|
0
|
1537
|
|
POST
|
@avery please check out this thread where i explained to another user how to set the placeholder after the widget startup based on the div's dojo id.
... View more
08-22-2013
09:47 AM
|
0
|
0
|
2431
|
|
POST
|
jeff is correct. if you publish a map service to ArcGIS Server and load it in a JavaScript application as an ArcGISDynamicMapServiceLayer, our API handles the requests for you based on the current extent of the map. check out this sample for an example in action.
... View more
08-22-2013
09:41 AM
|
0
|
0
|
1726
|
|
POST
|
glad to hear it. please consider marking this thread as 'answered'.
... View more
08-21-2013
10:40 AM
|
0
|
0
|
1649
|
|
POST
|
actually, i changed my mind. after i updated your app to use the current version of our API, rather than version 1.6, the console notified me that a proxy was necessary, and after adding it i got a valid response from the network analyst service. <!--script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=1.6"></script--> <script type="text/javascript" src="http://js.arcgis.com/3.6/"></script> <link rel="stylesheet" href="http://js.arcgis.com/3.6/js/esri/css/esri.css">
... View more
08-21-2013
09:12 AM
|
0
|
0
|
1649
|
|
POST
|
sounds like my speculation about the proxy was off base then. what happens when you truncate the stop coordinates to 6 or 7 decimal places? you are currently sending quite a few significant digits..
... View more
08-21-2013
09:04 AM
|
0
|
0
|
1649
|
|
POST
|
hopefully you aren't being forced to reorder layers in a service to accomplish something like this too often. its a cartographic best practice to order based on geometry in the map itself. http://resources.arcgis.com/en/help/main/10.1/index.html#//006600000006000000 excerpt from the help article above: A typical map might have an image or a terrain base (such as shaded relief or elevation contours) near the bottom. Next, comes basemap polygon features, followed by line and point features near the top.
... View more
08-21-2013
08:12 AM
|
0
|
0
|
2549
|
|
POST
|
are you referencing a valid proxy in your application? i have a hunch you're exceeding the limit of what can be sent without POSTing.
... View more
08-20-2013
08:21 AM
|
0
|
0
|
1649
|
|
POST
|
since you aren't working with clientside geometries when using ArcGISDynamicMapServiceLayer, what is the benefit of knowing their type?
... View more
08-20-2013
07:29 AM
|
0
|
0
|
2549
|
|
POST
|
Jason's example uses the AMD technique of loading a module and then defining a variable (ex. "Extent") to refer to it afterward. if you are using the legacy dojo.require(), you would need to mention the fully qualified name when instantiating your extent object. example: mapOptions: {
extent: new esri.geometry.Extent({...
xmin:1577660.2638056062,
... the best way to check for the cause of errors like this is to look in the console of your browser developer tools. they usually mention that 'Extent' or similar is not defined.
... View more
08-20-2013
07:28 AM
|
0
|
0
|
2339
|
|
POST
|
its probably not going to solve the specific problem you're inquiring about, but it seems problematic to me that you use the legacy dojo.require() to load most of your modules, then AMD load a few more at line 253. is there a particular reason why you're doing this? it seems like it would be a lot more straightforward to set these properties at the beginning of your init() function at line 150 instead esri.config.defaults.io.proxyUrl = "/proxy.ashx";
esri.config.defaults.io.alwaysUseProxy = false;
...
esri.config.defaults.map.zoomRate regarding your actual question... its kind hard to tell whats going on since the featureLayer which triggers the workflow isn't actually shared publicly. perhaps you can try substituting a public service and perhaps even simplifying the code?
... View more
08-19-2013
03:49 PM
|
0
|
0
|
863
|
|
POST
|
feel free to log a support call. im on the phones right now. 🙂
... View more
08-16-2013
10:12 AM
|
0
|
0
|
3964
|
|
POST
|
the IE10 specific bug you found affects AMD style maps only, and relates to a problem with the measurement widget in general, not to snapping. here is the tracking number for the issue i logged a few minutes ago on your behalf. [NIM093983: Measurement widget doesn't display area calculations in IE10 (AMD apps only).] i realized this morning after clearing my browser cache that non-AMD apps aren't functioning correctly either. the bug has been updated to acknowledge that the measurement widget is not functioning correctly in IE10 for apps that use any load pattern and our development team is working on a fix.
... View more
08-16-2013
10:02 AM
|
0
|
0
|
428
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-16-2014 02:35 PM | |
| 1 | 03-15-2013 04:25 PM | |
| 1 | 06-01-2016 10:51 AM | |
| 1 | 12-28-2015 04:46 PM | |
| 1 | 12-28-2015 05:26 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|