- Distance measurement analysis - Measure distances between two points in 3D.
- Line of sight (geoelement) - Show a line of sight between two moving objects.
- Line of sight (location) - Perform a line of sight analysis between two points in real time.
- Query feature count and extent - Zoom to features matching a query and count the features in the current visible extent.
- Viewshed for camera - Analyze the viewshed for a camera. A viewshed shows the visible and obstructed areas from an observer's vantage point.
- Viewshed for GeoElement - Analyze the viewshed for an object (GeoElement) in a scene.
- Viewshed for location - Perform a viewshed analysis from a defined vantage point. Viewshed analyses have several configuration options that are demonstrated in this sample.
- Collect data in AR - Tap on real-world objects to collect data.
- Display scenes in tabletop AR - Use augmented reality (AR) to pin a scene to a table or desk for easy exploration.
- Explore scenes in flyover AR - Use augmented reality (AR) to quickly explore a scene more naturally than you could with a touch or mouse interface.
- Navigate in AR - Use a route displayed in the real world to navigate.
- View hidden infrastructure in AR - Visualize hidden infrastructure in its real-world location using augmented reality.
- Add features - Add features to a feature layer.
- Delete features (feature service) - Delete features from an online feature service.
- Edit and sync features - Synchronize offline edits with a feature service.
- Edit feature attachments - Add, delete, and download attachments for features from a service.
- Feature layer (geodatabase) - Display features from a local geodatabase.
- Feature layer (GeoPackage) - Display features from a local GeoPackage.
- Feature layer query - Find features in a feature table which match an SQL query.
- Feature layer (shapefile) - Open a shapefile stored on the device and display it as a feature layer with default symbology.
- Generate geodatabase - Generate a local geodatabase from an online feature service.
- Geodatabase transactions - This sample demonstrates how to manage edits to a local geodatabase inside of transactions.
- List related features - List features related to the selected feature.
- Raster layer (GeoPackage) - Open a
GeoPackage
, obtain a raster from the package, and display the table as aRasterLayer
. - Read a GeoPackage - Add rasters and feature tables from GeoPackages to a map.
- Read shapefile metadata - Read a shapefile and display its metadata.
- Service feature table (on interaction cache) - Display a feature layer from a service using the on interaction cache feature request mode.
- Service feature table (manual cache) - Display a feature layer from a service using the manual cache feature request mode.
- Service feature table (no cache) - Display a feature layer from a service using the no cache feature request mode.
- Statistical query - Query a table to get aggregated statistics back for a specific field.
- Statistical query group and sort - Query a feature table for statistics, grouping and sorting by different fields.
- Symbolize a shapefile - Display a shapefile with custom symbology.
- Update attributes (feature service) - Update feature attributes in an online feature service.
- Update geometries (feature service) - Update a feature's location in an online feature service.
- View point cloud data offline - Display local 3D point cloud data.
- Buffer - Create a buffer around a map point and display the results as a
Graphic
- Buffer list - Generate multiple individual buffers or a single unioned buffer around multiple points.
- Clip geometry - Clip a geometry with another geometry.
- Convex hull - Create a convex hull for a given set of points. The convex hull is a polygon with shortest perimeter that encloses a set of points. As a visual analogy, consider a set of points as nails in a board. The convex hull of the points would be like a rubber band stretched around the outermost nails.
- Convex hull list - This sample demonstrates how to use the GeometryEngine.ConvexHull to generate convex hull polygon(s) from multiple input geometries.
- Create geometries - Create simple geometry types.
- Cut geometry - Cut a geometry along a polyline.
- Densify and generalize - A multipart geometry can be densified by adding interpolated points at regular intervals. Generalizing multipart geometry simplifies it while preserving its general shape. Densifying a multipart geometry adds more vertices at regular intervals.
- Format coordinates - Format coordinates in a variety of common notations.
- Geodesic operations - This sample demonstrates how to perform geodesic operations on geometries using the GeometryEngine. Geodesic calculations take into account the curvature of the Earth, while planar calculations are based on a 2D Cartesian plane.
- List transformations by suitability - Get a list of suitable transformations for projecting a geometry between two spatial references with different horizontal datums.
- Nearest vertex - Shows how to find the nearest vertex on a geometry to a given point.
- Project - Project a point from one spatial reference to another.
- Project with specific transformation - This sample demonstrates how to use the GeometryEngine with a specified geographic transformation to transform a geometry from one coordinate system to another.
- Perform spatial operations - Find the union, intersection, or difference of two geometries.
- Spatial relationships - Determine spatial relationships between two geometries.
- Analyze hotspots - Use a geoprocessing service and a set of features to identify statistically significant hot spots and cold spots.
- Analyze viewshed (geoprocessing) - Calculate a viewshed using a geoprocessing service, in this case showing what parts of a landscape are visible from points on mountainous terrain.
- List geodatabase versions - This sample calls a custom GeoprocessingTask to get a list of available versions for an enterprise geodatabase. The task returns a table of geodatabase version information, which is displayed in the app as a list.
- Add graphics with renderer - Change the style of all graphics in a graphics overlay by referencing a single symbol style.
- Add graphics with symbols - Use a symbol style to display a graphic on a graphics overlay.
- Animate 3D graphic - An
OrbitGeoElementCameraController
follows a graphic while the graphic's position and rotation are animated. - Dictionary renderer with graphics overlay - Render graphics with mil2525d symbols.
- Identify graphics - Display an alert message when a graphic is clicked.
- Scene properties expressions - Update the orientation of a graphic using scene property rotation expressions.
- Sketch on map - Use the Sketch Editor to edit or sketch a new point, line, or polygon geometry on to a map.
- Surface placement - Position graphics relative to a surface using different surface placement modes.
- Add ENC exchange set - Display nautical charts per the ENC specification.
- Change ENC display settings - Configure the display of ENC content.
- Select ENC features - Select features in an ENC layer.
- Add an integrated mesh layer - View an integrated mesh layer from a scene service.
- Add a point scene layer - View a point scene layer from a scene service.
- ArcGIS map image layer - Add an ArcGIS Map Image Layer from a URL to a map.
- ArcGIS tiled layer - Load an ArcGIS tiled layer from a URL.
- ArcGIS vector tiled layer URL - Load an ArcGIS Vector Tiled Layer from a URL.
- Browse WFS layers - Browse a WFS service for layers and add them to the map.
- Blend renderer - Blend a hillshade with a raster by specifying the elevation data. The resulting raster looks similar to the original raster, but with some terrain shading, giving it a textured look.
- Change feature layer renderer - Change the appearance of a feature layer with a renderer.
- Stretch renderer - Use a stretch renderer to enhance the visual contrast of raster data for analysis.
- Change sublayer renderer - Apply a renderer to a sublayer.
- Map image layer sublayer visibility - Change the visibility of sublayers.
- Control annotation sublayer visibility - Use annotation sublayers to gain finer control of annotation layer subtypes.
- Create and save KML file - Construct a KML document and save it as a KMZ file.
- Feature collection layer - Create a Feature Collection Layer from a Feature Collection Table, and add it to a map.
- Display annotation - Display annotation from a feature service URL.
- Display KML - Load and display KML from a URL, a local file, or a portal item.
- Display KML network links - Display a file with a KML network link.
- Display a scene - Display a scene with a terrain surface and some imagery.
- Display subtype feature layer - Displays a composite layer of all the subtype values in a feature class.
- Display a WFS layer - Display a layer from a WFS service, requesting only features for the current extent.
- Edit KML ground overlay - Edit the values of a KML ground overlay.
- Export tiles - Download tiles to a local tile cache file stored on the device.
- Feature collection layer from portal item - This sample demonstrates opening a feature collection saved as a portal item.
- Feature collection layer (Query) - Create a feature collection layer to show a query result from a service feature table. The feature collection is then displayed on a map with a feature collection layer.
- Feature layer definition expression - Limit the features to display on the map using a definition expression.
- Dictionary renderer with feature layer - Convert features into graphics to show them with mil2525d symbols.
- Feature layer rendering mode (map) - Render features statically or dynamically by setting the feature layer rendering mode.
- Feature layer rendering mode (scene) - Render features in a scene statically or dynamically by setting the feature layer rendering mode.
- Feature layer selection - Select features in a feature layer.
- Feature layer (feature service) - Show a feature layer on a map using the URL to the service.
- Group layers - Group a collection of layers together and toggle their visibility as a group.
- Identify KML features - This sample demonstrates how to identify features in a KML layer. Identified feature attributes are displayed in a callout to simulate a popup.
- List KML contents - List the contents of a KML file. KML files can contain a hierarchy of features, including network links to other KML content.
- Web tiled layer - Display a tiled web layer.
- Map image layer tables - Find features in a spatial table related to features in a non-spatial table.
- Query map image sublayer - Find features in a sublayer based on attributes and location.
- OpenStreetMap layer - Add OpenStreetMap as a basemap layer.
- Play a KML tour - Play tours in KML files.
- Colormap renderer - Apply a colormap renderer to a raster.
- Raster hillshade renderer - Use a hillshade renderer on a raster.
- Raster layer (file) - Create and use a raster layer made from a local raster file.
- Raster layer (service) - Create a raster layer from a raster image service.
- ArcGIS raster function (service) - Show a raster layer from an image service with a raster function applied.
- Raster rendering rule - Display a raster on a map and apply different rendering rules to that raster.
- RGB Renderer - Use an
RGBRenderer
on aRasterLayer
. AnRGBRenderer
is used to adjust the color bands of a multispectral image. - Scene layer selection - Identify GeoElements in a scene layer.
- Scene layer (URL) - Display an ArcGIS scene layer from a URL.
- Show labels on layers - Display custom labels on a feature layer.
- Style WMS layers - Discover available styles and apply them to WMS sublayers.
- Time-based query - This sample demonstrates how to query data using a time extent. This workflow can be used to return records that are between a specified start and end date. For example, you could specify to only show records that are before September 16, 2000.
- Load WFS with XML query - Load a WFS feature table using an XML query.
- Identify WMS features - Identify features in a WMS layer and display the associated popup content.
- WMS Layer URL - Display a WMS layer using a WMS service URL.
- WMS service catalog - Connect to a WMS service and show the available layers and sublayers. Layers are shown in a hierarchy. Selecting a group layer will recursively select all sublayers for display.
- WMTS layer - Display a layer from a Web Map Tile Service.
- Display device location - Display your current position on the map, as well as switch between different types of auto pan Modes.
- Show location history - Display your location history on the map.
- Access load status - Determine the map's load status which can be:
NotLoaded
,FailedToLoad
,Loading
,Loaded
. - Apply scheduled updates to preplanned map area - Apply scheduled updates to a downloaded preplanned map area.
- Create and save a map - Create and save a map as an ArcGIS
PortalItem
(i.e. web map). - Change atmosphere effect - Changes the appearance of the atmosphere in a scene.
- Change basemap - Change a map's basemap. A basemap is beneath all layers on an
Map
and is used to provide visual reference for the operational layers. - Create terrain surface from a local raster - Use a terrain surface with elevation described by a raster file.
- Create terrain surface from a tile package - Set the terrain surface with elevation described by a local tile package.
- Display a map - Display a map with an imagery basemap.
- Download a preplanned map area - Take a map offline using an available preplanned map area.
- Generate offline map - Take a web map offline.
- Generate Offline Map (Overrides) - Use the
OfflineMapTask
with overrides to take a webmap offline. The overrides workflow allows you to adjust the settings used for taking each layer in the map offline. For a simple example of how you take a map offline, please consult the "Generate Offline Map" sample. - Get elevation at a point - Get the elevation for a given point on a surface in a scene.
- Honor mobile map package expiration date - Access the expiration information of an expired mobile map package.
- Manage bookmarks - Access and create bookmarks on a map.
- Manage operational layers - Add, remove, and reorder operational layers in a map.
- Map reference scale - Set a map's reference scale and control which feature layers should honor that scale.
- Mobile map (search and route) - Display maps and use locators to enable search and routing offline using a Mobile Map Package.
- Generate offline map with local basemap - Use the
OfflineMapTask
to take a web map offline, but instead of downloading an online basemap, use one which is already on the device. - Open map URL - Display a web map.
- Open mobile map package - Display a map from a mobile map package.
- Open Mobile Scene Package - Open and display a scene from a Mobile Scene Package (.mspk).
- Open a scene (Portal item) - Open a scene from a Portal item. Just like Web Maps are the ArcGIS format for maps, Web Scenes are the ArcGIS format for scenes. These scenes can be stored in ArcGIS Online or Portal.
- Search for webmap - Find webmap portal items by using a search term.
- Map initial extent - Display the map at an initial viewpoint representing a bounding geometry.
- Set initial map location - Display a map centered on an initial point with a specified level of detail (zoom level).
- Set map spatial reference - Specify a map's spatial reference.
- Set min & max scale - Restrict zooming between specific scale ranges.
- Terrain exaggeration - Configure the vertical exaggeration of terrain (the ground surface) in a scene.
- View content beneath terrain surface - See through terrain in a scene and move the camera underground.
- Change time extent - This sample demonstrates how to filter data in layers by applying a time extent to a MapView.
- Change viewpoint - Set the map view to a new viewpoint.
- Choose camera controller - Control the behavior of the camera in a scene.
- Display draw status - Get the draw status of your map view or scene view to know when all layers in the map or scene have finished drawing.
- Display grid - Display coordinate system grids including Latitude/Longitude, MGRS, UTM and USNG on a map view. Also, toggle label visibility and change the color of grid lines and grid labels.
- Display layer view state - View the status of the layers on the map.
- Feature layer time offset - Show data from the same service side-by-side with a time offset. This allows for the comparison of data over time.
- GeoView viewpoint synchronization - Keep the view points of two views (a MapView and a SceneView in this case) synchronized with each other.
- Identify layers - Identify features in all layers in a map. MapView supports identifying features across multiple layers. Because some layer types have sublayers, the sample recursively counts results for sublayers within each layer.
- Map rotation - Rotate a map.
- Show callout - Show a callout with the latitude and longitude of user-tapped points.
- Show magnifier - Tap and hold on a map to show a magnifier.
- Take a screenshot - Take a screenshot of the map.
- Find closest facility to an incident (interactive) - Find a route to the closest facility from a location.
- Find closest facility to multiple incidents (service) - Find routes from several locations to the respective closest facility.
- Configure subnetwork trace - Get a server-defined trace configuration for a given tier and modify its traversability scope, add new condition barriers and control what is included in the subnetwork trace result.
- Find route - Display directions for a route between two points.
- Find service area - Find the service area within a network from a given point.
- Find service areas for multiple facilities - Find the service areas of several facilities from a feature service.
- Navigate route - Use a routing service to navigate between points.
- Navigate route with rerouting - Navigate between two points and dynamically recalculate an alternate route when the original route is unavailable.
- Offline routing - Solve a route on-the-fly using offline data.
- Route around barriers - Find a route that reaches all stops without crossing any barriers.
- Trace a utility network - Discover connected features in a utility network using connected, subnetwork, upstream, and downstream traces.
- Find address - Find the location for an address.
- Find place - Find places of interest near a location or within a specific area.
- Offline geocode - Geocode addresses to locations and reverse geocode locations to addresses offline.
- Reverse geocode - Use an online service to find the address for a tapped point.
- Integrated windows authentication - Use Windows credentials to access services hosted on a portal secured with Integrated Windows Authentication (IWA).
- Authenticate with OAuth - This sample demonstrates how to authenticate with ArcGIS Online (or your own portal) using OAuth2 to access secured resources (such as private web maps or layers). Accessing secured items requires a login on the portal that hosts them (an ArcGIS Online account, for example).
- ArcGIS token challenge - This sample demonstrates how to prompt the user for a username and password to authenticate with ArcGIS Server to access an ArcGIS token-secured service. Accessing secured services requires a login that's been defined on the server.
- Custom dictionary style - Use a custom dictionary style (.stylx) to symbolize features using a variety of attribute values.
- Feature layer extrusion - Extrude features based on their attributes.
- Render picture markers - Use pictures for markers.
- Render simple markers - Show a simple marker symbol on a map.
- Unique value renderer - Render features in a layer using a distinct symbol for each unique attribute value.
- Scene symbols - Show various kinds of 3D symbols in a scene.
- Simple renderer - Display common symbols for all graphics in a graphics overlay with a renderer.
- Read symbols from a mobile style - Open a mobile style (.stylx) and read its contents. Combine several symbols from the style into a single multilayer point symbol, then use it to display graphics in the map view.
- Distance composite scene symbol - Change a graphic's symbol based on the camera's proximity to it.