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

learn more… | top users | synonyms

0
votes
0answers
19 views

Prompt ArcMap Add-in to save settings before closing ArcMap

I'm working on an ArcMap 10.2 add-in which runs as a C# WPF application. I've linked the add-in window as a child owned by the ArcMap window so it will close when ArcMap is closed (among other ...
1
vote
0answers
15 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": ...
3
votes
1answer
47 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 ...
1
vote
1answer
20 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 ...
1
vote
1answer
35 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 ...
0
votes
1answer
36 views

How to set max map scale for a layer?

How can I set the maximum scale for a layer? Sometimes the layer is not visible (it disappear), when the map scale is >= 1:250000. I'd like to set it on max 1:125000. This code does not work: ...
2
votes
1answer
56 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 ...
0
votes
0answers
67 views

ArcGIS Runtime for WPF basemap disappears when zoomed in

I have a problem where the http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer basemap is disabled and the images are removed when you zoom in to a large scale. I've set ...
0
votes
0answers
45 views

Function of query.Like

I was wondering how ESRI's query.Text works. From what I read, it is basically the shorthand for the LIKE SQL statement, but it is not working. Maybe I am misunderstanding it's use? Any help is ...
1
vote
1answer
125 views

How do I use actions from ArcGIS SDK for WPF in the latest version of WPF?

I understand how to use the Actions and Behaviors but there is a problem I'm not sure is solvable other than to downgrade the version of .net and WPF I'm using. I installed the latest ArcGIS SDK for ...
1
vote
1answer
227 views

Drag and Drop onto ArcGIS Runtime WPF Map

I'm looking for advice on implementing drag & drop onto the WPF map control. My goal is to drag from a list of items, and drop on the map to create a new graphic/feature at the drop location. The ...
0
votes
0answers
104 views

Display DEM in WPF application

In my application which is based on .net4/C#/wpf, I need to display a decent sized terrain file (eg. GeoTiff). It is an elevation file which should be viewed in 3D. The user should be able to draw ...
1
vote
1answer
150 views

How to use ArcGIS for WPF custom symbol with data binding?

Esri's ArcGIS for WPF does not seem to have any real MVVM support or binding support; unless I'm mistaken. Anyway, I am creating a tracking application and it needs to track objects via GPS ...
0
votes
0answers
197 views

Why does my feature layer crash on “query complete”?

In my WPF application I have an ArcGIS map with a set of various feature layers. When I execute the program on my local developer machine it works fine. Unfortunately, once it is deployed on a ...
0
votes
0answers
132 views

How to show an infowindow on click of an Image symbol marked at specific coordinates in ArcGIS map.

markers(Pushpins) are loaded with values from XML and is displayed on the map.How to enable click events on the markers to display InfoWindow. <esri:Map x:Name="MyMap" ...
1
vote
1answer
97 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
0answers
230 views

Drawing Curves/Bezier Lines with ESRI WPF Runtime

I'm looking for some pointers on how to draw a curved line or bezier line in WPF runtime. The WPF runtime sample application has a drawing mode for straight line, polyline, and freehand. However, no ...
0
votes
0answers
107 views

Scrollbars not visible in InfoWindow

I am having problems getting the scrollbars to show in my InfoWindow. Code is below. Any help would be appreciated. XAML: <DataTemplate x:Key="MyFeatureLayerInfoWindowTemplate"> ...
2
votes
1answer
235 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
156 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 ...
1
vote
0answers
188 views

How to get hold of the Activated Event for the ArcMap window?

I am using ArcObjects 9.3 .NET. In my ArcMap dockable window, I have a single element host hosting a WPF user control (That's the only means of using WPF for ArcMap extensions as far as I know). ...
1
vote
1answer
264 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
299 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
126 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 ...
2
votes
1answer
265 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 ...
0
votes
2answers
465 views

Object does not exist in the namespace “http://schemas.esri.com/arcgis/client/2009”

I am trying to move all of my GIS code over the Visual Studio 2012. I have added the following references: C#: using ESRI.ArcGIS.Client; using ESRI.ArcGIS.Client.Geometry; using ...
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) ...
3
votes
1answer
321 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) ...
2
votes
0answers
390 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 ...
1
vote
3answers
359 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
235 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
2
votes
1answer
375 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 ...
0
votes
2answers
433 views

Using an InfoWindow with a Feature Layer and a DialogWindowBase

I need to have an infoWindow that displays the Outfields of a FeatureLayer. The infoWindow is popping up, but it is popping up no matter where you click on the map and it does not contain any of the ...
3
votes
1answer
767 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
1answer
905 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 ...
1
vote
1answer
299 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 ...
2
votes
0answers
219 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
547 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 ...
1
vote
1answer
405 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 ...
2
votes
0answers
92 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 ...
1
vote
2answers
83 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 ...
8
votes
4answers
708 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 ...
2
votes
4answers
590 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 ...
1
vote
0answers
64 views

IMapControlEvents2.OnKeyDown not hit on Alt + key

I want to catch the Alt key plus an addionally hit key in the MapControl's OnKeyDown. I did already set MapControl's KeyIntercept to esriKeyIntercept.esriKeyInterceptAlt but the event handler doesn't ...
5
votes
1answer
274 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 ...
2
votes
0answers
247 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 ...
4
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 ...
4
votes
2answers
891 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 ...
2
votes
0answers
537 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 ...
6
votes
1answer
527 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 ...