|
POST
|
Re-run got the HTTP error different, 302 at Host: js.arcgis.com and URL: /3.8/. From http://www.checkupdown.com/status/E302.html, it means Moved temporarily. How can it be solved?
... View more
01-29-2014
04:45 AM
|
0
|
0
|
1747
|
|
POST
|
This is the actually the same as my thread at http://forums.arcgis.com/threads/101596-Microsoft-JScript-runtime-error-xhrFailed-when-switch-V2.5-to-V3.5. But this one has a better title to describe the problem. When I switch JS V form 2.x to 3.x (e.g. 3.80), I got Error 502 - Bad Gateway at forums.arcgis.com//ajax.php?do=quickedit&p=361501. How can this be solved? Thanks.
... View more
01-29-2014
03:41 AM
|
0
|
5
|
4524
|
|
POST
|
Got Microsoft JScript runtime error: xhrFailed and Microsoft JScript runtime error: Object doesn't support this property or method when switch V2.5 to V3.x (e.g. 3.5 or 3.8). In V2.5 (or 2.7), I loaded the following 'requires' dojo.require("dijit.dijit"); // optimize: load dijit layer dojo.require("dijit.layout.BorderContainer"); dojo.require("dijit.layout.ContentPane"); dojo.require("dijit.form.Button"); dojo.require("esri.map"); dojo.require("esri.layers.FeatureLayer"); dojo.require("esri.dijit.BasemapGallery"); dojo.require("dijit.TitlePane"); dojo.require("esri.tasks.query"); dojo.require("dojo.data.ItemFileReadStore"); dojo.require("dijit.layout.AccordionContainer"); dojo.require("agsjs.dijit.TOC"); In V3.x, added the 2 below: dojo.require("dojo.dom"); dojo.require("dojo.domReady!"); When I run the program, it breaks at init.js[dynamic] Line 265: require({cache:{"esri/layers/TimeReference":function(){ ... } - as long as hundreds of lines. Then I opened Fiddler2. After the result of 302 on js.arcgis.com /3.8/, I got some result of 502, e.g. the 1st one on forums.arcgis.com//ajax.php?do=quickedit&p=361501 The 502 means Bad Gateway. Hopefully, you can share your experience to help me this issue. Thanks in advance.
... View more
01-28-2014
05:21 AM
|
0
|
2
|
4385
|
|
POST
|
I tested j.quinn's approach but the error exists. However, I re-created a mxd and got the map service published. For whatever reason, this problem was gone. By the way, in my re-created one, the Annotation Groups: Default is on. Thanks to j.quinn's response.
... View more
01-27-2014
07:43 AM
|
0
|
0
|
1112
|
|
POST
|
Referring to ESRI Help topic: http://resources.arcgis.com/en/help/main/10.1/index.html#//00sq00000027000000 Still unsolved. Hopefully, someone can hint me how to solve this problem.
... View more
01-27-2014
06:20 AM
|
0
|
0
|
1112
|
|
POST
|
Using API 3.8 causes some bugs. e.g. at dojo.require("dijit.dijit");
... View more
01-27-2014
06:11 AM
|
0
|
0
|
1245
|
|
POST
|
This is a Bug Report on the css: http://serverapi.arcgisonline.com/jsapi/arcgis/2.4/js/dojo/dijit/themes/claro/claro.css When I use it, the characters in my TOC do not display. I have to switch it to http://serverapi.arcgisonline.com/jsapi/arcgis/2.1/js/dojo/dijit/themes/claro/claro.css
... View more
01-27-2014
05:20 AM
|
0
|
4
|
1557
|
|
POST
|
I want to publish a map service with the scale with the maximum scale 1:500 or 1:1000. I did the setup in ArcMap. However, when I tried to publish it as a service, I got a High Severity Error in the Service Editor: Analyze: Code 00014 Annotation layer does not draw in table of contents order. How can this be solved? Thanks.
... View more
01-27-2014
03:48 AM
|
0
|
3
|
2944
|
|
POST
|
kenbuja: Thanks for your response. Your answer has been credited. However, I also got another solution by loading the TOC component sourced from http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/2.04/examples/toc.html
... View more
01-24-2014
08:59 AM
|
0
|
0
|
970
|
|
POST
|
I created a mayservice (containing only 1 layer) a couple of days ago, and I could add it as a operational layer by: var operationalLayer = new esri.layers.ArcGISDynamicMapServiceLayer(serverURL, { "opacity": 0.5 } ); ... map.addLayers([basemap, operationalLayer, featureLayer]); After I updated the mapservice to hold multiple layers. Then I revised the code as var operationalLayer = new esri.layers.ArcGISDynamicMapServiceLayer(serverURL + "/0", { "opacity": 0.5 } ); where the '/0' points to the layer to be added. However, in this way, the operational layer is not added or displayed. What's wrong I did here? Thanks if you can point out.
... View more
01-24-2014
08:08 AM
|
0
|
3
|
1265
|
|
POST
|
By referring ESRI's sample, I added a FeatureLayer layer. But the FeatureLayer does not display and the infoWindow does not popup. The related code is below: var content = "<b>Service Line</b>: ${SERVICE_LINE} <br/>" + "<b>Segment</b>: ${TRACK_SEGMENT}" + "<b>Length (ft)</b>: ${Shape_Length}"; var infoTemplate = new esri.InfoTemplate("${TRACKNAME}", content); map.infoWindow.resize(200, 80); var featureLayer = new esri.layers.FeatureLayer(serverURL + "/0", { mode: esri.layers.FeatureLayer.MODE_ONDEMAND, outFields: ["OBJECTID", "TRACKNAME", "Shape_Length", "TRACK_SEGMENT", "SERVICE_LINE"], infoTemplate: infoTemplate }); map.addLayers([basemap, featureLayer]); I doubled checked and am sure the URL is correct. I also load the required dojo items. Did I miss something? Thanks if you help.
... View more
01-24-2014
05:34 AM
|
0
|
4
|
4386
|
|
POST
|
Prob. 1) got solved by adding <style> .... #basemapGallery { overflow: auto; } </style> or <style> .... #rightPane { overflow:auto; } </style>
... View more
01-22-2014
10:17 AM
|
0
|
0
|
971
|
|
POST
|
I borrowed ESRI BAAJ template and created a map page. But I got 2 problems: 1) The scrollbar of the Right Panel is missing. The related code is below: <div id="rightPane" dojotype="dijit.layout.ContentPane" region="right" overflow: auto;> ... </div> and <div dojotype="dijit.TitlePane" title="Switch Basemap" open="false"> <div id="basemapGallery" style="overflow:auto;"></div> </div> How can the scrollbar be added? 2) The center panel is container for the map. But it is not well-sizable (e.g. the height and width have maximum values). <div id="map" dojotype="dijit.layout.ContentPane" region="center" style="overflow:hidden;"> </div> How can this problem be solved. Thanks in advance if you can hint me.
... View more
01-22-2014
09:46 AM
|
0
|
2
|
1173
|
|
POST
|
Jon: Thanks. will follow your direction. I usually use http://www.codeproject.com/Questions/. It is a very good site.
... View more
01-22-2014
08:39 AM
|
0
|
0
|
1411
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-18-2023 10:02 AM | |
| 3 | 07-14-2023 12:29 PM | |
| 1 | 04-02-2021 12:16 PM | |
| 1 | 07-24-2017 11:31 AM | |
| 1 | 04-04-2016 03:59 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-01-2025
11:58 AM
|