|
POST
|
ArcGIS API for Silverlight doesn't support publishing a feature service. You have to publish the service from Portal, Server or Desktop. These links may help: Publishing a hosted feature service in Portal for ArcGIS using a shapefile or CSV file ArcGIS Server: About Publishing Services Desktop: A quick tour of Authoring services Alternatively, if you want to automate the process, you might create a geoprocessing service that would create the feature service from a shapefile.
... View more
10-09-2014
02:14 AM
|
0
|
1
|
1358
|
|
POST
|
The sample that Rex pointed out demonstrates how to develop your own SignIn UI. Alternatively, for WinPhone and Desktop platforms, you can use the UI provided by the toolkit and the SignInChallengeHandler component. To activate this component, add this line of code at the startup of your application: IdentityManager.Current.ChallengeHandler = new Esri.ArcGISRuntime.Toolkit.Security.SignInChallengeHandler(); Compared to the sample, the toolkit SignInChallengeHandler component offers additional advantages: manage all authentication types (token, HTTP secured, PKI (for desktop), OAuth(if setting the OAuthAuthorizeHandler)) allow credentials storage so the user can automatically get logged when launching again your application. The credentials storage is not active by default. To get it, you need to set to true the property AllowSaveCredentials: IdentityManager.Current.ChallengeHandler = new Esri.ArcGISRuntime.Toolkit.Security.SignInChallengeHandler { AllowSaveCredentials = true, CredentialSaveOption = CredentialSaveOption.Selected }; // set it to CredentialSaveOption.Hidden if it's not an user choice Note that for WinStore platform, the SignIn UI component is built in the API, so you get it by default. However the credentials storage is not active by default. You can activate it with code like: var challengeHandler = IdentityManager.Current.ChallengeHandler as DefaultChallengeHandler; challengeHandler.AllowSaveCredentials = true;
... View more
10-09-2014
01:20 AM
|
0
|
0
|
980
|
|
POST
|
Silverlight ArcGIS API doesn't support loading 170000 features in memory without performance issues. ArcGISDynamicMapServiceLayer has not this limitation since the server sends an image instead of features. So I suggest you try displaying your service as an ArcGISDynamicMapServiceLayer at small scale and as featurelayer at large scale (by setting the MinimumResolution or MaximumResolution for these layers).
... View more
10-07-2014
12:06 AM
|
1
|
1
|
1272
|
|
POST
|
I forgot to mention that you can choose any referer with WPF only. With Silverlight, the referer is automatically set by the browser http stack and you have to generate tokens for a substring of this referer (generally your application URL but depending on the browser). Something like: IdentityManager.Current.TokenGenerationReferer = "http";
... View more
10-06-2014
11:41 PM
|
0
|
0
|
1054
|
|
POST
|
That's likely a referer issue because some services deny access when the referer is not set. Try setting a default referer that will be used by all requests and by the token generation. Something like: IdentityManager.Current.DefaultReferer = "http://arcgis.com"; // or whatever you want to use as referer .
... View more
10-06-2014
11:33 PM
|
2
|
1
|
1054
|
|
POST
|
I am not sure to understand what you mean. The collection of points gives directly you the starting and ending point of each segment. If you want to create segments from the M starting and ending positions, the Linear referencing sample should help
... View more
07-29-2014
09:46 AM
|
0
|
0
|
1068
|
|
POST
|
By default the legend control is based on an underlying TreeView. You can change that by retemplating the legend, for example with a WrapPanel or an Accordion (SL samples but can also be done with WPF). If you'd rather to keep the TreeView you can retemplate the TreeView itself to hide the expand sign.
... View more
07-03-2014
07:38 AM
|
0
|
0
|
918
|
|
POST
|
The easiest way to share a webmap is to store it in arcgis.com. There are a few samples showing how to display a webmap with Silverlight, for example the WebMapViewModel sample. For authoring a new WebMap, the simplest way is to use the arcgis.com built in viewer. Though it's also possible to create new portal items from the Silverlight API (but there is no built in UI). You can create new ArcGISPortalItem and WebMap objects and store them in arcgis.com by using one of the ArcGISPortal.AddItemAsync or ArcGISPortal.AddItemTaskAsync methods
... View more
07-03-2014
07:01 AM
|
0
|
0
|
709
|
|
POST
|
In a label expression you can concatenate fields by using the keyword CONCAT. For example var labelExpression = "[Field1] CONCAT [Field2]"; More infos in rest API doc.
... View more
07-02-2014
09:09 AM
|
0
|
0
|
760
|
|
POST
|
I am not sure what you want to do exactly. Most generally the symbology is based on a renderer, in this case, for changing the symbology, you have to change the symbols used by the renderer. On the other hand, if you want to set a particular symbol by graphic you have to set it manually then Graphic.Symbol should return this symbol.
... View more
07-02-2014
08:36 AM
|
0
|
0
|
1632
|
|
POST
|
This linear referencing sample should help. It offers the infrastructure to calculate point position along lines.
... View more
07-02-2014
08:29 AM
|
1
|
2
|
1068
|
|
POST
|
Hi Paul, Sorry I didn't port my print sample to the Javascript API. The sample is very related to the .net API and not easy to port to Javascript as it is. Bonne chance.
... View more
07-02-2014
08:23 AM
|
0
|
4
|
2274
|
|
POST
|
There is no API at client side allowing to modify the database schema. Changing the domains must be done at server side.
... View more
06-22-2014
10:48 PM
|
0
|
0
|
677
|
|
POST
|
May be a Map SpatialReference issue. If you set a basemap, the map SR is automatically set with the basemap SR, i.e likely WebMercator. Without basemap, the map SR is not initialized automatically, you can try to set it manually by setting a map InitialExtent.
... View more
06-11-2014
08:09 AM
|
0
|
0
|
610
|
|
POST
|
At first glance, you need to use SetLayerVisibility which reflects the sublayer status in the legend. See also the GetLayerVisibility documentation.
... View more
06-11-2014
08:04 AM
|
0
|
0
|
1074
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-14-2025 09:24 AM | |
| 1 | 06-13-2013 09:22 AM | |
| 1 | 04-29-2022 02:21 AM | |
| 1 | 04-29-2022 02:28 AM | |
| 1 | 09-07-2021 03:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-30-2025
08:06 AM
|