The ArcGIS Maps SDK for Swift Toolkit contains components that will simplify your Swift app development. It is built off of the new ArcGIS Maps SDK for Swift.
To use Toolkit in your project:
- Install with Swift Package Manager - Add
https://github.com/Esri/arcgis-maps-sdk-swift-toolkit
as the package repository URL.
- Authenticator - Displays a user interface when network and ArcGIS authentication challenges occur.
- BasemapGallery - Displays a collection of basemaps.
- Bookmarks - Shows bookmarks, from a map, scene, or a list.
- Compass - Shows a compass direction when the map is rotated. Auto-hides when the map points north.
- FeatureFormView - Enables users to edit field values of a feature using pre-configured forms.
- FloatingPanel - Allows display of view-related content in a "bottom sheet".
- FloorFilter - Allows filtering of floor plan data in a geo view by a site, a building in the site, or a floor in the building.
- FlyoverSceneView - Allows you to explore a scene using your device as a window into the virtual world.
- JobManager - Manages saving and loading jobs so that they can continue to run if the app is backgrounded or even terminated by the system.
- OverviewMap - Displays the visible extent of a geo view in a small "inset" map.
- PopupView - Displays details, media, and attachments of features and graphics.
- Scalebar - Displays current scale reference.
- SearchView - Displays a search experience for geo views.
- TableTopSceneView - Allows you to anchor scene content to a physical surface, as if it were a 3D-printed model.
- UtilityNetworkTrace - Runs traces on a web map published with a utility network and trace configurations.
- WorldScaleSceneView - Allows you to integrate scene content with the real world.
- ArcGIS Maps SDK for Swift
- The System Requirements are the same as those for the ArcGIS Maps SDK for Swift
- Open your Xcode project. In the menu bar, select File > Add Packages...
- In the search bar, enter
https://github.com/Esri/arcgis-maps-sdk-swift-toolkit
as the package repository URL. - Optionally, select an option for the Dependency Rule if you want to specify an exact version or a range of versions to use.
- Click Add Package.
- Add
import ArcGIS
andimport ArcGISToolkit
in your source code and start using the toolkit components.
Note: The Toolkit Swift Package adds the ArcGIS Maps SDK for Swift Package as a dependency so there's no need to add both separately. If you already have the ArcGIS Maps SDK for Swift Package, delete it and just add the Toolkit Swift Package.
New to Swift Package Manager? Visit swift.org/package-manager/.
Use of ArcGIS location services, such as basemap styles, geocoding, and routing services, requires either user authentication or API key authentication. Some of the toolkit components and examples utilize a set of these ready-to-use ArcGIS location services, including basemap styles, and therefore require an API Key to be set in ExamplesApp.swift
. Please see Get started, Create an API Key and API Key Authentication for more information.
Production deployment of applications built with the ArcGIS Maps SDK for Swift requires that you license your app. For more information, see License and deployment.
- Toolkit Tutorials
- Developers guide documentation
- Maps SDK API Reference
- Samples
- Got a question? Ask the community on our forum
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.
Copyright 2022 - 2024 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
http://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 file.