|
POST
|
I attached the sample. You'll need .NET Runtime 100.2.1. Hope this helps! Mara
... View more
05-23-2018
03:54 PM
|
1
|
4
|
3236
|
|
POST
|
I'm currently working on an app internally that uses popups. I'll pull the functionality into a sample app and share it with you ASAP. Stay tuned.
... View more
05-23-2018
02:36 PM
|
1
|
0
|
3237
|
|
POST
|
Take a look at the Maps App Example App. It implements MVVM in a cross platform environment. GitHub - Esri/maps-app-dotnet: Your organization's suite of cross platform mapping apps built with the ArcGIS Runtime SD…
... View more
05-22-2018
11:07 AM
|
0
|
0
|
1236
|
|
POST
|
Hi Vijit, Here's the guide doc on Local Server: Local Server—ArcGIS Runtime SDK for .NET (WPF) | ArcGIS for Developers Here's a sample on how to work with services in Local Server. It shows how to create services, start and stop them: Local Server Services—ArcGIS Runtime SDK for .NET Samples | ArcGIS for Developers There are several other Local Server samples on the samples page. Also, here's a helpful presentation on Local Server Livin' la vida Local Server - YouTube The above resources should be able to answer all of your Local Server questions. However, if you go though all of the documentation material and still have questions, please let us know. We always want to hear about gaps in our documentation and how to make it more helpful. Mara
... View more
04-11-2018
10:12 AM
|
1
|
1
|
2230
|
|
POST
|
Hi Vijit, Could you provide a bit more details on what you're trying to do please. Is there a specific reason you're trying to use local server, besides wanting your data offline? Have you considered using a mobile map package? It provides everything you mentioned in your question (basemaps, layers) without the added complexity of a local server deployment. Here's the document on how to create mobile map packages with ArcGIS Pro: Mobile map package—ArcGIS Pro | ArcGIS Desktop. You can find an implementation of offline mobile map packages in the Offline Mapbook example app: Offline Mapbook for WPF | ArcGIS for Developers. Hope this helps, Mara
... View more
04-10-2018
12:28 PM
|
0
|
3
|
2230
|
|
POST
|
Hello Vijit, The app I provide is a fully functional and tested application. Can you provide more information about your environment and what error you are getting. Mara
... View more
03-21-2018
09:31 AM
|
0
|
0
|
1963
|
|
POST
|
Hello Vijit, I recommend you take a look at the Offline Mapbook for WPF | ArcGIS for Developers. It's an example app built in WPF with .NET Runtime 100.2. It comes with detailed documentation and the app is open source, you can use it to get started with your app. We also have the same app for Android, which is written in Java: Offline Mapbook for Android | ArcGIS for Developers . You can use both apps side by side to learn basic concepts as the APIs are very similar in functionality. Hope this helps, Mara
... View more
03-20-2018
10:33 AM
|
1
|
2
|
1963
|
|
POST
|
Hello Vijit, Like Antti mentioned, the DevLabs are a great place to start. These are step by step tutorials and should give you plenty of resources to get started. You do not have to download the code from GitHub. Below is the link to all of the .NET ones. There are 11 of them. If you try them and find them confusing, please let us know which ones you tried and what specifically you found confusing about each individual dev lab. Browse ArcGIS DevLabs | ArcGIS for Developers
... View more
03-14-2018
11:39 AM
|
0
|
0
|
1963
|
|
POST
|
Hi Chris, There's a good example of what you're wanting to do in our Offline Mapbook example app. Hope this helps! https://github.com/Esri/mapbook-wpf Mara
... View more
02-14-2018
01:27 PM
|
2
|
1
|
1511
|
|
POST
|
Mike, You can create scale dependent symbology in Pro when you create your layer. See resource below please. Scale-based symbol classes—ArcGIS Pro | ArcGIS Desktop
... View more
02-07-2018
01:42 PM
|
1
|
2
|
4653
|
|
BLOG
|
We like to think that the world is mostly digital and that all field personnel hop from job site to job site armed with tablets that are auto-magically kept in sync for them by highly sophisticated software and nobody uses paper maps anymore. While that is certainly true for some, the reality is that paper maps are a long way from being replaced. So why, with all the global efforts going on to eliminate paper, are paper maps so hard to replace? One of the most common reasons is a budgetary constraint. Companies cannot afford to invest in tablets, training, and mapping software for each field worker. Publishing a web map that the field worker could access on their laptop is a solution to the budgetary constraint, but that introduces the issue of not being able to access the maps in a disconnected environment. Another cause is that some of the existing apps are just too complicated. So paper maps do the job because they are simple, inexpensive, and available anywhere. How Offline Mapbook competes with paper maps We have engineered the Offline Mapbook example application to be a very simple, easy to use map viewing app. It works on any Windows device running Windows 7 and above and is designed to work fully offline. The interface is simple, intuitive and touch friendly. It's free and open sourced so it can be modified to fit anyone's needs. One mapbook, multiple maps Using a mobile map package makes it easy to have multiple maps in one app. Table of Contents and Legend Maps with multiple superimposed data layers are hard to discern. The Table of Contents in the Offline Mapbook lets users turn layers on and off as needed. Locate Multiple locators can be configured within the mobile map package to facilitate searching for both map features and addresses. Identify More information about a feature is available by clicking or tapping on it. Offline capabilities and syncing While the app is designed to function in a fully disconnected environment, that does not mean the data becomes stale once loaded. Every time the app is started, if an internet connection is present, it checks the location of the mobile map package to see if a new one is available to download. Get more info Often times we try to do everything at once. We try to make an app that visualizes and collects and analyzes, but we lack the budget or the skill set. More often than not, the intended audience is overwhelmed by the amount of features they are presented with, and the uptake is slow and painful. This app was designed with all that in mind, to give you a simple way to get digital data into people's hands now, and let you worry about collecting and analyzing later. Click here to read more about the app.
... View more
10-18-2017
08:44 AM
|
0
|
0
|
865
|
|
POST
|
Below are some resources for you: Mobile Map Packages: Mobile map package—ArcGIS Pro | ArcGIS Desktop Using offline map in Runtime SDK for .NET: Offline—ArcGIS Runtime SDK for .NET (WPF) | ArcGIS for Developers Sample code to open an MMPK: arcgis-runtime-samples-dotnet/OpenMobileMap.xaml.cs at ba801b4e9593b52aaf1b8f713f5ae878a23e2077 · Esri/arcgis-runtime-sa… WPF example app that uses mobile map packages: Home · Esri/mapbook-wpf Wiki · GitHub
... View more
08-24-2017
09:39 AM
|
0
|
0
|
1057
|
|
POST
|
To open an mmpk use MobileMapPackage.OpenAsync(string path)
... View more
08-24-2017
08:49 AM
|
0
|
2
|
1057
|
|
POST
|
Looks like you're trying to open an mpkx, which is a map package. A mobile map package has an mmpk extension. You can create one by using the Create Mobile Map Package tool in Arcgis Pro.
... View more
03-24-2017
03:28 PM
|
1
|
1
|
1103
|
|
POST
|
Hi Jeff, This is an issue we're aware of and it is resolved for our next release early this summer. In the meantime, you could use a GraphicsOverlay as a workaround for your labels // Run query to get all the features in the visible area
var featureLayer = mapView.Map.OperationalLayers[layerIndex] as FeatureLayer;
if (featureLayer != null)
{
var featureTable = featureLayer.FeatureTable;
// Set query parameters
var queryParams = new QueryParameters()
{
ReturnGeometry = true,
Geometry = mapView.VisibleArea
};
// Query the feature table
var queryResult = await roomsTable.QueryFeaturesAsync(queryParams);
// Query using the def query expression
var labelFeatures = queryResult.Where(f => f.Attributes["DefQueryColumn"].ToString() == "QueryExpression");
if (labelFeatures != null)
{
try
{
var graphicsOverlay = this.MapView.GraphicsOverlays["LabelsGraphicsOverlay"];
graphicsOverlay.Graphics.Clear();
// Run garbage collector manually to prevent System.ArgumentException
GC.Collect();
GC.WaitForPendingFinalizers();
foreach (var feature in labelFeatures)
{
var centerPoint = feature.Geometry.Extent.GetCenter();
var label = feature.Attributes["LabelAttribute"];
if (label != null)
{
// Create graphic
var labelText = new TextSymbol(label.ToString(), System.Drawing.Color.Black, 10, HorizontalAlignment.Center, VerticalAlignment.Middle);
var labelGraphic = new Graphic(centerPoint, labelText);
// Add label to map
graphicsOverlay.Graphics.Add(labelGraphic);
}
}
}
catch
{
}
}
}
... View more
03-22-2017
02:03 PM
|
0
|
0
|
692
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-07-2018 01:42 PM | |
| 1 | 05-23-2018 03:54 PM | |
| 1 | 09-05-2018 11:12 AM | |
| 1 | 04-11-2018 10:12 AM | |
| 1 | 01-29-2019 10:08 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:25 AM
|