Questions tagged [arcgis-api-wpf]

The ArcGIS API for WPF (Windows Presentation Foundation) enables you to create desktop applications that utilize the mapping, geocoding, and geoprocessing capabilities provided by ArcGIS Server and Bing™ services.

Filter by
Sorted by
Tagged with
0 votes
0 answers
63 views

How to make a Dynamic Resource ESRI Button as small as needed in an ArcGIS Pro Window?

How to make a button, on a ProWindow in an ArcGIS Pro Add-in, as large or small as I need? To create an Add-In for ArcGIS Pro, that adjusts for both dark mode and light mode, one needs to use the xaml ...
lep's user avatar
  • 117
1 vote
1 answer
76 views

Unable to load WMS layer without defining basemap

I have a WMS layer I need to render in my application but for some reason it does not want to render unless I have set a basemap. This sadly will not work for me as I need the application to work ...
nabpp's user avatar
  • 63
0 votes
0 answers
50 views

Shapefile not loading all points in ArcGIS .net

I am trying to load a shapefile into my WPF .Net framework application. I can load the file successfully however it only shows a few points of the shapefile. For testing I loaded the same shapefile to ...
nabpp's user avatar
  • 63
1 vote
1 answer
507 views

Getting user input value from ArcGIS web app

I want to have user input an integer value which can then be used in an Arcade expression (for example in a popup menu). Is there a way to do this on ArcGIS Online? I am looking for a solution that ...
ZZZ's user avatar
  • 530
0 votes
0 answers
797 views

Unable to generate token 'referer' must be specified

I have created a HTML page which contains a feature layer that is published in the ArcGIS Online. The feature layer is shared with organization. When I run the page it is asking for the username and ...
Shalinee Mishra 's user avatar
1 vote
0 answers
41 views

How to share business logic among multiple applications using different apis with arcgis?

I've been working with ArcGIS and Esri WPF API for a year, but now me and my job colleagues felt the need to build a new application using the Esri Javascript API. Our application using WPF API has a ...
Leonardo Rotondano's user avatar
3 votes
0 answers
189 views

Attachment editor esri duplicate files

I am using arcgis API's attachment editor var attachmentEditor = new AttachmentEditor({}, dom.byId("content")); attachmentEditor.startup(); featureLayer.on("click", function(evt) { ...
user2955537's user avatar
1 vote
1 answer
1k views

Polygon with dash-dot-dash border style

I'm developing a WPF application. One of my requirements is to have polygon borders drawn with a dash-dot-dash style. Is there a way to accomplish that in the client side? So far I've tried: var ...
Plinio.Santos's user avatar
6 votes
2 answers
2k views

Draw SQL server geometry records as graphics on map using ArcGIS API for WPF 2.4 -can it be done and how?

I have records (of public festivals changing daily) in the in SQL server 2012 that have a geometry column (polygons where they occur). I need to show the records as graphics on a map using ArcGIS ...
jonatr's user avatar
  • 3,185
1 vote
0 answers
82 views

Identifying based on legend items visibility in ArcGIS WPF app? [closed]

I have built a WPF app that has a dynamic legend that is refreshed as a user toggles on/off a layers visibility. I would like the identify task to only identify layers that are visible in the legend ...
Brandon's user avatar
  • 11
1 vote
0 answers
42 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": ...
ArmandoS63's user avatar
1 vote
1 answer
212 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 ...
ArmandoS63's user avatar
1 vote
1 answer
534 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 ...
ArmandoS63's user avatar
0 votes
1 answer
513 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: ...
ArmandoS63's user avatar
1 vote
1 answer
3k views

How to zoom to a specific point?

How is it possible to make the map zoom to a specific point like an address that the user wants to find? Codebehind: private void btnSearch_Click(object sender, RoutedEventArgs e){ var queryTask ...
ArmandoS63's user avatar
2 votes
2 answers
3k views

Seeking ArcGIS *.tpk maps to buy / download?

I have an ArcGIS for WPF application capable of displaying both online (ESRI map server) and local (*.tpk files) basemaps. I currently have a need to be able to load a basemap of China on a machine ...
user33079's user avatar
-1 votes
1 answer
287 views

ArcGIS API for Javascript - InfoTemplate on a polyline

I have a web map with a few points and a single polyline. I have infoTemplate(s) attached to the points and tried to replicate this to the polyline however, I can't get it to work. I looked on the ...
Bob C's user avatar
  • 99
0 votes
3 answers
3k views

ArcGIS API for JavaScript - Create simple buffer or circle graphic against one point

I am stuck, trying to figure out how to create a simple graphic for adding a circle based on one point in my web map. I need the circle to be centered on my single point, with a radius of 5 miles. I ...
Bob C's user avatar
  • 99
1 vote
1 answer
213 views

ArcGIS API for JavaScript - Adding Point(s)

I need to add a single point, I am new to JS and ArcGIS API. I was looking for some code examples on how to create a point and/or a few other points (as needed) I can't use any additional pages/...
Bob C's user avatar
  • 99
0 votes
1 answer
2k views

Can I use Google API or Google Maps in web application developed with ArcGIS APIs?

I need to know that is it possible to use Google Maps (as a base map) and its GIS functionalities (like find/search features) in my web application developed with ArcGIS API for Silverlight/JavaScript....
Gauri's user avatar
  • 36
3 votes
1 answer
779 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) ...
Tony John's user avatar
1 vote
0 answers
99 views

Stopping the automatic snap to locator in Arcgis 10.0 reverse geocode

I built a network application using arcgis 10.0 sdk for wpf. The application uses a locator of highway milestones to reverse geocode (and identify) the "flag" the user clicked on the map. My Problem ...
jonatr's user avatar
  • 3,185
1 vote
2 answers
2k views

Can draw points but not polylines in WPF Runtime code

The following C# code works when drawing in Point mode, but not Polyline . . . // "Draw" is ESRI.ArcGIS.Client.Draw object _draw = new Draw(_map); _draw.DrawMode = DrawMode.Polyline; ...
Renee Cammarere's user avatar
0 votes
2 answers
1k views

Using InfoWindow with Feature Layer and 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 ...
JLott's user avatar
  • 413
3 votes
1 answer
2k 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. <esri:Map x:Name=...
JLott's user avatar
  • 413
3 votes
0 answers
247 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, ...
Gun's user avatar
  • 201
5 votes
2 answers
4k views

Adding 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 ...
user avatar
0 votes
1 answer
505 views

Is Tile same as Layer? [closed]

Is there difference between a tile server or a layer server? Can I load tile in ArcGIS control in WPF from some other source? Can I host my own layer server? Or is there any such thing as layer server?...
Muhammad Hasan Khan's user avatar