Giter Club home page Giter Club logo

arcgis-runtime-samples-dotnet's Introduction

ArcGIS Runtime SDK for .NET samples

This project contains samples for the ArcGIS Runtime SDK for .NET including WPF, UWP and Xamarin platforms.

Samples tables of contents

See each platform's TOC:

Instructions

  1. Fork and then clone the repo or download the .zip file.

  2. Confirm the supported system configuration for the API of interest in the ArcGIS Runtime SDK for .NET:

  3. For the platform you want to view: open the solution, restore NuGet packages, build, and run the application

    • WPF (.NET Framework): src\WPF\ArcGISRuntime.WPF.Viewer.sln
    • WPF (.NET Core): src\WPF\ArcGISRuntime.WPF.Viewer.NetCore.sln
    • UWP: src\Windows\ArcGISRuntime.UWP.Viewer.sln
    • Xamarin.Android: src\Android\ArcGISRuntime.Xamarin.Samples.Android.sln
    • Xamarin.iOS: src\iOS\ArcGISRuntime.Xamari.Samples.iOS.sln
    • Xamarin.Forms: src\Windows\ArcGISRuntime.Xamarin.Samples.Forms.sln
    • WinUI: \src\WinUI\ArcGISRuntime.WinUI.Viewer.sln (Preview)

    or

    • All: src\ArcGISRuntime.Viewers.All.sln
    • Windows ( WPF / UWP ): src\ArcGISRuntime.Viewers.Windows.sln
    • Xamarin (iOS, Android, Forms): src\ArcGISRuntime.Viewers.Xamarin.sln

Notes:

  • Authentication: Use of Esri location services, including basemaps and geocoding, requires either an ArcGIS identity or an API key. 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.

  • When compiling Universal Windows Platform samples, make sure that you are compiling against x86/x64/ARM platform and not using AnyCPU.

Requirements

Resources

Offline data

Several samples require local data to function properly. That data is downloaded to local storage automatically at runtime. This process is handled by the DataManager class (located in the 'Managers' folder in each view 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.

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Anyone and everyone is welcome to contribute.

Tools

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

Licensing

Copyright 2021 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-runtime-samples-dotnet's People

Contributors

ncastle1 avatar thadt avatar katydalton avatar anttikajanus avatar dkemlage avatar zackallen avatar mbranscomb avatar gdestigter avatar dotmorten avatar semcilreavy avatar pmaske avatar jnery avatar asserswelam avatar rexhansen 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.