mappedin/ios
[Swift Versions](https://swiftpackageindex.com/MappedIn/ios)
Mappedin SDK for iOS v6 Samples
To read more about the Mappedin SDK for iOS, refer to [Getting Started with Mappedin SDK for iOS](https://developer.mappedin.com/ios-sdk/getting-started) and additional guides in the Mappedin developer docs.
The sample projects in this repo provide a key and secret to access demo maps. Production apps will need their own key and secret. Refer to [Create a Key & Secret](https://developer.mappedin.com/ios-sdk/getting-started#create-a-key--secret) for instructions on how to create your own.
The following table lists the sample activities that pertain to the latest version of the Mappedin SDK for iOS.
| **Sample** | **Description** | **Guide** |
| -------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| [DisplayMapDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/DisplayMapDemoViewController.swift) | The most basic example to show a map. | [Getting Started](https://developer.mappedin.com/ios-sdk/getting-started) |
| [AreaShapesDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/AreaShapesDemoViewController.swift) | Demonstrates using shapes to show areas and route directions around closed areas. | [Areas & Shapes](https://developer.mappedin.com/ios-sdk/shapes) |
| [BlueDotDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/BlueDotDemoViewController.swift) | Demonstrates using Blue Dot to show the user's position on the map. | [Blue Dot](https://developer.mappedin.com/ios-sdk/blue-dot) |
| [BuildingFloorSelectionDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/BuildingFloorSelectionDemoViewController.swift) | Demonstrates switching between maps for venues with multiple floors and or multiple buildings. | [Building & Floor Selection](https://developer.mappedin.com/ios-sdk/level-selection) |
| [CacheMapDataDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/CacheMapDataDemoViewController.swift) | Demonstrates how to use cached map data to modify data between reloads. | [Cache Map Data](https://developer.mappedin.com/ios-sdk/getting-started#caching-and-loading-map-data-as-json) |
| [CacheMVFDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/CacheMVFDemoViewController.swift) | Demonstrates how to use cached Mappedin Venue Format ([MVFv3](https://developer.mappedin.com/docs/mvf/v3/getting-started)) files for quicker reloads. | [Cache MVF File](https://developer.mappedin.com/ios-sdk/getting-started#caching-and-loading-map-data-as-a-mvf-file) |
| [CameraDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/CameraDemoViewController.swift) | Demonstrates how to move the camera. | [Camera](https://developer.mappedin.com/ios-sdk/camera) |
| [ColorsAndTexturesDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/ColorsAndTexturesDemoViewController.swift) | Demonstrates how to apply custom colors and textures to the map. | [Images, Textures & Colors](https://developer.mappedin.com/ios-sdk/images-textures) |
| [DynamicFocusDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/DynamicFocusDemoViewController.swift) | Demonstrates how to use Dynamic Focus. | [Dynamic Focus](https://developer.mappedin.com/ios-sdk/dynamic-focus) |
| [DynamicFocusManualDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/DynamicFocusManualDemoViewController.swift) | Demonstrates how to create a custom Dynamic Focus effect. | [Custom Dynamic Focus](https://developer.mappedin.com/ios-sdk/dynamic-focus#implementing-dynamic-focus-using-mapview) |
| [EventsDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/EventsDemoViewController.swift) | Demonstrates how to use events created in Mappedin CMS. | |
| [Image3DDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/Image3DDemoViewController.swift) | Demonstrates how to add images on a map. | [Images, Textures & Colors](https://developer.mappedin.com/ios-sdk/images-textures) |
| [InteractivityDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/InteractivityDemoViewController.swift) | Demonstrates how to capture and act on touch events. | [Interactivity](https://developer.mappedin.com/ios-sdk/interactivity) |
| [LabelsDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/LabelsDemoViewController.swift) | Demonstrates adding rich labels to the map. | [Labels](https://developer.mappedin.com/ios-sdk/labels) |
| [LocationsDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/LocationsDemoViewController.swift) | Demonstrates using location profiles and categories. | [Location Profiles & Categories](https://developer.mappedin.com/ios-sdk/location-profiles-categories) |
| [MarkersDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/MarkersDemoViewController.swift) | Demonstrates adding HTML Markers to the map. | [Markers](https://developer.mappedin.com/ios-sdk/markers) |
| [ModelsDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/ModelsDemoViewController.swift) | Demonstrates adding 3D models to the map. | [3D Models](https://developer.mappedin.com/ios-sdk/3d-models) |
| [MultiFloorViewDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/MultiFloorViewDemoViewController.swift) | Demonstrates using multi floor view. | [Multi Floor View & Stacked Maps](https://developer.mappedin.com/ios-sdk/stacked-maps) |
| [NavigationDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/NavigationDemoViewController.swift) | Demonstrates wayfinding and navigation across multiple floors. | [Wayfinding](https://developer.mappedin.com/ios-sdk/wayfinding) |
| [OfflineModeDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/OfflineModeDemoViewController.swift) | Demonstrates loading a map from a local Mappedin Venue Format ([MVFv3](https://developer.mappedin.com/docs/mvf/v3/getting-started)) file. | [Offline Mode](https://developer.mappedin.com/ios-sdk/getting-started#offline-loading-mode) |
| [PathsDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/PathsDemoViewController.swift) | Demonstrates how to draw a path between two rooms. | [Wayfinding](https://developer.mappedin.com/ios-sdk/wayfinding) |
| [QueryDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/QueryDemoViewController.swift) | Demonstrates how to find the nearest room based on a coordinate and click event. | |
| [RenderMFVv3MapKit](./SDK%20v6%20Examples/RenderMFVv3MapKit/RenderMFVv3MapKit/MapViewModel.swift) | Demonstrates how to render a Mappedin Venue Format v3 (MVFv3) file using MapKit. | [Render MVF v3 with MapKit](https://developer.mappedin.com/docs/mvf/v3/examples/render-with-mapkit) |
| [SearchDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/SearchDemoViewController.swift) | Demonstrates how to use the suggest and search feature. | [Search](https://developer.mappedin.com/ios-sdk/enterprise-data#search) |
| [StackedMapsDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/StackedMapsDemoViewController.swift) | Demonstrates how to use the stacked maps. | [Multi Floor View & Stacked Maps](https://developer.mappedin.com/ios-sdk/stacked-maps) |
| [Text3DDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/Text3DDemoViewController.swift) | Demonstrates how to use Text3D labels. | [Flat Text](https://developer.mappedin.com/ios-sdk/labels#flat-labels-with-text3d) |
| [TurnByTurnDemo](./SDK%20v6%20Examples/PlaygroundSamples/PlaygroundSamples/TurnByTurnDemoViewController.swift) | Demonstrates how to use turn by turn directions. | [Turn-by-Turn Directions](https://developer.mappedin.com/ios-sdk/wayfinding#turn-by-turn-directions) |
---
A sample that implements Mappedin with SwiftUI is available in the [SwiftUI With Mappedin](./SDK%20v6%20Examples/SwiftUIWithMappedin/) project. Further documentation can be found in the [Mappedin SwiftUI Guide](https://developer.mappedin.com/ios-sdk/swift-ui).Additional Resources
- Mappedin Developer Site
- Mappedin SDK for iOS Getting Started Guide
- Mappedin SDK for iOS API Docs
- Release Notes
Package Metadata
Repository: mappedin/ios
Default branch: master
README: readme.md