POST
|
... I just downloaded your toolbar library/assembly and then what is the instruction to follow? Could you please explain? Well, as you may read in RADME file, you have to do 3 steps. 1. Compile toolbar lib project and get the ESRI.ArcGIS.Client.Toolkit.Toolbar.dll file 2. Add this dll in References list in your project. 3. Add xaml and C# code to your project as shown in README. If you want to see toolbar by default, change code <Canvas x:Name="VGraphicsTools" Visibility="Collapsed" to <Canvas x:Name="VGraphicsTools" Visibility="Visible" Good luck.
... View more
02-08-2013
01:43 AM
|
0
|
0
|
223
|
POST
|
Have a look at your services. I get following error: Layer has unspecified geometry type. Might be reason why popups also fail. Error applies to all your layers in the vrnStroitelstvo service Try adding individual layers before adding the whole group Thank you for advice, Pieta. Service really is invalid. Well, maybe services validator exists somewhere?
... View more
01-22-2013
12:55 AM
|
0
|
0
|
232
|
POST
|
I have to work with mapservice http://map.govvrn.ru/arcgis/rest/services/Maps/vrnStroitelstvo/MapServer and I can't setup popups in Builder for this service. Popups setup dialog looks like broken layout (screenshot attached). Other services didn't cause such problem, but this one do. Why Viewer can't configure popups for this service? May be because of group layers? Viewer can work with group layers, right? [ATTACH=CONFIG]20936[/ATTACH]
... View more
01-21-2013
10:54 AM
|
0
|
2
|
1512
|
POST
|
Joe is right, the toolbar has been removed from 3.0 after have been deprecated in 2.3 and 2.4. If you want, you can still get the code on codeplex and include it in your code. That being said, the cleaner solution is probbaly that you replace it by your own container (as it was done for the samples). I download ArcGIS Silverlight Toolkit v2.2 sources and extract Toolbar component and make standalone lib. This is it - Toolbar only lib from ESRI.ArcGIS.Client.Toolkit Sources included. https://www.arcgis.com/home/item.html?id=d0d90aae25604cdca900791589b4856a
... View more
11-12-2012
02:26 AM
|
0
|
0
|
389
|
POST
|
... You can download the source from Codeplex and bloat your XAP, or spend hours recreating your own toolbar. You'll find plenty of threads throughout the forums expressing the disappointment at Esri for removing the toolbar. Or you can try this Toolbar https://www.arcgis.com/home/item.html?id=d0d90aae25604cdca900791589b4856a work for me
... View more
11-12-2012
02:18 AM
|
0
|
0
|
182
|
POST
|
... But the effort involved to keep your App the same is very little - download the code from Codeplex and add it to your app - 30 minutes work ArcGIS Silverlight Toolkit Toolbar from http://esrisilverlight.codeplex.com/releases/view/60154 So, I download ArcGIS Silverlight Toolkit v2.2 sources and extract Toolbar component and make standalone lib. This is it - Toolbar only lib from ESRI.ArcGIS.Client.Toolkit Sources included. https://www.arcgis.com/home/item.html?id=d0d90aae25604cdca900791589b4856a
... View more
11-12-2012
02:09 AM
|
0
|
0
|
166
|
POST
|
... When the geoprocessing service output is placed in scratch.gdb, the field names returned are the aliases, instead of the SDE field names. At least that is how it seems the Silverlight Viewer sees them. ... I have a similar question http://forums.arcgis.com/threads/66898-FeatureLayer.Attributes-by-field-alias that not answered yet. I think there is a bug in Silverlight API.
... View more
10-10-2012
05:16 AM
|
0
|
0
|
185
|
POST
|
I have exactly the same problem, the "0" is removed from the server name. Thanks for helping, Roger bug fixed, updated version http://www.arcgis.com/home/item.html?id=6cee9dfda5a240939333569c403a4400
... View more
10-05-2012
08:55 AM
|
0
|
0
|
544
|
POST
|
I have exactly the same problem, the "0" is removed from the server name. Thanks for helping, Roger Well, I think I know where bug is. It's code
private void QueryTask_ExecuteRelationshipQueryCompleted(object sender, RelationshipEventArgs e)
{
// queryResult used once the results layer is initialized
queryResult = e.Result;
// Create a new url for the related table using the querytaskUrl and the RelatedTableId.
string resultsUrl = relatesLayer.Url;
string[] splitResultUrl = resultsUrl.Split('/');
resultsUrl = resultsUrl.Replace(splitResultUrl.Last<string>(), "");
resultsUrl = resultsUrl.Insert(resultsUrl.Length, relationInfo.tableId.ToString());
in file QueryRelatedRecords\QueryRelatedRecords.AddIns\QueryRelatedTool.cs I'l do some tests and post fixed version ASAP.
... View more
10-05-2012
07:54 AM
|
0
|
0
|
544
|
POST
|
... In Fiddler when it sends off to the rest to do the query of related records, it correctly sends to the Host gisadv02. However, the next two lines show it trying to access clientaccesspolicy.xml and crossdomain.xml, and both cause problems because it is sending to the host gisadv2. It has stripped out the 0. Any suggestions on how/where to fix this?? It seems like you need add clientaccesspolicy.xml to root of gisadv2 web site http://help.arcgis.com/en/webapps/silverlightviewer/help/index.html#/Frequently_asked_questions/01770000000r000000/#ESRI_SECTION2_CBF9896AC3504CB3B7D6ABE0ADA8B162
... View more
10-05-2012
06:26 AM
|
0
|
0
|
544
|
POST
|
Hello everyone. I try to make a tool (addon) whose button in main toolbar must be hidden on some conditions. Like public bool CanExecute(object parameter)
{
if(noData) {myButton.Visibility = Visibility.Collapsed; return false;}
myButton.Visibility = Visibility.Visible; return true;
} but I can't find a way to define myButton object. Code like var toolbar = MapApplication.Current.FindObjectInLayout("MainToolbarContainer") as ContentControl;
int childCount = VisualTreeHelper.GetChildrenCount(toolbar);
// for each child print details ... doesn't show any buttons. How I can hide/show button in MainToolbar?
... View more
10-01-2012
05:49 AM
|
0
|
0
|
824
|
POST
|
The Query Related Records tool demonstrates how to query for the related records of a feature by using the feature's pop-up information. Query Related Records tool, fixed and extended Extensions: 1. You can view related data for ArcGISDynamicMapServiceLayer sublayers, not only for FeatureLayer. 2. You can select relation from list if there is more than one relation.
... View more
09-17-2012
06:16 AM
|
0
|
0
|
544
|
POST
|
I was trying to use the plugin example Query Related Records Tool and find out a bug. At least I think so. With feature layer http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Petroleum/KSPetro/MapServer/1 this code wan't work
// Get the name of the ObjectID field.
objectID = relatesLayer.LayerInfo.ObjectIdField;
// get key value
Object v = inputFeature.Attributes[objectID]; // v is empty but this code work just fine
// Get the name of the ObjectID field.
objectID = relatesLayer.LayerInfo.ObjectIdField;
string objectIDAlias = getFieldAlias(relatesLayer, objectID);
if(objectIDAlias != "") objectID = objectIDAlias; // because of bug? in Graphic.Attributes[fieldname];
// get key value
Object v = inputFeature.Attributes[objectID]; // v have id value
Because of feature layer has objectid field alias 'Object ID' and Attributes object give access to values by field alias. I think, Attributes object must give access to values by field names.
... View more
09-14-2012
02:37 AM
|
0
|
0
|
2957
|
POST
|
...question is: how I can force the ArcGIS Viewer for Silverlight to display images of tiles without onscreen resize? I think right answer is MapApplication.Current.Map.SnapToLevels = true;
... View more
04-27-2012
10:26 AM
|
0
|
0
|
319
|
POST
|
Hi there! I have a problem with resized on-screen images. You can notice effect of resized images if you open two browser window, side by side, and open in one JavaScript version of tiled map and in the other Silverlight version of the same tiled map. Then do zoom-in step by step in both windows. You'll see. I make an animated GIF with simple demo, where you can see the difference between pictures shown by two map viewers. My question is: how I can force the ArcGIS Viewer for Silverlight to display images of tiles without onscreen resize?
... View more
04-26-2012
02:54 PM
|
0
|
3
|
3913
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|