|
POST
|
Dominque, it seems to be the FeatureLayer that's not showing up -- it's working just fine when I set it as a ArcGISDynamicmapServiceLayer in the XAML, but when I try it as a "FeatureLayer" with the selection mode shown in the sample I don't even see the layer rendering on load. Perhaps it's the way I have the service configured? It's an MSD source obviously. Any idea what I could be doing wrong? If you switch to using a featurelayer, remember to change the URL to use a layer within the service. For instance add /0 to the URL to select the feature layer to display.
... View more
05-10-2010
12:43 PM
|
0
|
0
|
1926
|
|
POST
|
Instead of using the toolbar, why not just put some buttons in a stackpanel? (that's essentially what a toolbar is). That way you get full control, and you are not locked into a toolbar.
... View more
05-07-2010
06:42 AM
|
0
|
0
|
990
|
|
POST
|
If you are not afraid of getting your hands dirty, there is another way to do it using ArcObjects and the WPF API. Basically you would create a custom dynamic layer that reads and renders an MXD using ArcObjects. Unfortunately I don't have any code I can show or pointers to give, but I've seen people do this, so it is possible. The layer itself is fairly easy to implement. It's a matter of inheriting from DynamicLayer, overriding GetSource and return the image based on the parsed in extent and size, and during initialize set the spatial reference and full extent of the layer.
... View more
05-07-2010
06:40 AM
|
0
|
0
|
887
|
|
POST
|
Could it be part of one of the listed issues here: http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/04/30/The-ArcGIS-API-for-Microsoft-Silverlight_2F00_WPF-version-20-beta-is-available_2100_.aspx
... View more
05-06-2010
11:07 AM
|
0
|
0
|
459
|
|
POST
|
What do you mean the code behind is missing? In many cases you don't really need to do any code behind to do editing. It's all handled by using the ICommand pattern. Edits are automatically saved, unless you explicitly disable it on the feature layer.
... View more
05-06-2010
07:40 AM
|
0
|
0
|
717
|
|
POST
|
You are in full control of what goes into the maptip on the graphicslayer, so you can put whatever text you like. That's the simplest approach. See http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/samples/start.htm#GraphicsMapTip for an example. If you want to use the MapTip control (there's not really much point anymore), you can override the MapTip template and again put whatever you would like to see in the maptip. In Expression Blend, right-click the maptip control, select to edit a copy of the template, and you can replace the datagrid with your own set of textblocks that binds to the attributes, similar to the GraphicsLayer's maptip.
... View more
05-06-2010
07:33 AM
|
0
|
0
|
512
|
|
POST
|
You don't create a MapTip as such. You just instantiate a usercontrol that contains the information you need, add it to the page, and position at the click position (you can use e.GetPosition(parentOfMyCustomMapTopControl) to get that location). Use the margins/alignments on the control to position it.
... View more
05-05-2010
07:31 AM
|
0
|
0
|
840
|
|
POST
|
The beta is already available: http://resources.arcgis.com/content/arcgis-api-silverlightwpf
... View more
05-05-2010
07:26 AM
|
0
|
0
|
1066
|
|
POST
|
I know in ADF there is such a task that can allow the end user to edit the feature from the map service dynamically on the website. Is there such functionality in Silverlight? Yes. See the editing samples in the 2.0beta SDK: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitEditorWidget Also, will there a management console for silverlight API similar as ADF in ArcGIS 10? No.
... View more
05-04-2010
05:11 PM
|
0
|
0
|
717
|
|
POST
|
From the sound of it, I have a feeling what you are trying to do is going to cause a lot of headaches, so before we go any further into a solution, I want to raise a concerns: It sounds like you are going to be downloading an ENOURMOUS amount of data under the covers. You are downloading both geometry and a bunch of attributes for all the layers as the user zooms and pans, even though the same data is already present in the dynamic layer, and the user might not even be interested in the specific data. This could very quickly become a HUGE bottleneck, both on the network and performance-wise on the client. As an alternative, I suggest you use the Identify task on the map. When the mouse stops over a certain point on the map for for instance .5 seconds, you automatically perform an identify using the IdentifyTask and pop up a custom maptip window next to the mouse. This has the benefit of not overloading the network, your server, the client's framerate, and only requesting the data that the user was interested in. Would that not cover your use-case?
... View more
05-04-2010
05:09 PM
|
0
|
0
|
840
|
|
POST
|
Is the map within a ScrollViewer control? ScrollViewer intercepts the mouseevents preventing the map from receiving these events.
... View more
05-04-2010
12:03 PM
|
0
|
0
|
1596
|
|
POST
|
if you disable client caching, you don't need to clear the client cache or restart the browser.
... View more
05-04-2010
12:01 PM
|
0
|
0
|
1523
|
|
POST
|
The REST service in ArcGIS Server 9.3.* does not supported related fields. You will need to wait for the final release of ArcGIS Server 10.0 and v2.0 of the Silverlight API for this support.
... View more
05-04-2010
11:59 AM
|
0
|
0
|
1460
|
|
POST
|
Did you put some element on top of the map that stretches the entire with and prevents the mousedrag from getting to the map? For instance if you just put a textblock in the grid above the map, it can block these events, even though the text is only at the center. If that's the case, either set IsHitTestVisible=false on that element, and/or change the alignment from the default "Stretch" to something else.
... View more
05-04-2010
08:00 AM
|
0
|
0
|
1596
|
|
POST
|
This is bug in Blend 4 RC. I reported it here: http://connect.microsoft.com/Expression/feedback/details/552430/it-is-not-possible-to-create-a-type-converter-for-ienumerable-int-or-int-that-blend-supports and it was recently marked fixed, so you (hopefully) shouldn't see this when Blend goes final.
... View more
05-04-2010
07:56 AM
|
0
|
0
|
555
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | Monday | |
| 2 | 03-19-2026 06:03 PM | |
| 1 | 03-03-2026 04:41 PM | |
| 1 | 02-26-2018 07:53 AM | |
| 1 | 02-26-2018 07:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|