MapstedMapUiInternalViewController
public final class MapstedMapUiInternalViewController : UIViewController, UIGestureRecognizerDelegate
extension MapstedMapUiInternalViewController : EntityChoiceSelectionHandler
extension MapstedMapUiInternalViewController: UISearchBarDelegate
extension MapstedMapUiInternalViewController : UICollectionViewDelegate
extension MapstedMapUiInternalViewController : UICollectionViewDataSource
extension MapstedMapUiInternalViewController : UICollectionViewDelegateFlowLayout
extension MapstedMapUiInternalViewController: MNMapVectorTileEventListenerDelegate
extension MapstedMapUiInternalViewController: MNMapListenerDelegate
extension MapstedMapUiInternalViewController: NearbyPropertiesListener
extension MapstedMapUiInternalViewController: PositionChangeListener
extension MapstedMapUiInternalViewController: PositionAnimationListener
extension MapstedMapUiInternalViewController:  PositionVisibilityListener
extension MapstedMapUiInternalViewController: ValidBlueDotCallbackListener
extension MapstedMapUiInternalViewController: MNMapVectorElementListenerDelegate
extension MapstedMapUiInternalViewController: MapSelectionProtocol
extension MapstedMapUiInternalViewController: MNSearchDelegate
extension MapstedMapUiInternalViewController : AlertSelectionDelegate
extension MapstedMapUiInternalViewController: RoutingRequestCallback
extension MapstedMapUiInternalViewController: KWCollectionViewDelegate
                - 
                  
                  
Declaration
Swift
public var isDisplaying: Bool - 
                  
                  
Declaration
Swift
public var curOverlaysVisibility: Bool - 
                  
                  
Use shared to get an instance of MNMapUIKitViewController to present in your app.
Declaration
Swift
public static let shared: UIViewController? - 
                  
                  
Declaration
Swift
public var alertsTableViewDelegate: AlertsTableViewDelegate? 
- 
                  
                  
Declaration
Swift
public static func className() -> String - 
                  
                  
Declaration
Swift
public func setViewAppearanceDelegate(delegate: HandlerForWhenViewDoesAppear) - 
                  
                  
Sets map state delegate.
Declaration
Swift
public func setMapStateDelegate(mapStateDelegate: MNMapStateDelegate)Parameters
mapStateDelegateMap state delegate
 - 
                  
                  
Sets delegate for feed.
Declaration
Swift
public func setFeedDelegate(feedDelegate: MNFeedDelegate)Parameters
feedDelegateFeed delegate
 - 
                  
                  
Sets delegate for feed.
Declaration
Swift
public func setMarketingDelegate(marketingDelegate: LocationMarketingCreativeDelegate)Parameters
feedDelegateFeed delegate
 - 
                  
                  
Sets delegate for sharing location.
Declaration
Swift
public func setShareLocationDelegate(shareLocationDelegate: MNShareLocationDelegate)Parameters
shareLocationDelegateShare location delegate
 - 
                  
                  
Sets delegate for sending feedback.
Declaration
Swift
public func setSendFeedbackDelegate(feedDelegate: MNFeedbackDelegate) - 
                  
                  
Sets delegate for selecting category or others.
Declaration
Swift
public func setSearchDelegate(searchDelegate: MNSearchDelegate) - 
                  
                  
Sets delegate for alerts.
Declaration
Swift
public func setAlertDelegate(alertDelegate: MNAlertDelegate) - 
                  
                  
Declaration
Swift
public func setBannerDelegate(bannerDelegate: MNBannerDelegate) - 
                  
                  
Declaration
Swift
public func setUnreliableDataBannerDelegate(unreliableDataBannerDelegate: MNUnreliableDataBannerDelegate) - 
                  
                  
Declaration
Swift
public func setAlertsTableViewDelegate(alertsTableViewDelegate: AlertsTableViewDelegate?) - 
                  
                  
Declaration
Swift
public override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) - 
                  
                  
Declaration
Swift
override public func viewDidLoad() - 
                  
                  
Declaration
Swift
override public func viewDidAppear(_ animated: Bool) - 
                  
                  
Declaration
Swift
override public func viewWillAppear(_ animated: Bool) - 
                  
                  
Declaration
Swift
public override func viewDidLayoutSubviews() - 
                  
                  
Declaration
Swift
public func downloadAndRenderProperty(propertyId: Int, completion: (() -> ())? = nil) - 
                  
                  
Declaration
Swift
public func updateSelectedPropertyInfo() - 
                  
                  
Declaration
Swift
public override func viewWillDisappear(_ animated: Bool) - 
                  
                  
Declaration
Swift
override public func prepare(for segue: UIStoryboardSegue, sender: Any?) - 
                  
                  
Declaration
Swift
public func showLoadingSpinner(text: String) - 
                  
                  
Declaration
Swift
public func hideLoadingSpinner() 
- 
                  
                  
Declaration
Swift
public func selectAndDrawProperty(propertyId: Int, callback: @escaping ((Bool) -> Void)) - 
                  
                  
Selects and draws property on map if not already drawn. Shows a toast like message prompting user to long tap on map to create tag.Declaration
Swift
public func createNewTag(propertyId: Int)Parameters
propertyIdProperty id of the property on which to center the map.
 - 
                  
                  
Declaration
Swift
public func showTagManager(propertyId: Int) - 
                  
                  
Zooms map to entity and selects entity.
Declaration
Swift
public func zoomToEntity(buildingId: Int, propertyId: Int, entityId: Int)Parameters
buildingIdBuilding id of the entity.
propertyIdProperty id of the entity.
entityIdEntity id of the entity to display.
 - 
                  
                  
Zooms map to desired level (0-20).
Declaration
Swift
public func zoomTo(location: MNMercator, zoomLevel: Float)Parameters
locationlocation to zoom to
 - 
                  
                  
Zooms map to desired level (0-20).
Declaration
Swift
public func zoomTo(level: Float)Parameters
levelZoom level
 - 
                  
                  
Zooms map to user location.
Declaration
Swift
public func zoomToUserLocation() - 
                  
                  
Declaration
Swift
public func displayOnMap(tag: MNTag, completion: (() -> ())? = nil) - 
                  
                  
Declaration
Swift
public func displayOnMap(dataType: MNDataType? = nil, render: Bool = true, propertyId: Int, buildingId: Int, entityId: Int, completion: (() -> ())? = nil) - 
                  
                  
Declaration
Swift
public func displayMap(dataType: MNDataType? = nil, render: Bool = true, propertyId: Int, completion: (() -> ())? = nil) - 
                  
                  
Gets banner text to show above map. If text is nil, no banner should be shown.
Declaration
Swift
public func connectWifiBluetoothBannerText() -> String? - 
                  
                  
Draw property on map.
Declaration
Swift
public func displayPropertyOnMap(propertyId: Int, completion: (() -> ())? = nil)Parameters
propertyIdProperty id of the entity.
 - 
                  
                  
Shows directions screen with the entity as the first destination.
Declaration
Swift
public func routeTo(buildingId: Int, propertyId: Int, entityId: Int, showDirections: Bool = true)Parameters
buildingIdBuilding id of the entity.
propertyIdProperty id of the entity.
entityIdEntity id of the entity to display.
 - 
                  
                  
Call this function to remove all tags from map.
Declaration
Swift
public func clearAllTags() - 
                  
                  
Call this function to delete all tags from database.
Declaration
Swift
public func deleteAllTags() - 
                  
                  
Call this function to refresh tags on map. This needs to be called when a new tag is created or an existing tag is deleted outside map screen.
Declaration
Swift
public func refreshTags(closure: (() -> ())? = nil, plotTags: Bool = true) - 
                  
                  
Call this function to display property on map.
Declaration
Swift
public func displayPropertyOnMap() 
- 
                  
                  
Declaration
Swift
public func enableFromToLabelsOnRoutePreview(enable: Bool, fromLabel: String = "", toLabel: String = "") - 
                  
                  
Declaration
Swift
public func selectEntity(searchable: Searchable, hostVC: UIViewController?) - 
                  
                  
Declaration
Swift
public func selectNearest(group: SearchEntity, hostVC: UIViewController?) - 
                  
                  
Declaration
Swift
public func exitChooser(hostVC: UIViewController?) - 
                  
                  
Declaration
Swift
public func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) - 
                  
                  
Declaration
Swift
public func searchBarCancelButtonClicked(_ searchBar: UISearchBar) - 
                  
                  
Declaration
Swift
public func searchBarSearchButtonClicked(_ searchBar: UISearchBar) - 
                  
                  
Declaration
Swift
public func searchBarTextDidBeginEditing(_ searchBar: UISearchBar) 
- 
                  
                  
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) - 
                  
                  
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int - 
                  
                  
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell - 
                  
                  
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize - 
                  
                  
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets - 
                  
                  
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat - 
                  
                  
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumInteritemSpacingForSectionAt section: Int) -> CGFloat 
- 
                  
                  
Declaration
Swift
public func onTileBalloonClicked(searchEntity: MNSearchEntity) - 
                  
                  
Declaration
Swift
public func onTileMarkerTapped(markerName: String, markerType: String) - 
                  
                  
Declaration
Swift
public func onTileEntityTapped(entity: MNMapEntity, tapType: MapstedMapApi.TapType, tapPos: MNMercator) - 
                  
                  
Declaration
Swift
public func onTilePolygonTapped(polygon: MNMapPolygon, tapType: MapstedMapApi.TapType, tapPos: MNMercator) 
- 
                  
                  
Declaration
Swift
public func onMapIdle() - 
                  
                  
Declaration
Swift
public func onMapInteraction() - 
                  
                  
Declaration
Swift
public func onPositionAnimation(position: MNPosition, animationBegins: Bool) - 
                  
                  
Declaration
Swift
public func setPositionVisibility(visible: Bool) - 
                  
                  
Declaration
Swift
public func onValidBlueDotStateChange(error: EnumValidBlueDotError) - 
                  
                  
Declaration
Swift
public func onMarkerTapped(markerName: String, markerType: String) - 
                  
                  
Declaration
Swift
public func showTagLocation(tag: MNTag) - 
                  
                  
Call this function to hide the Mapsted Map’s searchbar.
Declaration
Swift
public func hideSearchBar(hidden: Bool)Parameters
hiddentrue if hide the search bar.
 - 
                  
                  
Call this function to add a tag on Mapsted Map.
Declaration
Swift
public func addTag(tagName: String, tagPos: MNPosition, closure: (() -> ())? = nil)Parameters
tagNameThe name of tag.
tagPosThe position of tag.
 - 
                  
                  
Call this function to add tags on Mapsted Map.
Declaration
Swift
public func addTags(tags: [MNTag])Parameters
tagsThe list of tag.
 
- 
                  
                  
Declaration
Swift
public func showAlerts(alerts: [AlertSearchable]) - 
                  
                  
Declaration
Swift
public func makeChooseFrom(searchEntityGroup: SearchEntity) - 
                  
                  
Declaration
Swift
public func selectCategory(category: CMSCategory) - 
                  
                  
Declaration
Swift
public func selectAlert(alert: AlertSearchable) - 
                  
                  
Declaration
Swift
public func selectMapOverlayItem(item: MapOverlayItem) - 
                  
                  
Declaration
Swift
public func takeToNearest(fromHomeEntities homeEntities: [HomeEntity]) - 
                  
                  
Declaration
Swift
public func didSelect(alert: AlertSearchable) - 
                  
                  
Declaration
Swift
public func didSelect(item: MapOverlayItem) - 
                  
                  
Declaration
Swift
public func onSuccess(routeResponse: MNRouteResponse) - 
                  
                  
Declaration
Swift
public func onError(errorCode: Int, errorMessage: String, alertIds: [String]) - 
                  
                  
Declaration
Swift
public func keywordIsBeingAdded(name: CMSCategory?) - 
                  
                  
Declaration
Swift
public func keywordIsBeingRemoved(name: CMSCategory?) 
      MapstedMapUiInternalViewController Class Reference