POST
|
We are looking at implementing some performance monitoring in our application and wondered if there is a way to measure the performance of the map rendering. We use v2.0 of the assemblies with an ArcGISTIledMapService layer. Ideally, we'd like to measure the time it takes to from first requesting a tile to the map being rendered on screen. Is there anything that you guys use internally to measure this kind of stuff? It doesn't seem like there is a neat way of doing it on the client side.
... View more
09-26-2011
03:03 AM
|
0
|
1
|
2359
|
POST
|
Hi, We are due to release our code to production in the next few weeks. Do you have an expected release date for v2.2? v2.0 seems to have the same problem. I cannot produce the same StackTrace but I do get a crash. Using the same sample and API assemblies for v2.1 Final with the steps you mentioned in post#1. I get NullReference exception instead from the zoom. This has been fixed for v2.2 beta. This does not look like the same error you are hitting though.
... View more
02-23-2011
04:09 AM
|
0
|
0
|
245
|
POST
|
Hi, I am using this sample : http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Navigation I am using the .Net 3.5 assemblies of version 2.1 of the API Which SDK sample are you referring to? Thishttp://help.arcgis.com/en/webapi/silverlight/samples/start.htm#LayerList? Can you share some code and/or steps that will help us reproduce the issue? Also, what version of the API are you using?
... View more
02-20-2011
11:21 PM
|
0
|
0
|
245
|
POST
|
Hi, We seem to get repeatable errors when zooming in and out of the map rapidly. We use an ArcGISTiledMapService layer as our background but when the opacity is changed from the default we seem to get unrecoverable errors on the WPF render thread (partial stack trace below). Also, with opacity set to 1.0 we get similar issues if the user rapidly clicks through the buttons in the navigation widget (reset north and zoom to full extent). I notice that in the online SDK, the map can become unresponsive when doing this also. Are people aware of this and if so are there any steps we can take to alleviate or prevent this? System.InvalidOperationException was unhandled Message="An unspecified error occurred on the render thread." Source="PresentationCore" StackTrace: at System.Windows.Media.MediaContext.NotifyPartitionIsZombie(Int32 failureCode) at System.Windows.Media.MediaContext.NotifyChannelMessage() at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
... View more
02-18-2011
05:42 AM
|
0
|
6
|
569
|
POST
|
Thanks for your response. Densifying the line isn't really appropriate as it takes a large number of points to make the curve sufficiently smooth, and even then when zooming in the points on the curve as so far apart visually it begins to look less and less curvy. I've managed to get something working using the ElementLayer but it took some effort. The curve is defined by a QuadraticBezierSegment within a Path, so I need to specify 3 screen points (start point, end point and control point) getting the right interplay between the map points and screen points has been tricky. In order to fix the curve between two map points, I determine the envelope covering those points and pass it to the UIElement to be drawn in the ElementLayer. The UIElement consists of a curve in a Viewbox so it can be scaled appropriately as the extent changes. However, the results aren't great and I need to change the stroke thickness each time the extent changes. I'm surprised that simply specifying a control template for a symbol does not work. Is there any intention to allow for complex paths to be used in control templates in future versions and if not, can I suggest this as a feature to be considered? Drawing curves seems to be such a natural thing to want to do, but it's been made really hard!
... View more
08-23-2010
07:23 AM
|
0
|
0
|
311
|
POST
|
I would like to create a custom Graphic which appears as a curve between two Map Points. I have been trying to achieve this by creating a custom symbol whose control template defines a curve using a QuadraticBezierSegment. I would like to bind the start point and end points to the two map points I am connecting (determining a control point separately). The question is, how can I bind the two map points as screen points to define the shape of the curve and ensure that they are updated when the user zooms and pans? As an alternative I have considered using a SimpleLineSymbol with a complicated PolyLine geometry but the number of points needed to describe a curve causes a performance problem when zooming and panning when there are a large number of curves on screen.
... View more
08-19-2010
06:25 AM
|
0
|
5
|
508
|
POST
|
Fiddler was the key! I can see that the WMS Server returns an exception as the width / height and the extent specified were inadmissible for the layer. Using the WMS sample, I can manipulate the values in the query string to use the correct values. The incorrect extent is slightly irritating as I had specified it in my xaml correctly but when the request is made the values differ.
... View more
07-30-2010
03:26 AM
|
0
|
0
|
288
|
POST
|
Hi, it's not a Silverlight app so I don't need one. The WMS layers given in the ESRI examples work, just nothing else it seems.
... View more
07-29-2010
12:00 AM
|
0
|
0
|
288
|
POST
|
I have been playing around with WMS layers in a WPF application but am having some difficulty getting any WMS layers to display when using a service not given in the WMS_WPF sample (for v1.2 of the API). Using either this sample solution or the Toolkit.Datasources assembly in v2.0 I get the same problem. What am I missing? I have the following piece of xaml nested in the Map.Layers section of the WMS_WPF sample solution <esriWMS:WMSMapServiceLayer ID="MyLayer" Layers="2909_17518_bg" Url="http://aes.gsfc.nasa.gov/cgi-bin/wms" Opacity="0.7"></esriWMS:WMSMapServiceLayer> equivalently, <esriToolkitDS:WmsLayer ID="MyLayer" Layers="2909_17518_bg" Url="http://aes.gsfc.nasa.gov/cgi-bin/wms" Opacity="0.7"></esriToolkitDS:WmsLayer> in v2.0 of the API.
... View more
07-28-2010
06:17 AM
|
0
|
4
|
2225
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|