|
POST
|
1) is there a way when i scrub the slider, the changes appears on the fly instead of appearing when i release the slider's thumb.. I didn't find out any way to change the time extent value on the fly. 2) how to make the play button appear on the TimeSlider control? By default the play button appears on the TimeSlider control. You can remove this button or change it by editing the time slider template
... View more
08-13-2010
05:59 AM
|
0
|
0
|
701
|
|
POST
|
I don't think you need a web service. A GP service should work. The closest sample you can look at is http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ClipFeatures The input of the tool is a GPFeatureRecordSetLayer which contains the input features (only one is this sample). After execution, the output is another GPFeatureRecordSetLayer with the clipped counties. In your case, you would need a zip file containing the shapefile files. Note that the GP tool used in the sample (http://serverapps.esri.com/ArcGIS/rest/services/SamplesNET/USA_Data_ClipTools/GPServer/ClipCounties?f=pjson) returns the shapefile as output (parameter output_zip). This output is not used by the code but it could be helpful if you want to make some tests. About how to write the GP tool itself, I can give you some pointers: - Threads talking about the GP parameters http://forums.arcgis.com/threads/9001-Clip-and-ship-geoprocessing-service-to-be-utilized-in-silverlight-app - FeatureClass to Shapefile tool : http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00120000003m000000.htm - Dataextraction toolset for server: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/An_overview_of_the_Data_Extraction_toolset/00540000000s000000/: Hope this help.
... View more
08-06-2010
07:20 AM
|
0
|
0
|
2037
|
|
POST
|
GraphicsLayerProperty identifies a dependency property defined on the FeaturedataGrid. The full path is : ESRI.ArcGIS.Client.Toolkit.FeatureDataGrid.GraphicsLayerProperty
... View more
08-06-2010
06:53 AM
|
0
|
0
|
1175
|
|
POST
|
b.Path = "Layers[2]"; have error message: "Cannot implicitly convert type 'string' to 'System.Windows.PropertyPath" My bad. You are right you need a PropertyPath b.Path = new Propertypath("Layers[2]"); Sorry. Note that the constructor form is OK with a string : Binding b = new Binding("Layers[2]"); MyDataGrid.DataContext = bind; no errors but doesn't work .. Programmatic binding is done by the 'SetBinding' method. MyDataGrid.SetBinding(ESRI.ArcGIS.Client.Toolkit.FeatureDataGrid.GraphicsLayerProperty, b);
... View more
08-06-2010
06:01 AM
|
0
|
0
|
1175
|
|
POST
|
Likely a crossdomain issue. Look at this thread http://forums.arcgis.com/threads/3240-cannot-connect-to-rest-endpoint?highlight=crossdomain Hope this will help, else you will need a tool like fiddler to analyze the web requests and understand which one is not working.
... View more
08-06-2010
04:49 AM
|
0
|
0
|
985
|
|
POST
|
So I am interesting in functionality on how to zoom to particular sublayer in the service, not the service itself... Is it possible? I don't think it's possible if you are using MapServiceLayer. You could either develop your own web service to calculate the extent or load the sublayer as FeatureLayer instead of MapServiceLayer (but there is a big cost specially if the only goal is to get the extent).
... View more
08-06-2010
04:17 AM
|
0
|
0
|
1677
|
|
POST
|
You need one Identify task by Dynamic Map service layer. This task will identify all sublayers at the same time (can be controled by a parameter) . If you have more than one dynamic map service layer, you will need more than one task but you can put all the results in the same dialog box Can you provide any sample code (or even pseudo code)? I did that in the 'Web Map Viewer' sample. You can test the identify with this webmap , it's possible to get identify results from the 2 map service layers..
... View more
08-06-2010
03:59 AM
|
0
|
0
|
991
|
|
POST
|
I am going to write a print sample (at the client side) which is multi pages and printing at fixed scale. A first version is available here : http://broux.dominique.free.fr/Silverlight/MapPrinting/MapPrinting.html Your feedback would be appreciated. I will post the code soon Note : The print extent is the current map extent at the time the preview window is opened. I guess, a way to change the print extent from the preview would be useful.
... View more
08-06-2010
03:44 AM
|
0
|
0
|
3406
|
|
POST
|
LocationToAddress delegate is waiting for an AddressEventArgs (not a AddressToLocationsEventArgs) I already said that on my the post. What I said that was the problem is that the ESRI SAMPLES of the ArcGIS API shows the code receiving ESRI.ArcGIS.Client.Tasks.AddressToLocationsEventArgs as parameter instead of AddressEventArgs, and my question was how do i make it work... Did you check the code at the link to the ESRI samples? This code is at the Samples Gallery at http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/samples/start.htm#AddressToLocation Sorry, I am not sure to understand. I checked the ESRI samples, I didn't find any LocationToAddress sample which would use an AddressToLocationEventsArg (the link you are giving is for AddressToLocation, so it's OK). Did I miss something?
... View more
08-06-2010
03:33 AM
|
0
|
0
|
1218
|
|
POST
|
You can give the path in the Binding constructor or you can initialize the path after the creation. Binding b = new Binding("Layers[California]"); or
Binding b = new Binding();
b.Path = "Layers[California]";
... View more
08-06-2010
03:04 AM
|
0
|
0
|
1175
|
|
POST
|
You have to include the identify result in any draggable window (3rd party or your own). If you have created your silverlight application from the standard template, you can use the 'WindowPanel' which is draggable (but not resizable). I did that in the 'Web Map Viewer' sample. You can test with this map (or any map with dynamic layer) http://broux.dominique.free.fr/Silverlight/WebMapViewer/WebMapViewer.html?webmapid=2eb1bd6b550f4cf3863403725454e881, the identify window is draggable.
... View more
08-06-2010
03:00 AM
|
0
|
0
|
924
|
|
POST
|
This happens because your theme and your grid is covering the whole map with a background. Then the events are not going to the map. To solve you can either reduce the size of your theme (by not using default stretch alignment) or set a null background. Here is the code with the 2 options (one enough): <toolkit:TwilightBlueTheme Background="{x:Null}" VerticalAlignment="Top" HorizontalAlignment="Right"> <!-- Now working-->
... View more
08-06-2010
02:49 AM
|
0
|
0
|
868
|
|
POST
|
Can any One Please tell me How Can I Export the Selected Features to Shapefile using Silverlight.......... Do I need to Use Arc Objects for it or any other Solution in silverlight..... There is no way to create shapefile with Silverlight. The easiest way is probably to use a GP tool.
... View more
08-06-2010
02:42 AM
|
0
|
0
|
2037
|
|
POST
|
private void Localizador_LocationToAddressCompleted(object sender, ESRI.ArcGIS.Client.Tasks.AddressToLocationsEventArgs e) { LocationToAddress delegate is waiting for an AddressEventArgs (not a AddressToLocationsEventArgs)
... View more
08-04-2010
06:20 AM
|
0
|
0
|
1218
|
| 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
|