|
POST
|
If you change the geometry, the clusters needs to be recalculated and rerendered. This is per design.
... View more
01-24-2011
07:53 AM
|
0
|
0
|
1790
|
|
POST
|
You would have to put the red code in a different method that doesn't execute until the first querytask returns. You should use the ExecuteCompleted event on the querytask to trigger executing the red code. You won't have access to args.Geometry at the point where you placed the code, but that will be available in the ExecuteCompleted method hit by the first query.
... View more
01-21-2011
11:11 AM
|
0
|
0
|
1616
|
|
POST
|
I don't know the mobile API that well, but if there is an API call that allows you to generate/render a map image based on an extent, width and height, I don't see why you couldn't create a custom dynamic layer that does this for you (you inherit from DynamicLayer, set FullExtent and SpatialReference in override Initialize() { } and override GetSource(...) where you will generate an image based on the parameter parsed to you).
... View more
01-21-2011
11:06 AM
|
0
|
0
|
984
|
|
POST
|
Fiddler will often help you better understand what is going on. See this blogpost: http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2009/08/24/Troubleshooting-blank-layers.aspx
... View more
01-21-2011
11:02 AM
|
0
|
0
|
2582
|
|
POST
|
If you were doing element binding, it won't work across user controls, since the name resolving won't go outside the scope of the user control. You will need a Map property on your usercontrol, that can "pipe" the property forward from the MainPage xaml, through your user control and on to the controls inside that. So the controls inside your user control binds to this property, and you set this property on your usercontol in MainPage with normal element binding.
... View more
01-21-2011
11:00 AM
|
0
|
0
|
634
|
|
POST
|
These are the only linecaps Silverlight gives you: http://msdn.microsoft.com/en-us/library/bb979973(v=vs.95).aspx I don't think there's any way to extend these.
... View more
01-21-2011
08:42 AM
|
0
|
0
|
3067
|
|
POST
|
Silverlight inherently works asyncronously (and it is the best pattern to use too). So you need to make your own utility library work asyncronously as well. Create a class, declare an event handler, and when the two processes has completed, raise the event you created. You can declare an event that has an eventargument with the graphics layer in it. Alternatively, you could use a method that takes a delegate to call when the process completes. Fx: public void StartProcess(string someParameters, Action<GraphicsLayer> onCompleted) { //todo } You can parse the onCompleted method around using the userState object in all the ESRI tasks, so you will get it back each time a task completes. So you call the process like this: MyUtility.StartProcess("string argument", processComplete); ... private void processComplete(GraphicsLayer result) { //todo }
... View more
01-21-2011
08:38 AM
|
0
|
0
|
846
|
|
POST
|
Not out of the box, but Silverlight makes it pretty easy to do. See: http://blogs.silverlight.net/blogs/msnow/archive/2008/08/14/tip-of-the-day-27-how-to-change-the-mouse-cursor.aspx http://blogs.silverlight.net/blogs/msnow/archive/2010/03/16/81607.aspx
... View more
01-21-2011
08:30 AM
|
0
|
0
|
855
|
|
POST
|
That sounds like an ArcObjects question. In that case you are in the wrong forum
... View more
01-21-2011
08:28 AM
|
0
|
0
|
521
|
|
POST
|
Instead of messing with the toolbar, the simplest approach is instead to just put a set of buttons inside a stackpanel, and use their click event to perform an action.
... View more
01-20-2011
11:23 AM
|
0
|
0
|
2138
|
|
POST
|
No. The client api cannot reproject rasters on the fly.
... View more
01-20-2011
11:21 AM
|
0
|
0
|
2250
|
|
POST
|
For what its worth, people have been able to mix the WPF and Engine API together, so the WPF API drives the UI, but Engine drives a custom layer type in the map.
... View more
01-20-2011
11:18 AM
|
0
|
0
|
2218
|
|
POST
|
For these generic Silverlight questions, you might have much more luck at the silverlight forums: http://forums.silverlight.net
... View more
01-20-2011
11:16 AM
|
0
|
0
|
1392
|
|
POST
|
You should not have a Canvas around your Path element. Only the line caps available to Silverlight's Path object is awailable for line symbols.
... View more
01-20-2011
11:14 AM
|
0
|
0
|
3067
|
|
POST
|
Most generally, the tiled map service is driving the spatial reference of the map, then other services have to be projected in this spatial reference. Just to clarify this: The first layer defines the spatial reference (unless you explictly set it). If a tiled layer doesn't match this spatial reference, it will simply not render. So from an applications perspective it's the first layer that drives the SREF, but from a conceptual perspective, the tiled layers should define the spatial reference (if its not the first layer, you as a developer need to explicitly set the spatial reference).
... View more
01-20-2011
11:11 AM
|
0
|
0
|
883
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 05-11-2026 07:05 AM | |
| 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 |
4 weeks ago
|