MapplsUIWidgets 1.0.10

MapplsUIWidgets 1.0.10

Maintained by MapmyIndia, MapmyIndia, MapmyIndia, MapmyIndia.




{"payload":{"allShortcutsEnabled":false,"fileTree":{"docs/v1.0.10":{"items":[{"name":"CHANGELOG","path":"docs/v1.0.10/CHANGELOG","contentType":"directory"},{"name":"InteractiveLayers.md","path":"docs/v1.0.10/InteractiveLayers.md","contentType":"file"},{"name":"MapplsAPICore.md","path":"docs/v1.0.10/MapplsAPICore.md","contentType":"file"},{"name":"MapplsAPIKit.md","path":"docs/v1.0.10/MapplsAPIKit.md","contentType":"file"},{"name":"MapplsAnnotationExtension.md","path":"docs/v1.0.10/MapplsAnnotationExtension.md","contentType":"file"},{"name":"MapplsDirectionUI.md","path":"docs/v1.0.10/MapplsDirectionUI.md","contentType":"file"},{"name":"MapplsDrivingRangePlugin.md","path":"docs/v1.0.10/MapplsDrivingRangePlugin.md","contentType":"file"},{"name":"MapplsFeedbackKit.md","path":"docs/v1.0.10/MapplsFeedbackKit.md","contentType":"file"},{"name":"MapplsFeedbackUIKit.md","path":"docs/v1.0.10/MapplsFeedbackUIKit.md","contentType":"file"},{"name":"MapplsGeoanalytics.md","path":"docs/v1.0.10/MapplsGeoanalytics.md","contentType":"file"},{"name":"MapplsGeofenceUI.md","path":"docs/v1.0.10/MapplsGeofenceUI.md","contentType":"file"},{"name":"MapplsIntouch.md","path":"docs/v1.0.10/MapplsIntouch.md","contentType":"file"},{"name":"MapplsMap.md","path":"docs/v1.0.10/MapplsMap.md","contentType":"file"},{"name":"MapplsMapStyle.md","path":"docs/v1.0.10/MapplsMapStyle.md","contentType":"file"},{"name":"MapplsNearbyUI.md","path":"docs/v1.0.10/MapplsNearbyUI.md","contentType":"file"},{"name":"MapplsPinStrategy.md","path":"docs/v1.0.10/MapplsPinStrategy.md","contentType":"file"},{"name":"MapplsTrafficVectorTileOverlay.md","path":"docs/v1.0.10/MapplsTrafficVectorTileOverlay.md","contentType":"file"},{"name":"MapplsUIWidgets.md","path":"docs/v1.0.10/MapplsUIWidgets.md","contentType":"file"},{"name":"Predictive-Route-APIs.md","path":"docs/v1.0.10/Predictive-Route-APIs.md","contentType":"file"},{"name":"README.md","path":"docs/v1.0.10/README.md","contentType":"file"},{"name":"RasterCatalouge.md","path":"docs/v1.0.10/RasterCatalouge.md","contentType":"file"},{"name":"Regions.md","path":"docs/v1.0.10/Regions.md","contentType":"file"}],"totalCount":22},"docs":{"items":[{"name":"v1.0.0","path":"docs/v1.0.0","contentType":"directory"},{"name":"v1.0.1","path":"docs/v1.0.1","contentType":"directory"},{"name":"v1.0.10","path":"docs/v1.0.10","contentType":"directory"},{"name":"v1.0.11","path":"docs/v1.0.11","contentType":"directory"},{"name":"v1.0.12","path":"docs/v1.0.12","contentType":"directory"},{"name":"v1.0.13","path":"docs/v1.0.13","contentType":"directory"},{"name":"v1.0.14","path":"docs/v1.0.14","contentType":"directory"},{"name":"v1.0.15","path":"docs/v1.0.15","contentType":"directory"},{"name":"v1.0.16","path":"docs/v1.0.16","contentType":"directory"},{"name":"v1.0.2","path":"docs/v1.0.2","contentType":"directory"},{"name":"v1.0.3","path":"docs/v1.0.3","contentType":"directory"},{"name":"v1.0.4","path":"docs/v1.0.4","contentType":"directory"},{"name":"v1.0.5","path":"docs/v1.0.5","contentType":"directory"},{"name":"v1.0.6","path":"docs/v1.0.6","contentType":"directory"},{"name":"v1.0.7","path":"docs/v1.0.7","contentType":"directory"},{"name":"v1.0.8","path":"docs/v1.0.8","contentType":"directory"},{"name":"v1.0.9","path":"docs/v1.0.9","contentType":"directory"}],"totalCount":17},"":{"items":[{"name":"MapplsSDKDemo.xcodeproj","path":"MapplsSDKDemo.xcodeproj","contentType":"directory"},{"name":"MapplsSDKDemo","path":"MapplsSDKDemo","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"LICENSE.md","path":"LICENSE.md","contentType":"file"},{"name":"Mappls.podspec","path":"Mappls.podspec","contentType":"file"},{"name":"Podfile","path":"Podfile","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"Version-History.md","path":"Version-History.md","contentType":"file"}],"totalCount":8}},"fileTreeProcessingTime":6.768578,"foldersToFetch":[],"reducedMotionEnabled":null,"repo":{"id":491393896,"defaultBranch":"main","name":"mappls-ios-sdk","ownerLogin":"mappls-api","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-05-12T06:38:36.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/98086022?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"main","listCacheKey":"v0:1695384624.0","canEdit":false,"refType":"branch","currentOid":"22caf475421bd2bd586a8d842b21587315f7613f"},"path":"docs/v1.0.10/MapplsUIWidgets.md","currentUser":null,"blob":{"rawLines":null,"stylingDirectives":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/mappls-api/mappls-ios-sdk/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null,"repoAlertsPath":"/mappls-api/mappls-ios-sdk/security/dependabot","repoSecurityAndAnalysisPath":"/mappls-api/mappls-ios-sdk/settings/security_analysis","repoOwnerIsOrg":true,"currentUserCanAdminRepo":false},"displayName":"MapplsUIWidgets.md","displayUrl":"https://github.com/mappls-api/mappls-ios-sdk/blob/main/docs/v1.0.10/MapplsUIWidgets.md?raw=true","headerInfo":{"blobSize":"35.8 KB","deleteInfo":{"deleteTooltip":"You must be signed in to make or propose changes"},"editInfo":{"editTooltip":"You must be signed in to make or propose changes"},"ghDesktopPath":"https://desktop.github.com","gitLfsPath":null,"onBranch":true,"shortPath":"0d7c7ce","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fmappls-api%2Fmappls-ios-sdk%2Fblob%2Fmain%2Fdocs%2Fv1.0.10%2FMapplsUIWidgets.md","isCSV":false,"isRichtext":true,"toc":[{"level":1,"text":"MapplsUIWidgets - UI Components SDK for iOS","anchor":"mapplsuiwidgets---ui-components-sdk-for-ios","htmlText":"MapplsUIWidgets - UI Components SDK for iOS"},{"level":2,"text":"Introduction","anchor":"introduction","htmlText":"Introduction"},{"level":3,"text":"Dependencies","anchor":"dependencies","htmlText":"Dependencies"},{"level":2,"text":"Installation","anchor":"installation","htmlText":"Installation"},{"level":3,"text":"Version History","anchor":"version-history","htmlText":"Version History"},{"level":2,"text":"Authorization","anchor":"authorization","htmlText":"Authorization"},{"level":3,"text":"MapplsAPICore","anchor":"mapplsapicore","htmlText":"MapplsAPICore"},{"level":2,"text":"Autocomplete","anchor":"autocomplete","htmlText":"Autocomplete"},{"level":3,"text":"Add an autocomplete UI control","anchor":"add-an-autocomplete-ui-control","htmlText":"Add an autocomplete UI control"},{"level":3,"text":"Add a full-screen control","anchor":"add-a-full-screen-control","htmlText":"Add a full-screen control"},{"level":4,"text":"SwiftUI Full Screen Control","anchor":"swiftui-full-screen-control","htmlText":"SwiftUI Full Screen Control"},{"level":5,"text":"Create Autosuggest View Controller","anchor":"create-autosuggest-view-controller","htmlText":"Create Autosuggest View Controller"},{"level":5,"text":"Respond To Autosuggest Events","anchor":"respond-to-autosuggest-events","htmlText":"Respond To Autosuggest Events"},{"level":3,"text":"Add a results controller","anchor":"add-a-results-controller","htmlText":"Add a results controller"},{"level":4,"text":"Add a search bar to the navigation bar","anchor":"add-a-search-bar-to-the-navigation-bar","htmlText":"Add a search bar to the navigation bar"},{"level":4,"text":"Add a search bar to the top of a view","anchor":"add-a-search-bar-to-the-top-of-a-view","htmlText":"Add a search bar to the top of a view"},{"level":3,"text":"Use a table data source","anchor":"use-a-table-data-source","htmlText":"Use a table data source"},{"level":3,"text":"Get place predictions programmatically","anchor":"get-place-predictions-programmatically","htmlText":"Get place predictions programmatically"},{"level":3,"text":"MapplsAutocompleteFilter","anchor":"mapplsautocompletefilter","htmlText":"MapplsAutocompleteFilter"},{"level":4,"text":"Parameters:","anchor":"parameters","htmlText":"Parameters:"},{"level":3,"text":"Favourite Places","anchor":"favourite-places","htmlText":"Favourite Places"},{"level":2,"text":"Place Picker View","anchor":"place-picker-view","htmlText":"Place Picker View"},{"level":3,"text":"PlacePickerViewDelegate","anchor":"placepickerviewdelegate","htmlText":"PlacePickerViewDelegate"},{"level":3,"text":"Customize Place Picker","anchor":"customize-place-picker","htmlText":"Customize Place Picker"},{"level":2,"text":"Autocomplete Attribution Appearance","anchor":"autocomplete-attribution-appearance","htmlText":"Autocomplete Attribution Appearance"},{"level":3,"text":"MapplsAttributionsSettings","anchor":"mapplsattributionssettings","htmlText":"MapplsAttributionsSettings"},{"level":4,"text":"Parameters:","anchor":"parameters-1","htmlText":"Parameters:"},{"level":2,"text":"Our many happy customers:","anchor":"our-many-happy-customers","htmlText":"Our many happy customers:"}],"lineInfo":{"truncatedLoc":"810","truncatedSloc":"557"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplateHelpUrl":"https://docs.github.com/articles/about-issue-and-pull-request-templates","issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"loggedIn":false,"newDiscussionPath":"/mappls-api/mappls-ios-sdk/discussions/new","newIssuePath":"/mappls-api/mappls-ios-sdk/issues/new","planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/mappls-api/mappls-ios-sdk/blob/main/docs/v1.0.10/MapplsUIWidgets.md","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","dismissStackNoticePath":"/settings/dismiss-notice/publish_stack_from_file","releasePath":"/mappls-api/mappls-ios-sdk/releases/new?marketplace=true","showPublishActionBanner":false,"showPublishStackBanner":false},"rawBlobUrl":"https://github.com/mappls-api/mappls-ios-sdk/raw/main/docs/v1.0.10/MapplsUIWidgets.md","renderImageOrRaw":false,"richText":"

\n

MapplsUIWidgets - UI Components SDK for iOS

\n

Introduction

\n

The MapplsUIWidgets SDK for iOS allows you can build rich apps by quickly implement reday made UI components. Currently this SDK have a widget for Searching a place using AutoSuggest API.

\n

Dependencies

\n

This library depends upon several Mappls's own libraries. All dependent libraries will be automatically installed using CocoaPods.

\n

Below are list of dependencies which are required to run this SDK:

\n\n

Installation

\n

This library is available through CocoaPods. To install, simply add the following line to your podfile:

\n
pod 'MapplsUIWidgets', '1.0.3'
\n

On running pod install command it will automatically download and setup MapplsUIWidgets and dependent frameworks.

\n

Version History

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
VersionDatedDescription
1.0.302 June, 2023Added functionality to show favourites/custom places in Autosuggest Widget. Added related callbacks etc.
¨C5C02 May, 2023Added ¨C6C property in ¨C7C class and added ¨C8C property in ¨C9C class.
¨C10C03 Sept, 2022Added hyperLocal property.
¨C11C12 June, 2022Initial Mappls UIWidget Release.
\n

Authorization

\n

MapplsAPICore

\n

It is required to set Mappls keys to use any Mappls SDK. Please refer the documentation here.

\n

Autocomplete

\n

\n

The autocomplete service in the SDK for iOS returns place predictions in response to user search queries. As the user types, the autocomplete service returns suggestions for places such as businesses, addresses and points of interest.

\n

You can add autocomplete to your app in the following ways:

\n

Add an autocomplete UI control to save development time and ensure a consistent user experience.

\n

Get place predictions programmatically to create a customized user experience.

\n

Add an autocomplete UI control

\n

The autocomplete UI control is a search dialog with built-in autocomplete functionality. As a user enters search terms, the control presents a list of predicted places to choose from. When the user makes a selection, a MapplsAtlasSuggestion instance is returned, which your app can then use to get details about the selected place.

\n
    \n¨C53C\n¨C54C\n¨C55C\n
\n

Add a full-screen control

\n

Use the full-screen control when you want a modal context, where the autocomplete UI temporarily replaces the UI of your app until the user has made their selection. This functionality is provided by the MapplsAutocompleteViewController class. When the user selects a place, your app receives a callback.

\n

To add a full-screen control to your app:

\n
    \n¨C56C\n¨C57C\n¨C58C\n¨C59C\n¨C60C\n¨C61C\n¨C62C\n
\n

The following example demonstrates one possible way to launch MapplsAutocompleteViewController in response to the user tapping on a button.

\n
@objc func autocompleteClicked(_ sender: UIButton) {\n let autocompleteController = MapplsAutocompleteViewController()\n autocompleteController.delegate = self\n\n // Specify a filter.\n let filter = MapplsAutocompleteFilter()\n autocompleteController.autocompleteFilter = filter\n\n // Display the autocomplete view controller.\n present(autocompleteController, animated: true, completion: nil)\n }\n\n // Add a button to the view.\n func makeButton() {\n let btnLaunchAc = UIButton(frame: CGRect(x: 5, y: 150, width: 300, height: 35))\n btnLaunchAc.backgroundColor = .blue\n btnLaunchAc.setTitle("Launch autocomplete", for: .normal)\n btnLaunchAc.addTarget(self, action: #selector(autocompleteClicked), for: .touchUpInside)\n self.view.addSubview(btnLaunchAc)\n }\n\n}\n\nextension ViewController: MapplsAutocompleteViewControllerDelegate {\n\n // Handle the user's selection.\n func didAutocomplete(viewController: MapplsAutocompleteViewController, withPlace place: MapplsAtlasSuggestion, resultType type: MapplsAutosuggestResultType) {\n print("Place name: \\(place.placeName)")\n print("Place mapplsPin: \\(place.mapplsPin)")\n dismiss(animated: true, completion: nil)\n }\n\n func didAutocomplete(viewController: MapplsAutocompleteViewController, withFavouritePlace place: MapplsUIWidgetAutosuggestFavouritePlace) {\n print("Place name: \\(place.placeName)")\n print("Place mapplsPin: \\(place.mapplsPin)")\n }\n\n func didAutocomplete(viewController: MapplsAutocompleteViewController, withSuggestion suggestion: MapplsSearchPrediction) {\n \n }\n\n func didFailAutocomplete(viewController: MapplsAutocompleteViewController, withError error: NSError) {\n // TODO: handle the error.\n print("Error: ", error.localizedDescription)\n }\n\n // User canceled the operation.\n func wasCancelled(viewController: MapplsAutocompleteViewController) {\n dismiss(animated: true, completion: nil)\n }\n\n // Turn the network activity indicator on and off again.\n func didRequestAutocompletePredictions(viewController: MapplsAutocompleteViewController) {\n UIApplication.shared.isNetworkActivityIndicatorVisible = true\n }\n\n func didUpdateAutocompletePredictions(viewController: MapplsAutocompleteViewController) {\n UIApplication.shared.isNetworkActivityIndicatorVisible = false\n }\n\n}\">¨C63C
\n

SwiftUI Full Screen Control

\n
Create Autosuggest View Controller
\n
    \n¨C64C\n¨C65C\n¨C66C\n¨C67C\n¨C68C\n¨C69C\n
\n
Respond To Autosuggest Events
\n

In order to respond to Autosuggest events, for example perform an action on selecting a result from Autosuggest's results. In SwiftUI, a Coordinator can be used with delegates, data sources, and user events. The UIViewControllerRepresentable protocol defines makeCoordinator() method which creates coordinator instance. Add the following code to declare coordinator class:

\n
¨C70C
\n

And then add the following method to the ¨C14C:

\n
¨C71C
\n

¨C72C Reference coordinator is set using below code in above class.

\n
¨C73C
\n

Add a results controller

\n

Use a results controller when you want more control over the text input UI. The results controller dynamically toggles the visibility of the results list based on input UI focus.

\n

To add a results controller to your app:

\n
    \n¨C74C\n¨C75C\n¨C76C\n¨C77C\n¨C78C\n¨C79C\n
\n

There are several ways to place the search bar of a UISearchController into your app's UI:

\n
    \n¨C80C\n¨C81C\n
\n

Add a search bar to the navigation bar

\n

The following code example demonstrates adding a results controller, adding the searchBar to the navigation bar, and handling the user's selection:

\n\n

¨C83C For the search bar to display properly, your app's view controller must be enclosed within a UINavigationController.

\n

Add a search bar to the top of a view

\n

The following code example shows adding the searchBar to the top of a view.

\n
¨C84C
\n

Use a table data source

\n

You can use the MapplsAutocompleteTableDataSource class to drive the table view of a UISearchDisplayController.

\n

To use MapplsAutocompleteTableDataSource to display a search controller:

\n
    \n¨C85C\n¨C86C\n¨C87C\n¨C88C\n¨C89C\n¨C90C\n
\n

The following code example demonstrates using the MapplsAutocompleteTableDataSource class to drive the table view of a UISearchDisplayController.

\n
¨C91C
\n

Get place predictions programmatically

\n

You can create a custom search UI as an alternative to the UI provided by the autocomplete widget. To do this, your app must get place predictions programmatically. Your app can get a list of predicted place names and/or addresses by using Mappls's library ¨C15C. For more information Goto.

\n

MapplsAutocompleteFilter

\n

This class represents a set of restrictions that may be applied to autocomplete requests. This allows customization of autocomplete suggestions to only those places that are of interest.

\n

Parameters:

\n

¨C92C

\n

A location to use as a hint when looking up the specified address.

\n

This property prioritizes results that are close to a specific location, which is typically the user’s current location. If the value of this property is nil – which it is by default – no specific location is prioritized.

\n

¨C93C

\n

Zoom level to a location to use as a hint when looking up the specified address.

\n

¨C94C

\n

It allows to get tokenize address in response. By default its value is ¨C16C. If value true is passed then only in response of MapplsAtlasSuggestion addressTokens will be recieved which is of type MapplsAddressTokens

\n

¨C95C

\n

On basis of this only specific type of Places in response will be returned.

\n

Its data type is MapplsPodType which is derived from MapplsAPIKit

\n

¨C96C

\n

On basis of this only specific type of response returned.

\n

This can be set either an object of MapplsMapplsPinFilter or MapplsBoundsFilter. Which are derived from MapplsAPIKit

\n

¨C97C

\n

This is used to bias your search related to country region. Its datatype is MapplsRegionType(from MapplsAPIKit). By default it sets to India region only.\nCurrently supported countries are Sri-Lanka, India, Bhutan, Bangladesh, Nepal. Default is India if none is provided

\n

Favourite Places

\n

Favourite or Custom Places can be set to show in result of Autosuggest.

\n

By default on searching by entering any text favourites will also be filtered. Filtering can be disabled by setting value ¨C17C of global boolean property ¨C18C. By disabling it means it will always show favourites in results.

\n

By default maximum two favourites will be shown in results. This can be configured by setting value of property ¨C19C. Its default value is 2. Minimum value can be 0 and maximum can be 10.

\n

Below is line of code can be used to set favourite places.

\n

Callback of selected favourite item can be handled using different delegate methods. See here.

\n

¨C98C

\n
¨C99C
\n

Place Picker View

\n\n


\n

The Place Picker View is a UIView component that allows a user to pick a Place using an interactive map.

\n

Users can select a location which from center of map after succesfully reverse geocoding that location.

\n

¨C20C is class whose instance can be created and can be added to ViewController. Below is sample code to understand:

\n

¨C100C

\n
¨C101C
\n

PlacePickerViewDelegate

\n

As from above sample code ¨C21C is a protocol class which provides different delegate methods which can be used according to requirements.

\n

Customize Place Picker

\n

On adding instance of ¨C22C it will load a default view with a map marker image on map But default view can be modified with help of some properties which are described as below:

\n

¨C102C

\n

View of marker on map can be ovrriden by using property 'markerView'. This is type of UIView so it can accept custom designed view and UIImageView as well.

\n
¨C103C
\n

¨C104C

\n

A shadow of marker is shows by defualt on dragging map. Visibility of this shadow can be changed by using property 'isMarkerShadowViewHidden'.

\n
¨C105C
\n

¨C106C

\n

Background color of search button can be changed by using property 'searchButtonBackgroundColor'.

\n
¨C107C
\n

¨C108C

\n

Image of search button can be changed by using property 'searchButtonImage'.

\n
¨C109C
\n

¨C110C

\n

Visibility of search button can be changed by using property 'isSearchButtonHidden'.

\n
¨C111C
\n

¨C112C

\n

Font color of label of name of place can be changed by using property 'placeNameLabelTextColor'.

\n
¨C113C
\n

¨C114C

\n

Font color of label of address of place can be changed by using property 'addressLabelTextColor'.

\n
¨C115C
\n

¨C116C

\n

Font color of titile of button of select a location to pick can be changed by using property 'pickerButtonTitleColor'.

\n
¨C117C
\n

¨C118C

\n

Background color of button of select a location to pick can be changed by using property 'pickerButtonBackgroundColor'.

\n
¨C119C
\n

¨C120C

\n

Title of button of select a location to pick can be changed by using property 'pickerButtonTitle'.

\n
¨C121C
\n

¨C122C

\n

Font color of label of tip info at bottom can be changed by using property 'infoLabelTextColor'.

\n
¨C123C
\n

¨C124C

\n

Background color of container of label of tip info at bottom can be changed by using property 'infoBottomViewBackgroundColor'.

\n
¨C125C
\n

¨C126C

\n

Background color of container of location info at bottom can be changed by using property 'placeDetailsViewBackgroundColor'.

\n
¨C127C
\n

¨C128C

\n

Visibility of tip info at bottom can be changed by using property 'isBottomInfoViewHidden'.

\n
¨C129C
\n

¨C130C

\n

Visibility of container of location info at bottom can be changed by using property 'isBottomPlaceDetailViewHidden'.

\n
¨C131C
\n

¨C132C

\n

Initial location of place picker can be set by setting center of map but it will also required to set value of property 'isInitializeWithCustomLocation' to true.

\n
¨C133C
\n

Autocomplete Attribution Appearance

\n

MapplsAttributionsSettings

\n

A class ¨C23C is exist which represents a set of settings that can be applied to autocomplete to control appearance (Content Length, Size, Horizontal Content Alignment and Vertical Placement) of attribution. Appearance of attribution on can be controlled by different properties of ¨C24C.

\n


\n

Parameters:

\n

¨C134C

\n

Size of attribution can be controlled by setting different values of this property. It is type of an enum ¨C25C. Which can be set to ¨C26C, ¨C27C or ¨C28C. By default it's value is ¨C29C.

\n

¨C135C

\n

Horizontal alignment of content of attribution can be controlled by setting different values of this property. It is type of an enum ¨C30C. Which can be set to ¨C31C, ¨C32C or ¨C33C. By default it's value is ¨C34C.

\n

¨C136C

\n

Placement (either before or after of autocomplete's results) of attribution can be controlled by setting different values of this property. It is type of an enum ¨C35C. Which can be set to ¨C36C or ¨C37C. By default it's value is ¨C38C.

\n

A property ¨C39C of type ¨C40C is exists in each class ¨C41C, ¨C42C, ¨C43C and ¨C44C whose values can be set in different scenarios accordingly.

\n

Code snippet to configure appearance of attribution in ¨C45C is below:

\n
¨C137C
\n

Code snippet to configure appearance of attribution of Autocomplete in ¨C46C is below:

\n
¨C138C
\n




\n

Our many happy customers:

\n

\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"

\n
\n

For any queries and support, please contact:

\n

\n

Email us at [email protected]

\n

\"\"\nSupport\nNeed support? contact us!

\n



\n

\"\"\"\"

\n

\"\"\"\"\"\"

\n
@ Copyright 2022 CE Info Systems Pvt. Ltd. All Rights Reserved.
\n
","renderedFileInfo":null,"shortPath":null,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"repoOwner":"mappls-api","repoName":"mappls-ios-sdk","showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","showDependabotConfigurationBanner":false,"actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timedOut":false,"notAnalyzed":false,"symbols":[{"name":" MapplsUIWidgets - UI Components SDK for iOS","kind":"section_1","identStart":116,"identEnd":160,"extentStart":115,"extentEnd":36655,"fullyQualifiedName":" MapplsUIWidgets - UI Components SDK for iOS","identUtf16":{"start":{"lineNumber":2,"utf16Col":1},"end":{"lineNumber":2,"utf16Col":45}},"extentUtf16":{"start":{"lineNumber":2,"utf16Col":0},"end":{"lineNumber":810,"utf16Col":0}}},{"name":" Introduction","kind":"section_2","identStart":165,"identEnd":195,"extentStart":163,"extentEnd":1053,"fullyQualifiedName":" Introduction","identUtf16":{"start":{"lineNumber":4,"utf16Col":2},"end":{"lineNumber":4,"utf16Col":32}},"extentUtf16":{"start":{"lineNumber":4,"utf16Col":0},"end":{"lineNumber":18,"utf16Col":0}}},{"name":" Dependencies","kind":"section_3","identStart":454,"identEnd":484,"extentStart":451,"extentEnd":1053,"fullyQualifiedName":" Dependencies","identUtf16":{"start":{"lineNumber":7,"utf16Col":3},"end":{"lineNumber":7,"utf16Col":33}},"extentUtf16":{"start":{"lineNumber":7,"utf16Col":0},"end":{"lineNumber":18,"utf16Col":0}}},{"name":" Installation","kind":"section_2","identStart":1055,"identEnd":1085,"extentStart":1053,"extentEnd":1893,"fullyQualifiedName":" Installation","identUtf16":{"start":{"lineNumber":18,"utf16Col":2},"end":{"lineNumber":18,"utf16Col":32}},"extentUtf16":{"start":{"lineNumber":18,"utf16Col":0},"end":{"lineNumber":36,"utf16Col":0}}},{"name":" Version History","kind":"section_3","identStart":1361,"identEnd":1397,"extentStart":1358,"extentEnd":1893,"fullyQualifiedName":" Version History","identUtf16":{"start":{"lineNumber":27,"utf16Col":3},"end":{"lineNumber":27,"utf16Col":39}},"extentUtf16":{"start":{"lineNumber":27,"utf16Col":0},"end":{"lineNumber":36,"utf16Col":0}}},{"name":" Authorization","kind":"section_2","identStart":1895,"identEnd":1927,"extentStart":1893,"extentEnd":2080,"fullyQualifiedName":" Authorization","identUtf16":{"start":{"lineNumber":36,"utf16Col":2},"end":{"lineNumber":36,"utf16Col":34}},"extentUtf16":{"start":{"lineNumber":36,"utf16Col":0},"end":{"lineNumber":41,"utf16Col":0}}},{"name":" MapplsAPICore","kind":"section_3","identStart":1932,"identEnd":1964,"extentStart":1929,"extentEnd":2080,"fullyQualifiedName":" MapplsAPICore","identUtf16":{"start":{"lineNumber":38,"utf16Col":3},"end":{"lineNumber":38,"utf16Col":35}},"extentUtf16":{"start":{"lineNumber":38,"utf16Col":0},"end":{"lineNumber":41,"utf16Col":0}}},{"name":" Autocomplete","kind":"section_2","identStart":2082,"identEnd":2112,"extentStart":2080,"extentEnd":24934,"fullyQualifiedName":" Autocomplete","identUtf16":{"start":{"lineNumber":41,"utf16Col":2},"end":{"lineNumber":41,"utf16Col":32}},"extentUtf16":{"start":{"lineNumber":41,"utf16Col":0},"end":{"lineNumber":542,"utf16Col":0}}},{"name":" Add an autocomplete UI control","kind":"section_3","identStart":2784,"identEnd":2815,"extentStart":2781,"extentEnd":3319,"fullyQualifiedName":" Add an autocomplete UI control","identUtf16":{"start":{"lineNumber":53,"utf16Col":3},"end":{"lineNumber":53,"utf16Col":34}},"extentUtf16":{"start":{"lineNumber":53,"utf16Col":0},"end":{"lineNumber":61,"utf16Col":0}}},{"name":" Add a full-screen control","kind":"section_3","identStart":3322,"identEnd":3378,"extentStart":3319,"extentEnd":11851,"fullyQualifiedName":" Add a full-screen control","identUtf16":{"start":{"lineNumber":61,"utf16Col":3},"end":{"lineNumber":61,"utf16Col":59}},"extentUtf16":{"start":{"lineNumber":61,"utf16Col":0},"end":{"lineNumber":248,"utf16Col":0}}},{"name":" SwiftUI Full Screen Control","kind":"section_4","identStart":7166,"identEnd":7226,"extentStart":7162,"extentEnd":11851,"fullyQualifiedName":" SwiftUI Full Screen Control","identUtf16":{"start":{"lineNumber":151,"utf16Col":4},"end":{"lineNumber":151,"utf16Col":64}},"extentUtf16":{"start":{"lineNumber":151,"utf16Col":0},"end":{"lineNumber":248,"utf16Col":0}}},{"name":" Create Autosuggest View Controller","kind":"section_5","identStart":7233,"identEnd":7307,"extentStart":7228,"extentEnd":9584,"fullyQualifiedName":" Create Autosuggest View Controller","identUtf16":{"start":{"lineNumber":153,"utf16Col":5},"end":{"lineNumber":153,"utf16Col":79}},"extentUtf16":{"start":{"lineNumber":153,"utf16Col":0},"end":{"lineNumber":194,"utf16Col":0}}},{"name":" Respond To Autosuggest Events","kind":"section_5","identStart":9589,"identEnd":9653,"extentStart":9584,"extentEnd":11851,"fullyQualifiedName":" Respond To Autosuggest Events","identUtf16":{"start":{"lineNumber":194,"utf16Col":5},"end":{"lineNumber":194,"utf16Col":69}},"extentUtf16":{"start":{"lineNumber":194,"utf16Col":0},"end":{"lineNumber":248,"utf16Col":0}}},{"name":" Add a results controller","kind":"section_3","identStart":11854,"identEnd":11908,"extentStart":11851,"extentEnd":18337,"fullyQualifiedName":" Add a results controller","identUtf16":{"start":{"lineNumber":248,"utf16Col":3},"end":{"lineNumber":248,"utf16Col":57}},"extentUtf16":{"start":{"lineNumber":248,"utf16Col":0},"end":{"lineNumber":397,"utf16Col":0}}},{"name":" Add a search bar to the navigation bar","kind":"section_4","identStart":13008,"identEnd":13090,"extentStart":13004,"extentEnd":15809,"fullyQualifiedName":" Add a search bar to the navigation bar","identUtf16":{"start":{"lineNumber":266,"utf16Col":4},"end":{"lineNumber":266,"utf16Col":86}},"extentUtf16":{"start":{"lineNumber":266,"utf16Col":0},"end":{"lineNumber":331,"utf16Col":0}}},{"name":" Add a search bar to the top of a view","kind":"section_4","identStart":15813,"identEnd":15893,"extentStart":15809,"extentEnd":18337,"fullyQualifiedName":" Add a search bar to the top of a view","identUtf16":{"start":{"lineNumber":331,"utf16Col":4},"end":{"lineNumber":331,"utf16Col":84}},"extentUtf16":{"start":{"lineNumber":331,"utf16Col":0},"end":{"lineNumber":397,"utf16Col":0}}},{"name":" Use a table data source","kind":"section_3","identStart":18340,"identEnd":18392,"extentStart":18337,"extentEnd":21694,"fullyQualifiedName":" Use a table data source","identUtf16":{"start":{"lineNumber":397,"utf16Col":3},"end":{"lineNumber":397,"utf16Col":55}},"extentUtf16":{"start":{"lineNumber":397,"utf16Col":0},"end":{"lineNumber":475,"utf16Col":0}}},{"name":" Get place predictions programmatically","kind":"section_3","identStart":21697,"identEnd":21779,"extentStart":21694,"extentEnd":22104,"fullyQualifiedName":" Get place predictions programmatically","identUtf16":{"start":{"lineNumber":475,"utf16Col":3},"end":{"lineNumber":475,"utf16Col":85}},"extentUtf16":{"start":{"lineNumber":475,"utf16Col":0},"end":{"lineNumber":480,"utf16Col":0}}},{"name":" MapplsAutocompleteFilter","kind":"section_3","identStart":22107,"identEnd":22161,"extentStart":22104,"extentEnd":23731,"fullyQualifiedName":" MapplsAutocompleteFilter","identUtf16":{"start":{"lineNumber":480,"utf16Col":3},"end":{"lineNumber":480,"utf16Col":57}},"extentUtf16":{"start":{"lineNumber":480,"utf16Col":0},"end":{"lineNumber":517,"utf16Col":0}}},{"name":" Parameters:","kind":"section_4","identStart":22355,"identEnd":22367,"extentStart":22351,"extentEnd":23731,"fullyQualifiedName":" Parameters:","identUtf16":{"start":{"lineNumber":484,"utf16Col":4},"end":{"lineNumber":484,"utf16Col":16}},"extentUtf16":{"start":{"lineNumber":484,"utf16Col":0},"end":{"lineNumber":517,"utf16Col":0}}},{"name":" Favourite Places","kind":"section_3","identStart":23734,"identEnd":23772,"extentStart":23731,"extentEnd":24934,"fullyQualifiedName":" Favourite Places","identUtf16":{"start":{"lineNumber":517,"utf16Col":3},"end":{"lineNumber":517,"utf16Col":41}},"extentUtf16":{"start":{"lineNumber":517,"utf16Col":0},"end":{"lineNumber":542,"utf16Col":0}}},{"name":" Place Picker View","kind":"section_2","identStart":24936,"identEnd":24976,"extentStart":24934,"extentEnd":30851,"fullyQualifiedName":" Place Picker View","identUtf16":{"start":{"lineNumber":542,"utf16Col":2},"end":{"lineNumber":542,"utf16Col":42}},"extentUtf16":{"start":{"lineNumber":542,"utf16Col":0},"end":{"lineNumber":733,"utf16Col":0}}},{"name":" PlacePickerViewDelegate","kind":"section_3","identStart":26821,"identEnd":26873,"extentStart":26818,"extentEnd":27035,"fullyQualifiedName":" PlacePickerViewDelegate","identUtf16":{"start":{"lineNumber":594,"utf16Col":3},"end":{"lineNumber":594,"utf16Col":55}},"extentUtf16":{"start":{"lineNumber":594,"utf16Col":0},"end":{"lineNumber":598,"utf16Col":0}}},{"name":" Customize Place Picker","kind":"section_3","identStart":27038,"identEnd":27088,"extentStart":27035,"extentEnd":30851,"fullyQualifiedName":" Customize Place Picker","identUtf16":{"start":{"lineNumber":598,"utf16Col":3},"end":{"lineNumber":598,"utf16Col":53}},"extentUtf16":{"start":{"lineNumber":598,"utf16Col":0},"end":{"lineNumber":733,"utf16Col":0}}},{"name":" Autocomplete Attribution Appearance","kind":"section_2","identStart":30853,"identEnd":30929,"extentStart":30851,"extentEnd":33581,"fullyQualifiedName":" Autocomplete Attribution Appearance","identUtf16":{"start":{"lineNumber":733,"utf16Col":2},"end":{"lineNumber":733,"utf16Col":78}},"extentUtf16":{"start":{"lineNumber":733,"utf16Col":0},"end":{"lineNumber":783,"utf16Col":0}}},{"name":" MapplsAttributionsSettings","kind":"section_3","identStart":30934,"identEnd":30992,"extentStart":30931,"extentEnd":33581,"fullyQualifiedName":" MapplsAttributionsSettings","identUtf16":{"start":{"lineNumber":735,"utf16Col":3},"end":{"lineNumber":735,"utf16Col":61}},"extentUtf16":{"start":{"lineNumber":735,"utf16Col":0},"end":{"lineNumber":783,"utf16Col":0}}},{"name":" Parameters:","kind":"section_4","identStart":31566,"identEnd":31578,"extentStart":31562,"extentEnd":33581,"fullyQualifiedName":" Parameters:","identUtf16":{"start":{"lineNumber":742,"utf16Col":4},"end":{"lineNumber":742,"utf16Col":16}},"extentUtf16":{"start":{"lineNumber":742,"utf16Col":0},"end":{"lineNumber":783,"utf16Col":0}}},{"name":" Our many happy customers:","kind":"section_2","identStart":33583,"identEnd":33609,"extentStart":33581,"extentEnd":36655,"fullyQualifiedName":" Our many happy customers:","identUtf16":{"start":{"lineNumber":783,"utf16Col":2},"end":{"lineNumber":783,"utf16Col":28}},"extentUtf16":{"start":{"lineNumber":783,"utf16Col":0},"end":{"lineNumber":810,"utf16Col":0}}}]}},"copilotInfo":null,"csrf_tokens":{"/mappls-api/mappls-ios-sdk/branches":{"post":"RzjHZiyP6gHevZca8pAIABtt2UkbYngV_NokMXdswdHfD8rGK0mXM9RPuRtYYQRaiHT3HlTTbngYgn4Us94UXQ"},"/repos/preferences":{"post":"0U2LxIDdjuamqt07wcWyL9aDDYtNsD_dhXVTOYuOYO0hCbfBCMNiLAcekfbKdsWHNwFcRLVou3YTalbU8QjrZA"}}},"title":"mappls-ios-sdk/docs/v1.0.10/MapplsUIWidgets.md at main · mappls-api/mappls-ios-sdk"}