|
POST
|
ArcGIS Server: 10.1 Description: Logged on as ArcGIS Server admin and then tried to add (SOE) extensions in ArcGIS Server Manager in the production server's. Problem: After clicking the 'Add Extension' button and then loading the soe file from C:\...\, Clicked the 'Add' button. Then I got IE warning message (see the image) [ATTACH=CONFIG]31836[/ATTACH]. The message shows the blocked site is about:blank, but actually it is http://localhost that is in the list of my IE's Trusted site zones. Question: What security setting should be done to eliminate the blocking? Thanks if you can help.
... View more
02-27-2014
03:46 AM
|
0
|
2
|
2566
|
|
POST
|
In one page in my web project, the map displays well on IE but not does not on Firefox. The MS VS warning message is below: Unable to edit 'http://js.arcgis.com/3.8/js/esri/css/esri.css'. The stylesheet must be part of the current project and the project must be a Web Site or Web Application. I use VS 2010. I tried to load the css locally rather than through internet, but the warning is still the same. How can this problem be solved? Thanks in advance if you can share your experience.
... View more
02-21-2014
04:11 AM
|
0
|
0
|
994
|
|
POST
|
Actually the noLayers property is useful in some cases. I wish this can be added in new released API. Thanks to all of the responders. Credit goes to kenbuja.
... View more
02-06-2014
02:04 AM
|
0
|
0
|
709
|
|
POST
|
I just re-tested the code in http://gmaps-utility-gis.googlecode....mples/toc.html, where the API used is 2.4. If noLayers: true, the sublayers of a layer will not display. In V3.x, the noLayers property is not there. In 3.x use collapsed: true, collapsed - whether to collapsed the rootLayer layer at beginning. default is false, which means expand if visible, collapse if not.
... View more
02-05-2014
10:12 AM
|
0
|
0
|
2690
|
|
POST
|
kenbuja: Thanks for your response. See http://gmaps-utility-gis.googlecode.com/svn-history/r354/trunk/agsjs/docs/toc/examples.html TOC without Legend:
var toc = new agsjs.dijit.TOC({
map: map,
layerInfos: [{
layer: operational,
title: "Operational Layers",
noLegend:true
},{
layer: basemap,
title:'Base Map',
noLayers: true
}]
}, 'tocDiv');
and the sample code at http://gmaps-utility-gis.googlecode.com/svn-history/r354/trunk/agsjs/examples/toc.html I remember that the noLayers property worked as I use API 2.x (e.g. 2.1, 2.4 and 2.7).
... View more
02-05-2014
09:58 AM
|
0
|
0
|
2690
|
|
POST
|
Jon: Hardly understand your response. Please be professional with proper attitude to anyone's posted thread. In general, you are a very helpful so that I do respect you a lot. However, turning some technical issue to something else could hurt people. Thanks for your response and also some valuable recommendations.
... View more
02-05-2014
09:28 AM
|
0
|
0
|
2690
|
|
POST
|
jon: Hopefully, you can point out the fault in this piece of code below: dojo.connect(map, 'onLayersAddResult', function (results) { var sliderTOC = new agsjs.dijit.TOC({ map: map, layerInfos: [{ layer: operational, title: "LRS Rail", noLayers: true, slider: true }, { layer: operational2, title: "LRS Annotation", noLayers: true }, { layer: basemap, title: "BaseMap", noLayers: true, slider: true }], style: 'inline' }, 'sliderDiv'); sliderTOC.startup(); }); Thanks.
... View more
02-05-2014
09:08 AM
|
0
|
0
|
2690
|
|
POST
|
Looks to be a simple and stupid mistake I had: I commented out dojo.require("esri.layers.GraphicsLayer"); Removed the //, the error was gone.
... View more
01-31-2014
10:01 AM
|
0
|
0
|
587
|
|
POST
|
The solution was found to be at http://forums.arcgis.com/threads/101596-Microsoft-JScript-runtime-error-xhrFailed-when-switch-V2.5-to-V3.5
... View more
01-31-2014
08:51 AM
|
0
|
0
|
1743
|
|
POST
|
Updated my script in API V3.8. The prob. was identified to be dojo.require("agsjs.dijit.TOC"); In V3.8, it needs defining the 'agsjs' var djConfig = { parseOnLoad: true, baseUrl: './', modulePaths: { 'agsjs': 'http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/latest/build/agsjs' //'agsjs': 'http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/1.04/build/agsjs' // in V2.x } };
... View more
01-31-2014
08:45 AM
|
0
|
0
|
1202
|
|
POST
|
Got a failure to add a graphicsLayer on the map. This piece of code worked well several days ago. I don't know why it breaks. The related code is below: var queryFeatures = featureSet.features; for (var i = 0; i < queryFeatures.length; i++) { queryFeatures.setSymbol(querySymbol); gLayer.add(queryFeatures); } map.addLayers([gLayer]); When I run debugging, at map.addLayers([gLayer]); I can view that the gLayer (GraphicsLayer) does have 27 records. After I press F10 to continue the debugging, it shows catch(g) g - undefined Hopefully, I can get a hint from you. Thanks in advance.
... View more
01-31-2014
06:43 AM
|
0
|
1
|
945
|
|
POST
|
In TOC, for a layer, I set noLayers: true to simplify the layer's info. It works well when I used API 2.x. But in V3.8, this setup losses function. Could someone hint me how to fix it? Thanks.
... View more
01-30-2014
08:58 AM
|
0
|
12
|
3766
|
|
POST
|
Ken: Thanks for your time to review. I have solved this problem already just by multiple tries. Your info about JSBin is very useful. You feedback is to be credited as 'Solved'.
... View more
01-30-2014
08:51 AM
|
0
|
0
|
1990
|
| 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
|