|
POST
|
Have you seen the samples that use ArcGIS.com web maps?
... View more
09-25-2013
06:03 AM
|
0
|
0
|
807
|
|
POST
|
Not that I'm aware. There is this sample that uses the Geolocation API to get the current location. Thanks for the upvote, but you should click on the check mark. This will help other users find which questions have been answered. Take a look at this page for more information.
... View more
09-25-2013
05:50 AM
|
0
|
0
|
1859
|
|
POST
|
The documentation on the parameters for geoprocessing tools has never been very good. Usually, when I run into a problem with the syntax, the first thing I'll do is to manually run the tool in ArcMap. I'll open the Results dialog and examine the messages for the Executing statement. This is the best way to figure out how the parameters should be entered for the different properties.
... View more
09-24-2013
11:49 AM
|
0
|
0
|
770
|
|
POST
|
Glad to help. Don't forget to click the check mark to signify the question was answered.
... View more
09-24-2013
06:40 AM
|
0
|
0
|
1859
|
|
POST
|
The first thing you have to remember when adding in modules in "require" is that the arguments in the function have to be in the same order. You had function (Map, Graphic, FeatureSet, ServiceAreaParameters, ServiceAreaTask, SimpleMarkersSymbol, SimpleLineSymbol, Point, SimpleFillSymbol, Color, ServiceAreaSolveResult) but it should be function (Map, Graphic, FeatureSet, ServiceAreaSolveResult, ServiceAreaParameters, ServiceAreaTask, SimpleMarkersSymbol, SimpleFillSymbol, SimpleLineSymbol, Point, Color) Next, you should add in another module to signal that the DOM is ready. Take a look at this article to get a better understanding of which one you should use. In your code, I just added in "dojo/domReady!" at the end and the page came up correctly. require(["esri/map", "esri/graphic", "esri/tasks/FeatureSet", "esri/tasks/ServiceAreaSolveResult", "esri/tasks/ServiceAreaParameters", "esri/tasks/ServiceAreaTask", "esri/symbols/SimpleMarkerSymbol", "esri/symbols/SimpleFillSymbol", "esri/symbols/SimpleLineSymbol", "esri/geometry/Point", "dojo/_base/Color", "dojo/domReady!" ], function (Map, Graphic, FeatureSet, ServiceAreaSolveResult, ServiceAreaParameters, ServiceAreaTask, SimpleMarkerSymbol, SimpleFillSymbol, SimpleLineSymbol, Point, Color) { Also, the argument "SimpleMarkersSymbol" in your function did not match how you called it later var markerSymbol = new SimpleMarkerSymbol( SimpleMarkerSymbol.STYLE_CROSS, 22, new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([0, 128, 0]), 4));
... View more
09-24-2013
05:12 AM
|
0
|
0
|
1859
|
|
POST
|
Instead of using dojo.query, try using dijit/registry/findWidgets instead.
... View more
09-23-2013
11:21 AM
|
0
|
0
|
1637
|
|
POST
|
Tate, Take a look at the Fiddle I created that shows different layers in "attribute tables". It puts the results of an IdentifyTask on each layer that have different fields into a dgrid on separate tabs. None of the fields are hard coded, since is designed to work the same way with different map services. The only issue with this Fiddle is that it doesn't render the tab correctly, but it works properly in my final application.
... View more
09-23-2013
06:19 AM
|
0
|
0
|
941
|
|
POST
|
The popup is already configured so that if an array of results is put into it, it will scroll through all of them. Take a look at this sample. If you zoom out farther (4 or 5 levels), you'll see this functionality. Or are you trying to do something else?
... View more
09-18-2013
11:35 AM
|
0
|
0
|
520
|
|
POST
|
But the sample code does not include "ready" in the function, either
require([
"esri/map", "esri/tasks/locator", "esri/graphic",
"esri/InfoTemplate", "esri/symbols/SimpleMarkerSymbol",
"esri/symbols/Font", "esri/symbols/TextSymbol",
"dojo/_base/array", "dojo/_base/Color",
"dojo/number", "dojo/parser", "dojo/dom", "dijit/registry",
"dijit/form/Button", "dijit/form/Textarea",
"dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dojo/domReady!"
], function(
Map, Locator, Graphic,
InfoTemplate, SimpleMarkerSymbol,
Font, TextSymbol,
arrayUtils, Color,
number, parser, dom, registry
) {
Don't forget to click the check mark on Jeff's answer.
... View more
09-18-2013
07:55 AM
|
0
|
0
|
1462
|
|
POST
|
Take a look at this page about how to use the check mark and arrows to signify that a post answered your question or was helpful.
... View more
09-18-2013
07:18 AM
|
0
|
0
|
1205
|
|
POST
|
If you don't specify the name for the layer, the layer will get a name like that assigned to it, which is then used in the legend. <esri:Map> <esri:ArcGISDynamicMapServiceLayer id="dynamicCensusBlockPoints" name="Census Points" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/Parcels/MapServer"> <esri:visibleLayers> <s:ArrayCollection> <fx:Number>0</fx:Number> <!-- Only show this specific layer --> </s:ArrayCollection> </esri:visibleLayers> </esri:ArcGISDynamicMapServiceLayer> </esri:Map>
... View more
09-17-2013
01:07 PM
|
0
|
0
|
846
|
|
POST
|
For more information about the check boxes and arrows, take a look at this page.
... View more
09-17-2013
09:17 AM
|
0
|
0
|
2537
|
|
POST
|
The check mark (and up arrow) should show up on the right side of the messages [ATTACH=CONFIG]27509[/ATTACH]
... View more
09-17-2013
05:29 AM
|
0
|
0
|
2537
|
|
POST
|
You can avoid those symbols by putting the text in one of the wrappers such as CODE or QUOTE. The text interpreter transforms groups of characters such as : followed by ( as 😞
... View more
09-17-2013
05:10 AM
|
0
|
0
|
1524
|
| 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 |
Offline
|
| Date Last Visited |
8 hours ago
|