|
POST
|
This sample FeatureService includes a related table: http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer You can edit the related table just as you would edit any feature layer. Post #2 here http://forums.arcgis.com/threads/16731-Change-value-of-FeatureDataGrid-Cell describes how it can be done.
... View more
11-08-2010
11:21 AM
|
0
|
0
|
907
|
|
POST
|
In this example: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Identify Query is performed on the map service itself, which can contain several sub layers. Is this what you need?
... View more
11-08-2010
11:13 AM
|
0
|
0
|
1487
|
|
POST
|
You can right-click on the Project and see "Properties", under Silverlight tab, there is Default namespace. Also you should have something like
Imports System
Namespace ForumTest
'more code here
End Namespace
In the sample above, whatever class I create within this namespace is only accessible through "ForumTest", this must match the namespace definition you have in XAML. It should be "ESRI.ArcGIS.SilverlightMapApp" or you can update xmlns to use "ForumTest" (ForumTest is just my example, yours can be named different.
... View more
11-08-2010
09:27 AM
|
0
|
0
|
1369
|
|
POST
|
Can you share the StackTrace? Also try to use Fiddler while running your SL app in your test machine. http://www.fiddler2.com/Fiddler2/version.asp The more information you can share with us, the better. Thanks 🙂
... View more
11-08-2010
09:22 AM
|
0
|
0
|
765
|
|
POST
|
This is correct, the Draw object, creates a new GraphicsLayer on top of your layers. Therefore Layers.CollectionChanged event will fire. You can probably ignore if the layer added has no ID to distinguish the layer you create and the layer the API creates dynamically.
... View more
11-08-2010
09:16 AM
|
0
|
0
|
494
|
|
POST
|
You can learn more about FeatureService here: http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/What_is_a_feature_service/009300000020000000/
... View more
11-08-2010
09:06 AM
|
0
|
0
|
907
|
|
POST
|
I tried your code with 2.1 RC and I was not able to reproduce the error. Do you have ESRI.ArcGIS.Client and ESRI.ArcGIS.Client.Behaviors added to your project references? Can you check the file path where it is pointing to?
... View more
11-08-2010
08:00 AM
|
0
|
0
|
2162
|
|
POST
|
Sure. Look at the namespace definition of your project and your classes, they need to be "ESRI.ArcGIS.SilverlightMapApp" for this namespace to be valid in your xaml.
... View more
11-08-2010
07:52 AM
|
0
|
0
|
1369
|
|
POST
|
Oh I sent this link just as a guideline how you can calculate scale based on resolution and DPI, since LOD includes Resolution and your DPI varies, you can use the same formula to calculate the scale.
... View more
11-08-2010
07:50 AM
|
0
|
0
|
819
|
|
POST
|
I can submit this request to our dev lead for consideration in making it public. For now, there's nothing stopping you from creating your own renderer if you implement IRenderer. This might be your best bet if UniqueValueRenderer is not sufficient for your current need. Thank you for the feedback.
... View more
11-08-2010
07:46 AM
|
0
|
0
|
740
|
|
POST
|
The Where property of a Query is any legal SQL Where clause as been said here: http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Query~Where.html So I don't think you can get repeating values by updating the query alone. You can probably use System.Linq query on the results. Please don't hold me accountable for the syntax 🙂 but I think it's something like this:
var repeatingValues = from g in args.FeatureSet.Features
group g by g.Attributes["FieldName"] into f
where f.Count() > 1
select f.Key;
... View more
11-07-2010
01:36 PM
|
0
|
0
|
601
|
|
POST
|
There's no way to turn off this feature at the moment. But I'll share this with our lead developer for consideration.
... View more
11-07-2010
12:18 PM
|
0
|
0
|
1966
|
|
POST
|
You wanted to install and develop using ArcGIS API for Microsoft Silverlight/WPF? The following are the requirements for installation http://help.arcgis.com/en/webapi/silverlight/help/Installation.htm. The first requirement on the list is VS 2010 and according to their minimum requirements https://www.microsoft.com/visualstudio/en-us/products/2010-editions/professional, you need Windows.
... View more
11-05-2010
07:13 PM
|
0
|
0
|
516
|
|
POST
|
If you have a related table you need to update, you can update it as you would any FeatureLayer. For example this FeatureService http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer. It includes a layer with Point geometry and a related table. The layer's objectid and the table's sf_311_serviceoid field must match. What you can do is have two FeatureLayer, one for the layer (added to your map layers) and one for the table (not part of map). The FeatureLayer for the layer can be updated using FeatureDataGrid. The FeatureLayer for the table can be updated using FeatureDataForm. When you select a graphic in the FeatureLayer for the layer or select a row in the FeatureDataGrid, you can update the Where property of the FeatureLayer for the table (i.e. sf_311_serviceoid field = 3973, where 3873 is the graphic.Attributes[layer.LayerInfo.ObjectIDField]). Call Update() on this layer and in the UpdateCompleted event, set the FeatureDataForm's FeatureLayer and GraphicSource properties. This should allow you to edit both layer and table simultaneously.
... View more
11-05-2010
06:59 PM
|
0
|
0
|
961
|
|
POST
|
Hi. I'm sorry I think Ryan is using WPF. If you are using Silverlight, I think using Loaded event is fine. But still try to do one step at a time as I suggested in the other thread. Make sure that the map and scalebar loads fine with this style before changing anything else so we know atleast that part works.
... View more
11-05-2010
02:23 PM
|
0
|
0
|
1519
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 4 weeks ago | |
| 1 | 09-11-2025 01:30 PM | |
| 1 | 06-06-2025 10:14 AM | |
| 1 | 03-17-2025 09:47 AM | |
| 1 | 07-24-2024 07:32 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|