Esri Developer
Documentation
Features
Maps and scenes
Portal and content management
Data hosting
Data visualization
Spatial analysis
Place search
Geocoding addresses
Routing and directions
Data enrichment
Elevation
Security and authentication
Offline mapping apps
Find datasets
SDKs and APIs
SDKs and APIs
Products
Explore developer products
Support
Explore help resources
Sign in
Search
Search
Sign in
ArcGIS Maps SDK for Swift
Sample Code
Home
Sample Code
API Reference
Toolkit Reference
Analysis
Create buffers around points
Create convex hull around geometries
Create convex hull around points
Create planar and geodetic buffers
Find nearest vertex
Measure distance in scene
Show line of sight between points
Show result of spatial relationships
Show service area
Show viewshed from geoelement in scene
Show viewshed from point in scene
Show viewshed from point on map
Augmented Reality
Augment reality to collect data
Augment reality to fly over scene
Augment reality to navigate route
Augment reality to show hidden infrastructure
Augment reality to show tabletop scene
Cloud and Portal
Authenticate with O
Auth
Search for web map
Edit and Manage Data
Add features with contingent values
Add tiled layer as basemap
Apply scheduled updates to preplanned map area
Clip geometry
Create KM
L multi-track
Create and save KM
L file
Create mobile geodatabase
Cut geometry
Densify and generalize geometry
Display map from mobile map package
Download preplanned map area
Download vector tiles to local cache
Edit and sync features with feature service
Edit feature attachments
Edit features using feature forms
Edit features with feature-linked annotation
Edit geodatabase with transactions
Edit with branch versioning
Generate offline map
Generate offline map with custom parameters
Generate offline map with local basemap
List contents of KM
L file
List spatial reference transformations
Project geometry
Show coordinates in multiple formats
Show popup
Show result of spatial operations
Snap geometry edits
Layers
Add KM
L layer
Add KM
L layer with network links
Add WM
S layer
Add custom dynamic entity data source
Add dynamic entity layer
Add feature layers
Add map image layer
Add point scene layer
Add raster from file
Add raster from service
Add scene layer from service
Add tiled layer
Add web tiled layer
Apply mosaic rule to rasters
Browse OG
C AP
I feature service
Configure clusters
Configure electronic navigational charts
Display annotation
Display clusters
Display dimensions
Group layers together
Identify KM
L features
Identify features in WM
S layer
Identify raster cell
Set visibility of subtype sublayer
Maps
Browse building floors
Change map view background
Change viewpoint
Configure basemap style parameters
Create and edit geometries
Create dynamic basemap gallery
Display map
Display map from portal item
Display overview map
Find route in mobile map package
Manage bookmarks
Manage operational layers
Monitor changes to draw status
Monitor changes to layer view state
Monitor changes to map load status
Set basemap
Set initial viewpoint
Set max extent
Set min and max scale
Set reference scale
Set spatial reference
Set up location-driven geotriggers
Set viewpoint rotation
Show callout
Show device location
Show device location history
Show device location using indoor positioning
Show device location with NME
A data sources
Show mobile map package expiration date
Show scale bar
Routing and Logistics
Find closest facility from point
Find closest facility to multiple points
Find route
Find route around barriers
Find route in transport network
Navigate route
Navigate route with rerouting
Scenes
Add 3
D tiles layer
Add elevation source from raster
Add elevation source from tile package
Add point cloud layer from file
Animate 3
D graphic
Change camera controller
Display scene
Display scene from mobile scene package