| bio | website | |
|---|---|---|
| location | London, United Kingdom | |
| age | 29 | |
| visits | member for | 1 year, 6 months |
| seen | May 13 at 17:22 | |
| stats | profile views | 18 |
GIS Developer in London at Exprodat
|
Apr 10 |
revised |
CORS issue ArcGIS 10.1 IIS (Cross Origin Resource Sharing) Added more detail |
|
Apr 10 |
comment |
CORS issue ArcGIS 10.1 IIS (Cross Origin Resource Sharing) I've also tried using a dynamic layer rather than a feature layer and that has the same issue. If the site is hosted on the same server as the data there are no errors. Using chrome.exe --disable-web-security (do not enforce cors policy) the requests are fine. This is what leads me to believe it is an issue with coors and the request. |
|
Apr 10 |
comment |
CORS issue ArcGIS 10.1 IIS (Cross Origin Resource Sharing) I think you are probably right that the first two errors should be ignored as ESRI say these are expected. However, the error _557 coming from the framework seems to be the issue. I get the same error in version 3.3 & 3.4 |
|
Apr 10 |
comment |
CORS issue ArcGIS 10.1 IIS (Cross Origin Resource Sharing) Sorry I should have mentioned I did see that. The service does fail to load. I will post the error from Firefox. It does not fail in IE |
|
Apr 9 |
comment |
CORS issue ArcGIS 10.1 IIS (Cross Origin Resource Sharing) @DevdattaTengshe I've edited the post above |
|
Apr 9 |
revised |
CORS issue ArcGIS 10.1 IIS (Cross Origin Resource Sharing) Added image of request |
|
Apr 9 |
revised |
CORS issue ArcGIS 10.1 IIS (Cross Origin Resource Sharing) added 11 characters in body |
|
Apr 9 |
comment |
CORS issue ArcGIS 10.1 IIS (Cross Origin Resource Sharing) Yes I have both the crossdomain.xml clientaccesspolicy.xml files as configured by the ArcGIS server install. However, it is my understanding that these files relate to Flex and silverlight applications (link). I will edit question to make it clear that I am talking about JS only resources.arcgis.com/en/help/install-guides/arcgis-server/10.1/… |
|
Apr 9 |
asked | CORS issue ArcGIS 10.1 IIS (Cross Origin Resource Sharing) |
|
Mar 14 |
answered | How can I get the map to repeat to fill the screen? |
|
Feb 26 |
awarded | Critic |
|
Feb 13 |
comment |
ArcGIS JS API: Convert ESRI Date Type into String Rather than looping through all of the features I would use a formatter on the field. For a large dataset you are adding an uncesssary loop through the data. See Formatter on dojotoolkit.org/reference-guide/1.8/dojox/grid/DataGrid.html |
|
Jan 22 |
comment |
Esri Query Task service does not display So in answer to your original question why does the basemap not show, perhaps it is that you are not using the latest version of the API? |
|
Jan 22 |
comment |
Esri Query Task service does not display Appologies, you need to be clear on which version of the API you are trying to use too. Version 3.3 was just released this week and I haven't looked at it. Seems there are some changes to the map object. Fiddle updated to use version 3.3 and set the extent. jsfiddle.net/dave_wilton/mSQHp |
|
Jan 21 |
revised |
Esri Query Task service does not display deleted 4 characters in body |
|
Jan 21 |
answered | Esri Query Task service does not display |
|
Jan 16 |
answered | How are Google serving up their Styled Maps? |
|
Jan 15 |
answered | How to auto-add new values to unique values classification values range? |
|
Jan 9 |
comment |
featureLayer.fields is undefined See help.arcgis.com/en/webapi/javascript/arcgis/help/… |
|
Jan 9 |
comment |
featureLayer.fields is undefined Jamie is correct, the layer does not load instantly you should be listening to the event to check when it has loaded: aspect.after(layer, "onLoad", lang.hitch(this, function (addlayer) { alert(addlayer.fields.length); }), true); |