|
POST
|
based on the description you provided it sounds like the order of the array of layerIds supplied in the layoutOptions does not control layer order in the legend. Looking at the Export Web Map REST specification, no mention is made that the order of the layers supplied will control the order of layers in the legend. All this to say that the JavaScript API can't include this functionality until the capability is present in REST. this sounds like a valid enhancement to me. the most visible place to log issues like this is the Esri Ideas portal. We'd also be happy to log the request through technical support, but it would be helpful if you can provide a repro case for internal review.
... View more
12-10-2012
02:20 PM
|
0
|
0
|
1176
|
|
POST
|
heres a fiddle which demonstrates the usage of UniqueValueDefinition although the number of unique values, algorithm, fromColor, and toColor can be modified to generate different results, This is not a "random" palette generator, but produces instead a ramp. http://jsfiddle.net/jagravois/59Gra/
... View more
12-10-2012
11:52 AM
|
0
|
0
|
1017
|
|
POST
|
in order to accomplish this you would have to... 1. reproject the web mercator coordinates to the appropriate coordinate system 2. measure the distance between the new coordinates using the planar calculationType
... View more
12-07-2012
12:24 PM
|
0
|
0
|
1941
|
|
POST
|
Planar measurements calculated in a map whose projection is Web Mercator would be grossly inaccurate because the projection itself distorts distances, so calculating geodesic measurements is far more appropriate. see the following knowledge base article for more information http://support.esri.com/en/knowledgebase/techarticles/detail/39404 It is certainly possible to calculate planar measurements using the areasAndLengths() method of the geometry service task, but this wouldn't be appropriate for a web application with a Web Mercator basemap.
... View more
12-07-2012
07:25 AM
|
0
|
0
|
1941
|
|
POST
|
Sharepoint "web parts" definitely leverage Microsoft's Silverlight plugin, so our extensibility for those maps is also built upon our Silverlight API as well. Extending the ArcGIS Map Web Part http://resources.arcgis.com/en/help/sharepoint/concepts/index.html#/Extending_the_ArcGIS_Map_Web_Part/01590000001w000000/
... View more
12-07-2012
07:17 AM
|
0
|
0
|
488
|
|
POST
|
is our published sample for sketching in new features without adding attributes (not using the editor widget) not helpful for those attempting to support this use case?
... View more
12-06-2012
02:16 PM
|
0
|
0
|
1668
|
|
POST
|
heres a link to the ArcGIS Server 10.1 help which explains how to set the "Maximum number of records returned by the server:"
... View more
12-06-2012
07:43 AM
|
0
|
0
|
1187
|
|
POST
|
i'm not sure what you mean. here is a working sample which prints out a map which displays all the counties in the US as an ArcGISDynamicMapServiceLayer. http://jsfiddle.net/jagravois/pvfC6/
... View more
12-05-2012
08:16 AM
|
0
|
0
|
676
|
|
POST
|
since you're attempting to execute a print request (from our sample server which is not intended to be utilized by production applications :)), what is the benefit of passing the geometry and attributes of over 1000 features? come to think of it, even in an interactive webpage its not possible for end users to work with that many features. it would probably be a lot more appropriate to work with a dynamicMapServiceLayer to draw the same information. have you seen our sample which demonstrates how to draw the same data using this technique and use a featureLayer in selection only mode? we also have an article in the conceptual help related to considerations when working with a large number of graphics.
... View more
12-05-2012
07:43 AM
|
0
|
0
|
676
|
|
POST
|
its a bit of a hack, but until the web map specification documentation is released, you can always snoop the itemData JSON for published web maps to get a look at syntax using the following Url format http://www.arcgis.com/sharing/content/items/[webmapid]/data?f=pjson for example http://www.arcgis.com/sharing/content/items/a96ce92a485f4ab4b609cd2f1a7e6e40/data?f=pjson
... View more
12-05-2012
07:35 AM
|
0
|
0
|
2540
|
|
POST
|
you are correct that the protocol used to host your application and retrieve your resources should be the same. i am able to load the tiled service directly in the browser over HTTP but not HTTPS. instead i see the error below. if this is the case for you too perhaps you you might see whether the web server requires a client certificate and remove that restriction prior to retesting to see whether the layer is accessible in an HTTPS JavaScript application. SSL connection error
Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.
... View more
12-04-2012
01:19 PM
|
0
|
0
|
2737
|
|
POST
|
i tested the same sample all the way back to version 2.8 of our API and the behavior is the same. What version are you upgrading from?
... View more
12-03-2012
12:30 PM
|
0
|
0
|
854
|
|
POST
|
i noticed the behavior you mentioned even in the published sample (which defines an initial extent for the map) when zooming out to full world scale. that being said, the behavior does seem specific to cases in which wrapAround180 is set to true. i'll check into this and let you know what i find...
... View more
12-03-2012
12:23 PM
|
0
|
0
|
854
|
|
POST
|
so your adapted app works with the SampleServer6 layout templates with legends, but when pointing at your own custom template, not even the title displays, correct? i don't recall doing anything special when i created and published my own custom templates, but i think i started by modifying the ones that come preinstalled. here's a screenshot of the property page for mine for you to compare and contrast. the cool thing is you can make changes to the MXD on the fly and see them in print output without touching your service. [ATTACH=CONFIG]19636[/ATTACH]
... View more
11-30-2012
10:20 AM
|
0
|
0
|
2726
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-16-2014 02:35 PM | |
| 1 | 03-15-2013 04:25 PM | |
| 1 | 06-01-2016 10:51 AM | |
| 1 | 12-28-2015 04:46 PM | |
| 1 | 12-28-2015 05:26 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|