|
POST
|
Hi Martin, Take a look at this post if it helps you: http://forums.arcgis.com/threads/3696-Measure-Action-in-Code regards, David
... View more
01-28-2014
12:38 AM
|
0
|
0
|
356
|
|
POST
|
Hi Sanjay, This is a know issue logged as NIM092574 and it's marked as fixed in v10.2.1: "In ArcGIS 10.0 and ArcGIS 10.1, the ???esriCustomizationEvent.esriCEInvokeCommand??? event does not get fired when a toolbar is requested; this worked in ArcGIS 9.3.1." Regards, David
... View more
01-20-2014
04:18 AM
|
0
|
0
|
1279
|
|
POST
|
Hi Bjorn, From the code provided it's not really clear how you serialize the layer. Can you show bigger block of code or even better attach a small reproducible sample app? regards, David
... View more
01-14-2014
05:27 AM
|
0
|
0
|
873
|
|
POST
|
Hi Meir, Have a look at the sample code for circle here: http://forums.esri.com/Thread.asp?c=213&f=2455&t=289039#898885 You can modify it to create ellipses that you need for your app. regards, David
... View more
01-14-2014
03:50 AM
|
0
|
0
|
406
|
|
POST
|
Hi Shweekia, Shouldn't really be a problem as long as the polygons don't have a lot of vertexes. Which is probably your case. You can simplify the geometry before you add it to graphics layer. This should speed up the application. And only use full geometry details while editing. Are you using accelerated display? Regards, David
... View more
01-13-2014
12:07 AM
|
0
|
0
|
333
|
|
POST
|
Hi Brian, I suggest going through this: https://developers.arcgis.com/en/java/guide/create-an-offline-map.htm Should be a good starting point what you can do and how to use offline maps. Regards, David
... View more
01-13-2014
12:02 AM
|
0
|
1
|
445
|
|
POST
|
Tiled layers have a fixed spatialreference. It's defined in the mxd document when you author your data and prepare it fro creating tiled cache. You can have different spatial references for dynamic services but bare in mind that the data is reprojected on the fly and that can have a huge performance impact to your application. All data that is published on a server have a spatial reference defined. I'm pretty sure you can't publish the data if SR it's missing. GraphicsLayer is an exception. You create them via code or XAML and you define SR for each graphics that you add to the layer. If the geometry has different SR as the map control it's going to be reprojected. The xaml sample code shows how you can define a spatial reference for the envelope. I showed you the same thing in C# code. But if you wan't to do it in XAML this is how you do it. Map control then automatically reprojects the envelope to the spatial reference it uses and so it zooms to your expected location. Any other question let me know. Regards, David
... View more
12-13-2013
01:59 AM
|
0
|
0
|
708
|
|
POST
|
Angus, Make sure the SpatialReference of your extent is the same as from your base map (or 1st Layer that is added to the map). If you run the sample app that is delivered with WPF SDK, under Geocoding section there is a sample called "Reverse Geocoding Online". If you look at the C# code from the sample, you will notice that Envelope is reprojected to Basemaps SpatialReference. In this case from geographic to webmercator.
private static ESRI.ArcGIS.Client.Projection.WebMercator _mercator =
new ESRI.ArcGIS.Client.Projection.WebMercator();
GraphicsLayer _locationGraphicsLayer;
public LocationToAddress()
{
InitializeComponent();
ESRI.ArcGIS.Client.Geometry.Envelope initialExtent =
new ESRI.ArcGIS.Client.Geometry.Envelope(
_mercator.FromGeographic(
new ESRI.ArcGIS.Client.Geometry.MapPoint(-117.387, 33.97)) as MapPoint,
_mercator.FromGeographic(
new ESRI.ArcGIS.Client.Geometry.MapPoint(-117.355, 33.988)) as MapPoint);
initialExtent.SpatialReference = new SpatialReference(3857);
MyMap.Extent = initialExtent;
_locationGraphicsLayer = MyMap.Layers["LocationGraphicsLayer"] as GraphicsLayer;
}
Regards, David
... View more
12-12-2013
06:06 AM
|
0
|
0
|
708
|
|
POST
|
Hi, Resources defined at the top code are defined as static resources So you need to bind them as StaticResource in XAML which is not what you want. Not really sure if you would be able to bind this dynamically in XAML. If you want to change line color from a combobox fort example. You can do it in code behind on change event David
... View more
12-04-2013
04:27 AM
|
0
|
0
|
441
|
|
POST
|
Hi, It's hard to comment what the issue might be. But I would suggest trying out new releases of Runtime SDK for WPF. Could be a known issue that was fixed in new releases. Current release is ArcGIS Runtime SDK for WPF v10.2 Regards, David
... View more
12-02-2013
06:36 AM
|
0
|
0
|
448
|
|
POST
|
Hi Jonathan, They should be supported and you should have templates for blend. We still support blend templates in WPF v10.2 both for VS2012 and VS2013. Regards, David
... View more
12-02-2013
06:33 AM
|
0
|
0
|
591
|
|
POST
|
Hi Matt, Can you provide a quick app that demonstrates what the issue is? Regards, David
... View more
12-02-2013
06:26 AM
|
0
|
0
|
626
|
|
POST
|
I would suggest a peek at moving graphics sample: http://resources.arcgis.com/en/help/runtime-wpf/samples/index.html#/Moving_Objects/02q2000000mm000000/ Observable collection just holds the geometry for the graphicslayer. How you decide to present that information is up to you. And you just set the preferred renderer you wan't to use. One quick note would be to modify the OC class so that you can use it on all your layers (as long as all are points). So that you create new OC class for each layer that holds your common functionality for add/remove/modify graphics. If you get stuck with anything or you have any question let me know 🙂 Regards, David
... View more
12-01-2013
11:40 PM
|
0
|
0
|
1205
|
|
POST
|
Hi, How many points are we talking about? I would suggest creating an observable collection of graphics bound to graphicslayer and every 30 second you could update that collection. This should remove the blinking as long as you don't clear the collection but iterate through it and modify/add/remove the points that need to be modified. Regards, David
... View more
11-25-2013
12:00 AM
|
0
|
0
|
1205
|
|
POST
|
Hi Matt, Could be a permission issue? If you run your compiled app as administrator. Do you see the same issue? If you have a chance try testing on different machine too. Regards, David
... View more
11-19-2013
12:10 AM
|
0
|
0
|
721
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-09-2017 05:36 AM | |
| 1 | 03-19-2018 07:55 AM | |
| 1 | 03-20-2018 02:39 AM | |
| 1 | 03-23-2017 03:22 AM | |
| 1 | 03-17-2017 07:29 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|