|
POST
|
I'm sorry about that. Although that's what the documentation said, I should have tested it first. Try this instead #grid .dojoxGridHeader { display:none; }
... View more
09-13-2013
08:23 AM
|
1
|
0
|
1470
|
|
POST
|
Glad to help. Don't forget to mark the question as answered to help others in the future.
... View more
09-13-2013
06:05 AM
|
0
|
0
|
2537
|
|
POST
|
The standard Esri basemaps are "streets" , "satellite" , "hybrid", "topo", "gray", "oceans", "national-geographic", "osm". This is listed in the Map constructor basemap option. From the BaseMap Gallery help All basemaps added to the gallery need to have the same spatial reference. If the default ArcGIS.com basemaps are used then all additional items added to the gallery need to be in Web Mercator (wkids: 102100, 102113 and 3857). If the default basemaps are not used you can add basemaps in any spatial reference as long as all the items added to the gallery share that spatial reference. To achieve the best performance, it is recommended that all basemaps added to the gallery are cached (tiled) layers.
... View more
09-13-2013
05:49 AM
|
0
|
0
|
2537
|
|
POST
|
You can hide the header in css .dojoxGrid-header { display:none; }
... View more
09-12-2013
12:52 PM
|
0
|
0
|
1470
|
|
POST
|
What happens if you put that line inside the map's load event? I would sometimes have problems when calling a map's properties before it had time to load.
... View more
09-12-2013
12:02 PM
|
0
|
0
|
651
|
|
POST
|
If you're trying to get the extent of the features within that particular layer, you can use the QueryTask to return all the features and set the extent from those features queryTask = new esri.tasks.QueryTask("http://service.ncddc.noaa.gov/arcgis/rest/services/OceanExploration/regatlasSATL/MapServer/5"); query = new esri.tasks.Query(); query.returnGeometry = true; query.outFields = ["zkdiveid"]; query.where = "1=1"; queryTask.execute(query, function (fset) { map.setExtent(esri.graphicsExtent(fset.features)); });
... View more
09-11-2013
10:24 AM
|
0
|
0
|
2662
|
|
POST
|
The fiddle doesn't work for me. It just stays on South Carolina, no matter which button I push. I changed my code to switch my filter expression to
buildingLayer.setDefinitionExpression(" ");
Instead of showing all features, it shows none at all. Try using this instead buildingLayer.setDefinitionExpression("");
... View more
09-10-2013
07:49 AM
|
0
|
0
|
3352
|
|
POST
|
Since the initial checked property of the check box is set by the layer's visibility, the easy way to do it is to set the visibility of the layers to false when they are created. var quakeLayer = new esri.layers.ArcGISDynamicMapServiceLayer("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/EarthquakesFromLastSevenDays/MapServer", {id:'quakes', visible: false}); var fireLayer = new esri.layers.ArcGISDynamicMapServiceLayer("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer", {id:'fire', visible: false});
... View more
09-10-2013
05:16 AM
|
0
|
0
|
997
|
|
POST
|
Thanks, In my final project, I did include the DijitRegistry in the dGrid declaration.
... View more
09-10-2013
05:03 AM
|
0
|
0
|
3911
|
|
POST
|
You can set the combobox to the first item in the list this way myComboBox.SelectedIndex = 0
... View more
09-09-2013
12:27 PM
|
1
|
0
|
5886
|
|
POST
|
I was able to solve the content/header overlap by firing the "datagrid.renderArray(data)" command after adding the dgrid to the ContentPane and firing "cp.startup". This version of the Fiddle shows the correct syntax.
... View more
09-09-2013
12:05 PM
|
0
|
0
|
3911
|
|
POST
|
This problem was eventually solved by wrapping the map initialization in a setTimeout function. The root of the problem seemed to be that the project has two scripts. The first reads in the configuration file using esriRequest and the second does the map initialization based on values read from the configuration file. It seems the map initialization was happening before the request was finished. Rewriting the code into a single script solved the problem in the end.
... View more
09-09-2013
11:51 AM
|
0
|
0
|
1594
|
|
POST
|
You can use esri.graphicsExtent to get the extent from an array of graphics. Just be warned that it won't work as expected if there is only one point in the graphics array.
... View more
09-09-2013
11:33 AM
|
0
|
0
|
2662
|
|
POST
|
Jason, Instead of using a geometry service to union the extents together, why not just use the Extent's Union method (assuming the extents have the same spatial reference)
... View more
09-09-2013
07:59 AM
|
0
|
0
|
2662
|
|
POST
|
For another way to do this, take a look at this post showing how to use a DeferredList with multiple services.
... View more
09-09-2013
05:55 AM
|
0
|
0
|
870
|
| Title | Kudos | Posted |
|---|---|---|
| 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 | |
| 1 | 10-11-2023 06:18 AM |
| Online Status |
Online
|
| Date Last Visited |
9 hours ago
|