|
POST
|
Hi, I try to write one tomorrow if you still have issues with 3d symbols. cheers, Antti
... View more
08-11-2015
09:09 AM
|
0
|
9
|
3731
|
|
POST
|
Hi, Try to pass the given token to the ArcGISPortal when you are creating it from IdentityManager. Something like this : var portal = await ArcGISPortal.CreateAsync(new Uri("http://www.arcgis.com/sharing/rest"), CancellationToken.None, token);
... View more
08-11-2015
05:12 AM
|
1
|
1
|
1259
|
|
POST
|
Hi, at the moment we don't have integrated offline help. Could you send me your details and description of the use case for offline documentation and I'll see what I can do for you. My email is [email protected].
... View more
08-11-2015
04:16 AM
|
0
|
1
|
1188
|
|
POST
|
Hi, First I would recommend to upgrade binaries to 10.2.6 since it contained several bug fixes. When you are using FeatureServices, remember that there is a service limit how many results it can return per call. MaxRecordCount is service side configuration that can be changed and defaults to 1000. This might be one of the reasons why you aren't getting all the results at once since we cannot override this from the client side. FeatureServices are usually run using default configuration ServiceFeatureTable.Mode = OnDemand which queries only features from the visible extent. You can use mode Snapshot that gets all available features from the service. The amount that you get initially might be restricted by the service configuration. In this case, left overs are queried in similar fashion than in OnDemand mode. If you need to use spatial query when getting features from FeatureService / ServiceFeatureTable you can use SpatialQueryFilter Class instead of QueryFilter. One when you are aggregating features and finding the full extent, you can create an envelope from the features if layers extent doesn't match what you need.
... View more
08-11-2015
04:13 AM
|
0
|
1
|
2202
|
|
POST
|
Unfortunately this didn't make to the 10.2.6 but it's scheduled to be part of Quartz release.
... View more
08-11-2015
03:52 AM
|
0
|
0
|
1945
|
|
POST
|
Also make sure that you initialize runtime using ArcGISRuntimeEnvironment.Initialize Method
... View more
08-11-2015
03:49 AM
|
0
|
1
|
3402
|
|
POST
|
When 10.2.6 was released VS2015 wasn't released so at the moment deployment tool is only available on VS2012 / VS2013. You can also create deployment manually. Basically you need to copy arcgisruntime10.2.6 folder from C:\Program Files (x86)\ArcGIS SDKs\DotNet10.2.6\WindowsDesktop\bin\ (or the location where you have installed the SDK) under your application. Note that using deployment builder you can optimize the size of the deployment.
... View more
08-11-2015
03:47 AM
|
2
|
4
|
3402
|
|
POST
|
Make sure that you have followed deployment instructions if you are running the application without ArcGIS Runtime SDK for .NET installed on that computer. See more from following links: Deploy an app—ArcGIS Runtime SDK for .NET | ArcGIS for Developers Create an ArcGIS Runtime deployment—ArcGIS Runtime SDK for .NET | ArcGIS for Developers
... View more
08-11-2015
03:24 AM
|
0
|
5
|
3402
|
|
POST
|
I'm not sure if the PicturesLibary is a good place to store mapping data. We know that we have some limitations to using offline files in different locations in the phone and I would guess that we haven't tested this scenario before. Could you define the workflow that you have been thinking for managing the data in the WindowsPhone? How the data is delivered into the device, how it's used and managed in the application? From platform point of view, using ArcGIS Portal or ArcGIS Online as a data hub works very well to deliver data dynamically to your applications, provides easy way to distribute updates and help to unlock Standard licensing (you can take the application offline for 30 days by signing into the portal/online and saving the token to the device - no need for separate deployment license). I drew a simple chart of this that might clarify it this a bit. Basically you can deliver any data to the your applications this way and you can implement some data being automatically downloaded, some on request basis and you can control who has access to what data. Data can be uploaded to the portal manually or you can automatize it if needed so process vice you have a lot of options. I talked this approach in DevSummit this year and you can find recording from here ArcGIS Runtime SDK for .NET: Transitioning to It from Other Esri .NET SDKs | Esri Video and sharing data section starts around 24:50. Code can be downloaded from http://www.arcgis.com/home/item.html?id=865907613bdd4f1bae1f0537f5a48d84
... View more
07-31-2015
09:28 AM
|
0
|
1
|
2592
|
|
POST
|
You need to use GraphicsOverlay or GraphicsLayer and use that to contains joined data. The reason behind is that FeatureLayers uses defined Schema where GraphicsOverlay/Layer works with dynamic schema. Steps could be something like this: - Create source FeatureLayer with FeatureTable - User selects geodatabase and open that in GeodatabaseFeatureTable - Create temporary graphics overlay / layer for visualization - Join needed data from source FeatureLayer (tip, convert features to graphics) to the dynamically created GeodatabaseFeatureTable to GraphicsCollection / List<Graphic> - Set combined list of graphics to the temporary visualization layer - Dynamically create renderer for the temporary visualization layer This approach also gives you an option to delete the layer/overlay when it's not needed anymore easily.
... View more
07-31-2015
08:46 AM
|
0
|
1
|
1829
|
|
POST
|
Have you checked our samples using local data in Windows Phone? ie. arcgis-runtime-samples-dotnet/ArcGISLocalTiledLayerSample.xaml.cs at master · Esri/arcgis-runtime-samples-dotnet · GitHu… In samples app we just download set of data into the application data folders and use it from there. Let me know if you still have issues with this and if it seems that the tpk cannot be initialized from some reason, could you send it to me for testing? cheers, Antti
... View more
07-30-2015
08:55 AM
|
0
|
3
|
2592
|
|
POST
|
We disable panning by default using stylus. To enable panning with stylus you need to set PanOptions.IsStylusEnabled Property to true in MapView.InteractionOptions Property
... View more
07-30-2015
08:43 AM
|
1
|
1
|
1516
|
|
POST
|
Good to know. Can you mark this thread answered, please?
... View more
07-24-2015
02:17 AM
|
0
|
0
|
1821
|
|
POST
|
Hi, It seems that the issue is based on the SyncronizationContext. If you just define as below, it doesn't actually set SynchronizationContext.Current so task crashes to it because it is null. SynchronizationContext.SetSynchronizationContext(new SynchronizationContext()); The error that we get isn't very informative in this case and this is something that we need to improve for the future. Here is a helper class to get WPF syncronization context by Stephen Toub public static class Helper
{
public static void RunInWpfSyncContext( Func<Task> function )
{
if (function == null) throw new ArgumentNullException("function");
var prevCtx = SynchronizationContext.Current;
try
{
var syncCtx = new DispatcherSynchronizationContext();
SynchronizationContext.SetSynchronizationContext(syncCtx);
var task = function();
if (task == null) throw new InvalidOperationException();
var frame = new DispatcherFrame();
var t2 = task.ContinueWith(x=>{frame.Continue = false;}, TaskScheduler.Default);
Dispatcher.PushFrame(frame); // execute all tasks until frame.Continue == false
task.GetAwaiter().GetResult(); // rethrow exception when task has failed
}
finally
{
SynchronizationContext.SetSynchronizationContext(prevCtx);
}
}
} And you can run the test like this private const string MapServerUri = "http://sampleserver6.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer";
[TestMethod]
public async Task EstimateTileCacheSize()
{
// Run test in WPF syncronization context
Helper.RunInWpfSyncContext(async () =>
{
Assert.IsNotNull(SynchronizationContext.Current);
// Create completation source to see when onCompletedCallback is called
var tcs = new TaskCompletionSource<Tuple<EstimateTileCacheSizeResult, Exception>>();
// Create filter
var filter = Envelope.FromJson(
"{\"xmin\":-123.96726562499894,\"ymin\":36.737415380601156,\"xmax\":-119.57273437500105,\"ymax\":38.481185065451001,\"spatialReference\":{\"wkid\":4326}}");
var options = new GenerateTileCacheParameters
{
Format = ExportTileCacheFormat.TilePackage,
GeometryFilter = filter,
};
ExportTileCacheTask exportTilesTask = new ExportTileCacheTask(new Uri(MapServerUri));
// Create job and await that it's submitted ok.
ExportTileCacheJob estimateJob = await exportTilesTask.EstimateTileCacheSizeAsync(options,
(result, ex) =>
{
tcs.SetResult(Tuple.Create(result, ex));
},
TimeSpan.FromSeconds(3),
CancellationToken.None);
// Wait until onCompletedCallback is called. This prevents unit test to complete before we get the results.
var results = await tcs.Task;
Assert.IsNotNull(results.Item1);
Assert.IsNull(results.Item2);
});
}
... View more
07-23-2015
06:44 AM
|
0
|
2
|
1821
|
|
POST
|
Hi, We fixed issues with directory paths with multi-byte chars in 10.2.6 release. Please update to that and let us know if you are still seeing this issue. BUG-000083073: ArcGIS Runtime apps fail to execute when run within a directory that contains a multi-byte character.
... View more
07-23-2015
02:29 AM
|
0
|
2
|
796
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-12-2014 03:52 AM | |
| 1 | 08-27-2015 03:47 AM | |
| 1 | 12-08-2014 09:58 AM | |
| 1 | 05-05-2015 10:19 AM | |
| 1 | 07-30-2015 08:43 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|