Windows Presentation Foundation (WPF) is a computer-software graphical subsystem for rendering user interfaces in Windows-based applications.

learn more… | top users | synonyms

8
votes
4answers
759 views

How to create a multi-story building infrastructure web map?

Hi please bear in mind that I've got absolutely NO experience working with GIS before you begin laughing at this. During a recent meeting, our client was bouncing around their complaints about how ...
7
votes
3answers
548 views

How stable is WPF in Arcmap?

I'm tempted to propose porting some windows forms based arcmap tools to WPF. Before doing that though, I'd like to hear from others who have done something similar, and what sorts of issues were ...
7
votes
1answer
1k views

How do you draw a polygon (programmatically) on an ESRI map? [WPF]

I would like to programmatically draw a polygon on an ESRI map. I'm using this code to draw a polygon with the mouse but I'm really new to this technology and I'm a little bit lost ... Here is my ...
6
votes
1answer
538 views

In need of WFS-T support in a WPF/Silverlight application

I want to build a wpf/silverlight mapping application that enables real-time visualization of features in a map, and that allow different users to add features (points, polygons) to the map. My ...
5
votes
4answers
2k views

Using GIS / Map inside c# WPF

How could i create e mapping applications that displays a custom map from this URL: (Capabilties with a mapview) ...
5
votes
1answer
2k views

How to make a WPF Window be a well-behaved child window of ArcMap?

I am pretty familiar with Windows Forms in ArcGIS but WPF, which I'm just starting to tinker with, seems to be a different animal. I've created an ArcMap add-in with a button that displays a Window ...
5
votes
1answer
279 views

Converting Between Similar Classes in ArcObjects and WPF Runtime Libraries (C#)?

There seems to be an "impedance mismatch" (if I can borrow the term) between similar classes in ArcObjects and the WPF runtime libraries. For example, there is a ESRI.ArcGIS.Client.Geometry.Polyline ...
5
votes
3answers
2k views

How to add pins (graphics) to ArcGIS map in wpf?

I have a wpf app with an ArcGIS map, I used the extent property to zoom and pan to Canada (the location I want) and added the pins (images) by adding a graphics layer, see code below. currently I'm ...
5
votes
1answer
277 views

Can GeoProcessor use credentials?

I've set up a web service that uses ESRI's REST API spec. This allows me to make requests using the (Silverlight)/WPF SDK. If I turn on windows authentication though, I get a 401 error when using ...
4
votes
3answers
374 views

How to use ITrackCancel to escape IRubberBand track?

I have a BaseTool for AX_MapControl and AX_PageLayoutControl that allows to draw a polyline via IRubberBand. But once the rubberband is started, you can't cancel it e.g. by hitting escape. I found ...
4
votes
1answer
849 views

Is there a TOC control available for Esri's Silverlight/WPF SDK?

I've got a requirement calling for a TOC control on a Silverlight/WPF application. Does anyone know of a TOC control (analogous to the TOCControl in ArcEngine) that I can hook into Esri's Map ...
4
votes
2answers
922 views

I need help with saving Graphics to the a map

I have everything working just like I need it to, but when I add a new graphic to the map it does not save it. So I will add it, close the application, and when I reopen it the graphic is gone. I have ...
4
votes
1answer
2k views

Feature Layer Attribute table to Datatable and make it editable

Hi Currently i'm using this to turn it into a data table featureCursor = layer.FeatureClass.Search(que, false); row = featureCursor.NextFeature(); if (row != ...
3
votes
2answers
2k views

ArcGis Engine, how to zoom&pan to selected objects?

I'm writing a program using ArcGis Engine, and need to zoom&pan into the map to show the selected content. Loading and displaying the map does work using something like this: AxMapControl ...
3
votes
1answer
610 views

Where is ESRI.ArcGIS.Client.Tasks.Utils.JSON documentation?

I'm using the WPF assemblies from the freely downloadable ESRI WPF/Silverlight 2.0 SDK. As I type in a "using" statement in visual studio, I can use intellisense to expand out into: using ...
3
votes
1answer
973 views

Feature Layer is not showing the points on the map

I have a simple feature layer. The points will show up if I put the URL in a DynamicMapServiceLayer, but I need to use maptips, so that will not work. Below is my relevant XAML. If you need anymore ...
3
votes
1answer
74 views

Creating geoprocessing package (*.gpk) that contains more than one model?

I'm making gpk (= geoprocessing package) packages for ArcGIS Runtime 10.2.2. I'm making several models, and wanted to know if there is a way for including several models in one gpk file or do i need ...
3
votes
1answer
542 views

Is it possible to figure out which “Path”(PointCollection) is clicked on within a PolyLine?

I am using ArcGIS WPF's Polyline to plot several lines (PointCollections). Adding a Path(PointCollection) looks something like this. PointCollection collection = new PointCollection(); PolyLine ...
3
votes
1answer
335 views

Convert ArcMap label expressions from VBScript to Javascript or Python

I have a large number of layers (hundreds) with label expressions written in VBScript. I am using ArcMap 9.3.1, and I'm now starting to export the layers as MPKs for use in our ArcGIS Runtime (WPF) ...
3
votes
1answer
829 views

Displaying information on a map using an InfoWindow

I am wanting to display information in an InfoWindow when the user clicks on a point on the map. I have implemented the InfoWindow in XAML, but I do not understand the code behind it. Any information ...
3
votes
0answers
227 views

How to draw on an ESRI.PrototypeLab.Surface? [closed]

i'm trying to draw on the ESRI map enabled to Microsoft Surface (ESRI Map -> Surface) but i can't find the way to do so. The problem is that the Draw method (which come from the ArcGIS API for WPF, ...
2
votes
1answer
263 views

Using more than one graphics layer with a FeatureDataGrid

I am wanting to use the FeatureDataGrid to display data. The problem is I have more than one layer that contains data that needs to be displayed. This is how you use the DataGrid for one layer: ...
2
votes
1answer
297 views

Using multiple LayerIDs in a Legend

This should be simple, but I cannot find any documentation on how to do it. I have a legend that is bound to my map that contains several layers. I do not want all of the layers to appear on my Legend ...
2
votes
4answers
634 views

Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?

I try to add a single buffer around the shape of the selected features. So I step through each selected feature and add it's shape to a GeometryBag. With ITopologicalOperator2.ConstructUnion I create ...
2
votes
1answer
459 views

ArcSDE 10 FeatureLayer is read only, FeatureTypes property is null, not sure why

I have a WPF FeatureLayer backed by an ArcSDE feature class that I hope to use for editing. After the layer is done initializing its readOnly property is true, I think that this points to some problem ...
2
votes
1answer
694 views

ArcGis Engine, select object(s) by mouse

I've got a standalone program using ArcGis Engine, showing a map on the screen like this: AxMapControl _mapControl; AxToolbarControl _toolbarControl; // in constructor: _mapControl = new ...
2
votes
1answer
81 views

Dockable window close event

Is there an event that fires when a custom dockable window is closed in ArcMap? My dockable window uses the Add-in pattern and hosts a WPF user control. It opens via a command button which is nested ...
2
votes
1answer
405 views

Using a map from ESRI Server in a radMap

I was wondering if there was a way to use a map that I have stored on an ESRI server in a telerik radMap. I am not very familiar with the radMap control so any help would be appreciated. I have found ...
2
votes
0answers
31 views

ArcGIS AddIn with WPF DockableWindow causes ArcMap to not even start up anymore

I have a simple ArcGIS AddIn with a toolbar and a button on it, which opens a DockableWindow holding a UserControl with some UI Elements on it (a textbox and a listbox). The whole thing was made with ...
2
votes
1answer
177 views

How to use ArcGIS WPF Runtime Deployment Tool via Command Line?

I'd like to be able to use the WPF Runtime (10.1.1) Deployment tool via the command line. If I run DeploymentTool.exe /? on the command line, I get the dialog in the attached image. The /c option ...
2
votes
0answers
403 views

Recommendations on an MVVM framework for ArcGIS Desktop add-ins and/or ArcGIS WPF Runtime

Is anyone using an MVVM framework with ArcGIS Desktop add-ins or the ArcGIS Runtime for WPF? I am leaning towards Caliburn.Micro simply because it seems to be the most popular "lightweight" MVVM ...
2
votes
0answers
232 views

AxSymbologyControl via WindowsFormsHost in WPF (ArcMap Add In Project)

I need a way to offer the user a choice of color ramps for the ClassBreaksRenderer. I came across the AxSymbologyControl which was designed for WinForms. I tried also ESRIs (WinForms) example project ...
2
votes
0answers
574 views

Using labels/attributes from arcMap to display information

I am wanting to take the labels/attributes that are used in arcMap and display them in an InfoWindow when the user clicks on the map point. I really have no idea where to start on this so any help ...
2
votes
0answers
93 views

Map Package is not showing points on map

I am fairly new to GIS, but I am working on an interactive legend and I need to just be able to add a map package to the xaml and it place the points on the map. The legend seems to be working. All of ...
2
votes
0answers
260 views

How can I free esriControls.ControlsSelectTool? Or is it leaking memory?

In my application I have isues with unfreed memory. After several tries I broke down the problem to a simplified WPF project. It opens a simple System.Windows.Window with a Button, which starts the ...
2
votes
0answers
553 views

Implementing custom IRenderer for ArcGis 10.0/WPF

EDIT: Updates in the bottom As a followup to my earlier question, I'm trying to implement custom symbol rendering for my WPF/ArcGIS application. I'm accessing layers that have been published on the ...
2
votes
1answer
497 views

Drag and Drop with Arcengine MapControl within WindowsFormsHost in WPF

I have an application that requires dragging and dropping onto Arcengine's Mapcontrol in a Windowsformhost. I have set the Allowdrop property on both the host and the control itself and it still does ...
1
vote
3answers
401 views

WPF Runtime Arcgis - How to open MXD?

I would like to open MXD with ArcGIS Runtime WPF. There is no example about this. Anybody has a solution ? Thank you
1
vote
1answer
46 views

How to set custom fullextent?

I have a WPF Map control whose extent I would like to restrict to a certain area (e.g. to the full extent of some layer). That is, a user should not be able to zoom out too far, or shift the map to an ...
1
vote
1answer
309 views

Cannot input new data into FeatureDataForm

I am wanting to update the fields on my server using a FeatureDataForm. I have followed the documentation, but it still does not work. It also does not have the buttons in the form that say 'OK' and ...
1
vote
1answer
135 views

Adding, Updating, and Deleting information from arcGIS Server

I am new to ESRI and GIS. I am starting to get into using client data. I have created maps and put them to the server using arcMap and arcGIS for Server. I need to know how easily I can access these ...
1
vote
1answer
243 views

WPF Runtime Arcgis - How to create a MPK?

I would like to create a Map PacKage with ArcGIS Runtime WPF. Have you an example ? Thank you
1
vote
1answer
294 views

Set size of map in PageLayoutControl to print ScaleBar underneath, not within map

For printing we have a PageLayoutControl where the user can select the map extent, he wants to print. I like the map to fill only a square in the middle of the page so that the title, the ScaleBar and ...
1
vote
1answer
100 views

ArcGIS for WPF: LayerCanvas.ArrangeOverride Setting Invalid FrameworkElement Size

I'm reposting this here from ESRI's ArcGIS for WPF Forum in hopes of getting some more exposure. Original post is here. I'm intermittently experiencing an error when rapidly changing map scales on an ...
1
vote
1answer
281 views

FeatureDataGrid and FeatureDataForm will not commit to database or input data

This is the second time that I have posted about this. In my previous question they told me I needed to enable the Feature Access capability. I did this and then it said I needed to have a Data Store ...
1
vote
1answer
318 views

Need to get the ArcGIS Runtime SDK for WPF Routing example to work with my gpk and mpk [closed]

I went through the following two examples to get an idea of how to create a custom, local Routing Task This is a walkthrough that takes you step by step through the creation of your first routing ...
1
vote
1answer
436 views

Retrieving XY from point graphics set in WPF network (arcgis 10.0)

I have a WPF application using ArcGIS 10. In the application I can set two point by clicking on map and calculate route between them. every time I click on the map, The application creates a ...
1
vote
2answers
87 views

How to edit the position of a banner text's pointer?

I have build an ITool where one can add text (ITextElement) to the map. The user can choose the symbol from the ESRI symbology. There one can choose a symbol called "Banner Text" which looks like this ...
1
vote
0answers
19 views

Set Maximum Allowed Panning Area

I'd like to fix the maximal area, in which the user can fly around. Now its possible for the user, to pan everywhere he wants to go. For e.g. to XMin: 216.2. My map has got these "borders": ...
1
vote
1answer
25 views

Why is this formatted string “n. def.”?

I'd like to show the user the current map scale. I update the current map scale in a textblock everytime the map size/scale has changed. This is my code, to show the map scale (in C#): private void ...