|
POST
|
You should mark the question as answered, even if it's your own post that's the answer. This will help others as they search on this topic in the future.
... View more
06-05-2014
07:10 AM
|
0
|
0
|
2355
|
|
POST
|
You'll have to run the IdentifyTask on each of the layers that you've added. Take a look at this thread to see how to do it. Also, you can look at this example (but it was written in legacy style)
... View more
06-05-2014
05:54 AM
|
1
|
0
|
8377
|
|
POST
|
Which Chrome version? I've tested the JSBin in IE 10.0.16, Firefox 24.5.0, and Chrome 34.0.1847.137 (gotta love corporate restrictions!) and it worked properly in all three.
... View more
06-04-2014
08:16 AM
|
0
|
0
|
4741
|
|
POST
|
The code worked properly for me (after I changed the path for agsjs) when I ran it through Visual Studios. But when I copied it over to JSBin, the toc.on load function didn't fire. Then I commented out the other alerts and it ran properly. One other thing I noticed (but had no effect on it) is you're using the 3.8 JSAPI, but you're using 3.9 stylesheets.
... View more
06-04-2014
08:00 AM
|
0
|
2
|
4741
|
|
POST
|
This sample shows how to apply different InfoTemplates to features from different layers returned from an IdentifyTask.
... View more
06-04-2014
05:55 AM
|
0
|
0
|
695
|
|
POST
|
You're mixing versions of the stylesheets and the version of the JSAPI
<link rel="stylesheet" href="http://js.arcgis.com/3.9/js/dojo/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.9/js/dojo/dijit/themes/nihilo/nihilo.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.9/js/esri/css/esri.css">
<link rel="stylesheet" href="css\MyMobileMaps.css">
<link rel="stylesheet" type="text/css" href="https://community.esri.com//js.arcgis.com/3.9/js/dojo/dojox/layout/resources/FloatingPane.css">
<link rel="stylesheet" type="text/css" href="https://serverapi.arcgisonline.com/jsapi/arcgis/3.4/js/dojo/dojox/layout/resources/ResizeHandle.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.9/js/dojo/dojox/grid/resources/Grid.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.9/js/esri/css/esri.css">
<script src="http://js.arcgis.com/3.8/"></script>
You also might want to use the latest version of the TOC control packages: [{
"name": "agsjs",
"location": 'http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/latest/build/agsjs' // for xdomain load
}] Also, check your require statement. There are a couple of funky things in there. For example, "dojo/domReady!" should be at the end and doesn't need a corresponding argument in the function. See this blog for more information. Also you have a couple of modules that don't follow the syntax convention of using "/" instead of "."
"dojo.fx",// needed if use jsapi 3.0
"esri.arcgis.utils",
"dijit.form.ToggleButton",
"dijit.TitlePane"
... View more
06-04-2014
04:54 AM
|
0
|
0
|
1269
|
|
POST
|
When I tried to open your map, I got many errors in Firebug [ATTACH=CONFIG]34315[/ATTACH]
... View more
06-03-2014
11:51 AM
|
0
|
0
|
1257
|
|
POST
|
You could use a special character pMenuBar.addChild(new PopupMenuBarItem({ label: "File ???", popup: pSubMenu }));
... View more
06-03-2014
07:19 AM
|
0
|
0
|
1647
|
|
POST
|
Have you included the references to these other css files in the HTML code? That would be something like
<link rel="stylesheet" href="css/iPhone.css">
<link rel="stylesheet" href="css/pavement.css">
... View more
06-03-2014
05:42 AM
|
0
|
0
|
1365
|
|
POST
|
I'm happy to be of assistance. When posting questions on the forum, be sure to indicate whether you've been helped by clicking on the check mark and/or the up arrow. Please see this page for more information. By marking a post as having answered your question, you'll help those searching on this same issue in the future.
... View more
06-02-2014
12:07 PM
|
0
|
0
|
1039
|
|
POST
|
The tools and extension produced by users can be found on ArcGIS.com, but as you can see from this thread, there have been many complaints about the ease-of-use of the new repository. In that thread, you'll find some good tips on how to search for tools.
... View more
06-02-2014
09:58 AM
|
0
|
0
|
1039
|
|
POST
|
Here's an example that uses different templates on the same layer. You should be able to use the same logic to determine which layer is being shown in the infoWindow and use the correct template.
... View more
05-30-2014
09:03 AM
|
0
|
0
|
2171
|
|
POST
|
The simplest are these two samples. A slightly more complex example that has checkboxes for different services is here. From there you could look at a Table of Contents control like this.
... View more
05-30-2014
07:00 AM
|
0
|
0
|
2171
|
|
POST
|
Your syntax doesn't make sense if you're trying to add these as FeatureLayers. Unless the argument ArcGISDynamicMapServiceLayer is mapped to "esri/layers/FeatureLayer" in your require statement, shouldn't it be
var flWarbler1 = new FeatureLayer("https://fwisweb1.gov/arcgis/rest/services/Warbler_Map/Warbler_Map_Readonly/MapServer/0", {
mode: FeatureLayer.MODE_ONDEMAND,
outFields: ['*']
});
... View more
05-29-2014
07:50 AM
|
0
|
0
|
915
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 2 weeks ago | |
| 1 | 02-04-2025 06:39 AM | |
| 1 | 05-01-2026 08:26 AM | |
| 1 | 04-10-2026 12:01 PM | |
| 1 | 04-13-2026 09:11 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|