|
POST
|
Code: geoprocessorTask.GetResultDataAsync(e.JobInfo.JobId, "out_directions"); only allows me to reference only one output form my geoprocessing Task. How do you go about accessing the additional outputs of a gpTask? I think you can execute sequentially GetResultDataAsync for all your output parameters. i.e in the Handler, get the parameter name and execute again GetResultDataAsync for the next parameter (untile the last one)
... View more
05-17-2013
02:18 AM
|
0
|
0
|
1542
|
|
POST
|
Do you observe the same issue when you display the service in your browser? Example of Url for showing a service in the browser: http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Transportation/MapServer?f=jsapi
... View more
05-17-2013
01:58 AM
|
0
|
0
|
1132
|
|
POST
|
I eventually reproduced the issue. We'll try to get it fixed in a future version. Meanwhile, the workaround may be to set the Layer minimum and MaximumResolution accordinly with the min and max scale defined at server side. Thanks for reporting that.
... View more
05-17-2013
01:42 AM
|
0
|
0
|
2633
|
|
POST
|
I wanna develop following functionality in my silver-light web application 1. Get Shortest disctance between user drawn point and existing Polyline/Polygon 2. Draw shortest distance line between Point and Polyline/Polygon Did you look at this sample? Seems doing exactly what you want.
... View more
05-17-2013
01:35 AM
|
0
|
0
|
550
|
|
POST
|
If you don't want to see the swatches, you can set LegendItemTemplate to null. In this case only layers and sublayers will show up in the legend (example here). If you want to see the sublayers only, you can retemplate the legend control in order to use a listbox instead of a treeview (sample) If you want to see the main layers only, you could also retemplate the legend control with a list box (but in this case the legend has few added value, you could as well use a listbox binded to Map.layers).
... View more
05-13-2013
11:38 PM
|
0
|
0
|
551
|
|
POST
|
You might try to recalculate the intensity on event Map.ExtentChanged and to set the intensity to a value proportional to the map scale. Though I am not sure that will keep the exact same shape and gradient but should not be too far. Worth the try...
... View more
05-12-2013
11:51 PM
|
0
|
0
|
550
|
|
POST
|
Could you share the URL of the non working service? Thanks
... View more
05-12-2013
11:41 PM
|
0
|
0
|
2633
|
|
POST
|
Thanks for reporting that issue. We'll try to get it fixed in a future version.
... View more
05-12-2013
11:12 PM
|
0
|
0
|
975
|
|
POST
|
Just wanted to mention that this appears to be a bug in the latest version of the api:
var textSymbol = new TextSymbol();
textSymbol.FontFamily = new FontFamily("Arial");
textSymbol.FontSize = 25;
textSymbol.Foreground = new SolidColorBrush(Colors.Red);
textSymbol.Text = "test";
var testJson = textSymbol.ToJson();
var testSym = Symbol.FromJson(testJson); //returns null
You are right. We'll try getting it fixed in a future version. Thanks for reporting that.
... View more
04-25-2013
09:21 AM
|
0
|
0
|
1728
|
|
POST
|
If you are sure all your layers are in the same spatial reference you can Union the FullExtent of the children. Code: public Envelope GetFullExtent(Layer layer)
{
if (layer is GroupLayer)
{
Envelope env = null;
foreach (var l in ((GroupLayer) layer))
{
var e1 = GetFullExtent(l);
if (env == null)
env = e1;
else
env = env.Union(e1);
}
return env;
}
else
{
return layer.FullExtent;
}
} Or shorter but less clear: public Envelope GetFullExtent(Layer layer)
{
return layer is GroupLayer ? ((GroupLayer) layer).Aggregate<Layer, Envelope>(null, (env, l) => env == null ? GetFullExtent(l) : env.Union(GetFullExtent(l))) : layer.FullExtent;
}
... View more
04-24-2013
10:52 PM
|
0
|
0
|
444
|
|
POST
|
There is no more esri.arcgis.client.webmap dll. The esri.arcgis.client.webmap namespace is inside the portal dll. So you have to reference esri.arcgis.client.portal.dll.
... View more
04-24-2013
10:47 PM
|
0
|
0
|
575
|
|
POST
|
The error means that your tiled layer doesn't match your map spatial reference. You set manually the map spatial reference to WKID 102696 and likely your tiled layer is not using this one. Do you get the same error if you don't set the map extent?
... View more
04-24-2013
02:43 AM
|
0
|
0
|
3157
|
|
POST
|
Thank you for your time, I hope I've explained well enough. Hi Johan, It's clear:) but unfortunately I can't answer :confused: The core SL API doesn't provide any popup container (it's why I told you about the popup container you were using). It seems you are using a popup container provided by the Silverlight viewer, so you might get better answers by posting your question on the SL Viewer forum.
... View more
04-24-2013
02:40 AM
|
0
|
0
|
1429
|
|
POST
|
Here is my map in total. Perhaps you can see what's up. I tried your map and I didn't notice any problem (see screenshot). [ATTACH=CONFIG]23715[/ATTACH] As you did share your static resource 'Maptip_Border', I created one myself (with a background in order to avoid interaction with underlying objects) and the hyperlink seems working well.
... View more
04-22-2013
10:48 PM
|
0
|
0
|
2600
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-12-2025 03:01 AM | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
10-30-2025
08:06 AM
|