|
POST
|
See the Navigation Toolbar to do this out-of-the-box.
... View more
07-13-2012
02:18 AM
|
0
|
0
|
759
|
|
POST
|
Hi Dorothea, If the user now wants to click and zoom to another datagrid record the Show Find Task is no longer active. How can I track the function mode so it will work all the time? Right now the user has to clear the grid and start over with the Find Task. I'm not sure why the click listener is no longer active at this point. If you put a breakpoint inside the doIdentify function, is it definitely running when you click on the map? Steve
... View more
07-10-2012
06:02 PM
|
0
|
0
|
864
|
|
POST
|
Hi James, Assuming that your map has a tiled/cached layer, then it's only possible to zoom to an integer zoom level. If you do need an "infinite zoom" range, you'll need to use Dynamic or Feature layers only. Steve
... View more
07-10-2012
05:24 PM
|
0
|
0
|
3028
|
|
POST
|
The video shows using a local instance of IIS to run the sample. Notice that the html file is placed in the wwwroot directory (default location to serve files using IIS) and when it's loaded in the browser, the sample is accessed using http://, not file://. OK maybe the video wasn't a good example as I got frustrated by the slow clicking and stopped watching it before the end (or perhaps this makes it a good example after all, since most developers have short attention spans...) I won't labour the point, but my feedback is that it's possible many users will be confused by the new requirements, and it would help if there was some mention of this, somewhere. Cheers, Steve
... View more
07-09-2012
04:41 PM
|
0
|
0
|
3533
|
|
POST
|
Hi all, I guess the main problem is that this new requirement (to use a web server) isn't documented anywhere. Eg, the Samples homepage still links to a video showing how to download a sample and run it from your local disk. None of the individual samples have been updated to list the requirement for a web server. As of last week, we were all used to working a certain way, and now we need to change. That's not a problem, but there needs to be a clearer set of instructions on what's required. This affects both experienced developers (who are used to working the old way and new developers (who need to know how to get started). This could be remedied with a new "how to use these samples" video tutorial (and complementary text version) on the Samples homepage, showing how to set up a local web server. This should also be linked from each sample page. At the moment, developers would need to read this thread in order to figure out (a) what's wrong and (b) how to fix it. Cheers, Steve
... View more
07-08-2012
07:55 PM
|
0
|
0
|
3533
|
|
POST
|
***Are FeatureLayers created from featureCollection ( esri.layers.FeatureLayer(featureCollectionObject, options?) ) supposed to honor the definition expression or not?*** Possibly not. The help file under Feature Layer - feature collection objects says: Does not support queries that need to be performed on the server, e.g. queries with a where clause or non-extent based spatial queries.
... View more
07-08-2012
07:47 PM
|
0
|
0
|
1020
|
|
POST
|
I want to return the milepost location (or River Mile) at the map location that the user clicks on. Can I extract this information using the Identify task or do I need to use the esri.tasks.RouteTask option? Hi Steve, I'd assume that you need to use RouteTask. IdentifyTask is more like the Identify tool in ArcMap, in that it returns the value of a feature found at that XY location, rather than using a linear reference. Steve
... View more
07-05-2012
06:44 PM
|
0
|
0
|
910
|
|
POST
|
Please use a local web server. It's not realistic to run web apps from your local file system. There are plenty of free options and most OSes come with a web server built-in. Hi Derek, Thanks for the clarification. However, I agree with Jeff that this represents a new hurdle for developers (especially those just starting out with the JS API). While it's not realistic to run web apps from a local file system, it IS common to fire up a quick sample to check how one specific thing works, which is surely the point of the samples? This is how we test out new functionality before compiling it into a robust web app for deployment (not just in the ArcGIS Server JS API but in other web mapping APIs, or indeed other JavaScript/HTML libraries). I haven't looked into v3.0 yet so I don't fully understand the change, and why it was necessary. As a developer, all I can see is that the copy/paste/test approach used to work, and now doesn't. Perhaps there could be a blog post/tutorial explaining the changes, and giving some simple instructions for the new requirements of a web server - this could be linked on each sample page. Cheers, Steve
... View more
07-05-2012
12:46 PM
|
0
|
0
|
4445
|
|
POST
|
It looks like a batch process has been run over all of the sample scripts, eg the Hover sample, to upgrade them to use version 3.0 of the JS API. <link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.0/js/dojo/dijit/themes/claro/claro.css"> <script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.0"></script> This means that the samples no longer work when copy/pasting directly from the Esri site into a local file. [ATTACH=CONFIG]15775[/ATTACH] If I revert those lines to use 2.8 the sample works fine. Thanks, Steve
... View more
07-04-2012
07:53 PM
|
0
|
18
|
10406
|
|
POST
|
Thanks for the tip - looks like a reasonable workaround. Is it valid to depend on properties with an underscore (as with map._slider)? I always thought they were not fully supported and shouldn't be used? Cheers, Steve
... View more
07-04-2012
06:09 PM
|
0
|
0
|
809
|
|
POST
|
Is there a property on the map to show whether it is already at the maximum zoom level (that is, it's not possible to zoom in any further)? The map can return its current zoom level using map.getLevel(), but how can I determine whether this is the maximum level? (I'm looking for generic functionality so I can't guarantee that the map has LODs specified, and I can't guarantee that the Zoom slider is present - two workarounds I already considered) Thanks, Steve
... View more
07-03-2012
05:56 PM
|
0
|
3
|
1287
|
|
POST
|
The upgrade process is listed at http://resources.arcgis.com/en/help/main/10.1/index.html#//00rq0000004m000000
... View more
06-30-2012
11:59 PM
|
0
|
0
|
577
|
|
POST
|
I'm currently running ArcGIS Server 10.0 on the Amazon EC2 and I'd like to upgrade to 10.1 What is the correct/easiest upgrade process? The Resource Center lists http://resources.arcgis.com/content/arcgisserver/10.0/arcgis-server-amazon which refers to 10.0 only. Thanks, Steve
... View more
06-29-2012
11:42 PM
|
0
|
1
|
1179
|
|
POST
|
Matt, Can you manually/physically move the overlapping features? Eg using a geoprocessing script, or buffer, etc? Steve
... View more
05-23-2012
09:09 AM
|
0
|
0
|
4596
|
|
POST
|
Hi Raphael, I'd advise against doing what you're trying. The fact that the field name is long shouldn't matter to you (as a developer) since the end-user won't ever need to see the long field-name. They'll simply see the value of the long field in the infoWinow. A field-name is unique (ArcMap will throw an error if not) whereas aliases can be duplicated. The potential risk is that if you're trying to find a field by its alias you're not guaranteed to obtain the correct field. To rephrase this - why do you need to use the alias rather than the field-name in the infoWindow configuration? It seems like a lot of work for no real return. Cheers, Steve
... View more
05-23-2012
03:40 AM
|
0
|
0
|
1902
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-17-2014 08:45 PM | |
| 1 | 03-15-2011 04:23 PM | |
| 1 | 10-18-2019 12:50 AM | |
| 3 | 01-22-2019 02:33 PM | |
| 1 | 09-26-2011 10:36 PM |
| Online Status |
Offline
|
| Date Last Visited |
10-20-2022
12:19 AM
|