Giter Site home page Giter Site logo

aizefler / arcgis-maps-sdk-dotnet-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from esri/arcgis-maps-sdk-dotnet-samples

0.0 0.0 0.0 411.5 MB

Sample code for ArcGIS Runtime SDK for .NET – UWP, WPF, Xamarin.Android, Xamarin.iOS, and Xamarin.Forms

License: Apache License 2.0

Shell 0.04% JavaScript 1.57% Ruby 0.01% Python 1.35% C# 95.10% CSS 1.91% Dockerfile 0.02%

arcgis-maps-sdk-dotnet-samples's Introduction

Link: ArcGIS Developers home Link: Documentation Link: Tutorials Badge: Samples Link: Demos Link: Toolkit Link: Templates Link: NuGet Link: Esri Community

ArcGIS Maps SDK for .NET - Samples

Screenshot of the sample viewer for WPF


Interactive samples demonstrate the ArcGIS Maps SDK for .NET API

Get started

If you're on Windows, the easiest way to get started is to download the viewer from the Microsoft Store:

Get it from Microsoft badge

Or, you can browse a searchable list of samples on the ArcGIS for developers website:

Link: WPF Link: WinUI Link: UWP Link: .NET MAUI

Build the samples locally

If you want to modify or debug sample code, you can clone this repo and load one of the following solutions:

  • All: src\ArcGIS.Viewers.All.sln
  • .NET MAUI (iOS, Android): src\MAUI\ArcGIS.Samples.Maui.sln

If you are only interested in one platform, you can open a platform-specific solutions:

The following platforms are being kept for reference, but no new sample implementations are being added:

  • UWP: src\Windows\ArcGIS.UWP.Viewer.sln

Notes

IMPORTANT When you run the samples, you will need to provide an API key. You can get a free developer account and key on the ArcGIS Developers website. For more information see https://links.esri.com/arcgis-runtime-security-auth.

  • The .NET sample viewers have a prompt for setting an API key. You can also hardcode your API key in the GetLocalKey() method of the ApiKeyManager class.
  • Before using WinUI, install the latest Windows SDK and the vsix plugin.
  • When compiling Universal Windows Platform or WinUI samples, make sure that you are compiling against x86/x64/ARM platform and not using AnyCPU.

Offline data

Several samples require local data to function properly. That data is downloaded to local storage automatically when a sample is run. This process is handled by the DataManager class (located in the 'Managers' folder in each viewer project). Samples that use the data manager to download their data are differentiated as follows:

  • They have RequiresOfflineData set to true in their metadata.json files
  • They have one or more entries under DataItemIds in their metadata.json files (these are portal item Ids)
  • They use the data manager to identify the correct path for their offline files at run time

See the contribution guidelines for more detailed information.

Requirements

Supported system configurations for ArcGIS Maps SDK for .NET

Tools

Esri uses several tools to more efficiently manage the content in this repo. See Tools for more information.

Contribute

Anyone and everyone is welcome to contribute.

License

Copyright 2022 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.

arcgis-maps-sdk-dotnet-samples's People

Contributors

ncastle1 avatar thadt avatar katydalton avatar zackallen avatar anttikajanus avatar dkemlage avatar mbranscomb avatar duffh avatar gdestigter avatar dotmorten avatar semcilreavy avatar pmaske avatar williambohrmann3 avatar jnery avatar asserswelam avatar rexhansen avatar amweis226 avatar asantana917 avatar zwaap avatar mstefarov avatar dbroux avatar chrisahill avatar tsamaya avatar dependabot[bot] avatar timbojoe avatar twakim avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.