IndoorMap Class Reference
Inherits from | UIViewController |
---|---|
Declared in | IndoorMap.h |
Overview
This is the main class of Woosmap Indoor SDK for IOS and is the entry point for all the methods related to maps.
VenueID
Sets the VenueID for the map.
@property (nonatomic, retain, nullable) NSString *VenueID
Discussion
Sets the VenueID for the map.
Declared In
IndoorMap.h
VenueCode
Set Venue code for the map
@property (nonatomic, retain, nullable) NSString *VenueCode
Discussion
Set Venue code for the map
Declared In
IndoorMap.h
floorNumber
Sets the default floor to be shown when the map loads.
@property (nonatomic, readwrite) int floorNumber
Discussion
Sets the default floor to be shown when the map loads.
Declared In
IndoorMap.h
defaultFloorNumber
Default floor for map
@property (nonatomic, readonly) int defaultFloorNumber
Discussion
Default floor for map
Declared In
IndoorMap.h
floorNumberIndex
Floor Number Index
@property (nonatomic, readonly) int floorNumberIndex
Discussion
Floor Number Index
Declared In
IndoorMap.h
ActiveBuildingID
Active Building Ref set from APP
@property (nonatomic, retain, nullable) NSString *ActiveBuildingID
Discussion
Active Building Ref set from APP
Declared In
IndoorMap.h
allowUserToInterruptNavigation
Controls whether user can abandon navigation during navigation mode.
@property (nonatomic, readwrite) BOOL allowUserToInterruptNavigation
Discussion
Controls whether user can abandon navigation during navigation mode.
Declared In
IndoorMap.h
showAreaDuringNavigation
Highlight store on navagation mode default=NO
@property (nonatomic, readwrite) BOOL showAreaDuringNavigation
Discussion
Highlight store on navagation mode default=NO
Declared In
IndoorMap.h
mapStyle
Sets Style to map (add same name of JSON file in resource bundle and set only filename here without extension).
@property (nonatomic, retain, nullable) NSString *mapStyle
Discussion
Sets Style to map (add same name of JSON file in resource bundle and set only filename here without extension).
Declared In
IndoorMap.h
CurrentMapMode
Gets the current Navigation mode. default=NavigationMode_None
@property (nonatomic, readonly, getter=getCurrentMapMode) NavigationMode CurrentMapMode
Discussion
Gets the current Navigation mode. default=NavigationMode_None
Declared In
IndoorMap.h
mapdelegate
IndoorMapDelegate delegate
@property (weak, nullable) id<IndoorMapDelegate> mapdelegate
Discussion
IndoorMapDelegate delegate
Declared In
IndoorMap.h
pathOptions
S Navigation path
@property (copy) PathFormatterBlock _Nullable pathOptions
Discussion
S Navigation path
Declared In
IndoorMap.h
enableFloorSelector
Controls whether the mapview’s inbuilt floor selector is to be shown. Set NO if the application wants to create custom floor selector.
@property (nonatomic, readwrite) BOOL enableFloorSelector
Discussion
Controls whether the mapview’s inbuilt floor selector is to be shown. Set NO if the application wants to create custom floor selector.
Declared In
IndoorMap.h
hideMapProvider
Show/Hide map provider logo on map, Default show
@property (nonatomic, readwrite) BOOL hideMapProvider
Discussion
Show/Hide map provider logo on map, Default show
Declared In
IndoorMap.h
textColor
Text color of label to render on map
@property (nonatomic, retain, nullable) UIColor *textColor
Discussion
Text color of label to render on map
Declared In
IndoorMap.h
rotateMapWithNorthHeading
Rotate map and keep user location pointing to upwoard only Default=false
@property (nonatomic, readwrite) BOOL rotateMapWithNorthHeading
Discussion
Rotate map and keep user location pointing to upwoard only Default=false
Declared In
IndoorMap.h
fontFamily
Font Use on map
@property (nonatomic, retain, nullable) NSString *fontFamily
Discussion
Font Use on map
Declared In
IndoorMap.h
labelHighlightStrokeWidth
HighlightStrokeWidth for lable render on map
@property (nonatomic, readwrite) float labelHighlightStrokeWidth
Discussion
HighlightStrokeWidth for lable render on map
Declared In
IndoorMap.h
displayPOIWithStopOverNavigation
This property control to display area lables on map during POI navigation
@property (nonatomic, readwrite) BOOL displayPOIWithStopOverNavigation
Discussion
This property control to display area lables on map during POI navigation
Declared In
IndoorMap.h
preferaccessibility
This property control to Navigation mode handicap/non handicap
@property (nonatomic, readwrite) BOOL preferaccessibility
Discussion
This property control to Navigation mode handicap/non handicap
Declared In
IndoorMap.h
routeTags
Returns/Set the list of routing tags associated for the venue.
@property (nonatomic, readwrite) NSArray<RouteTag*> *routeTags
Discussion
Returns/Set the list of routing tags associated for the venue.
Declared In
IndoorMap.h
hideNavigationHeadMarkerOnLastStep
Manage visibility of arrow head on last step of navigation path
@property (nonatomic, readwrite) BOOL hideNavigationHeadMarkerOnLastStep
Discussion
Manage visibility of arrow head on last step of navigation path
Declared In
IndoorMap.h
– setNavigationMode:
Sets the navigation mode.
- (void)setNavigationMode:(NavigationMode)mode
Parameters
mode |
Navigation mode type (NavigationModeNone,NavigationModePreview,NavigationMode_TurnByTurn) |
---|
Discussion
Sets the navigation mode.
Declared In
IndoorMap.h
– getCurrentMapMode
Gets the current Navigation Mode
- (NavigationMode)getCurrentMapMode
Return Value
Enumumeraton of type NavigationMode
Discussion
Gets the current Navigation Mode
Declared In
IndoorMap.h
– autoFit
resize map according to container size
- (void)autoFit
Discussion
resize map according to container size
Declared In
IndoorMap.h
– showMarker:floor:title:
Displays a marker on the mapview.
- (void)showMarker:(CLLocationCoordinate2D)coordinate floor:(int)level title:(nullable NSString *)Title
Parameters
coordinate |
Location |
---|---|
level |
Floor Level |
Title |
Title to display on the marker window |
Discussion
Displays a marker on the mapview.
Declared In
IndoorMap.h
– setBlueDot:onFloor:
Sets the user’s current position (blue dot) on the map.
- (void)setBlueDot:(nonnull CLLocation *)location onFloor:(int)level
Parameters
location |
The location of the user’s current position. |
---|---|
level |
The floor level of the user’s current position. |
Discussion
Sets the user’s current position (blue dot) on the map.
Declared In
IndoorMap.h
– setBlueDot_simulated:onFloor:
Sets the user’s current position (blue dot) on the map (internal perpose only) DO NOT USE THIS METHOD.
- (void)setBlueDot_simulated:(nonnull CLLocation *)location onFloor:(int)level
Parameters
location |
The location of the user’s current position. |
---|---|
level |
The floor level of the user’s current position. |
Discussion
Sets the user’s current position (blue dot) on the map (internal perpose only) DO NOT USE THIS METHOD.
Declared In
IndoorMap.h
– userLocation
Gets the user’s current location.
- (CGIndoorMapPoint)userLocation
Return Value
The latitude, longitude and floor level of the user’s position.
Discussion
Gets the user’s current location.
Declared In
IndoorMap.h
– getTappedAreaInfo:onFloor:
Returns the information of the tapped area on the map.
- (nullable NSDictionary *)getTappedAreaInfo:(nonnull CLLocation *)location onFloor:(int)level
Parameters
location |
Location that was tapped. |
---|---|
level |
floor level. |
Return Value
Returns a dictionary of the tapped area.
Discussion
Returns the information of the tapped area on the map.
Declared In
IndoorMap.h
– getTappedAreaInfo:onFloor:skipNonBusinessArea:
Returns the information of the tapped area on the map.
- (nullable NSDictionary *)getTappedAreaInfo:(nonnull CLLocation *)location onFloor:(int)level skipNonBusinessArea:(BOOL)shouldSkip
Parameters
location |
Location that was tapped. |
---|---|
level |
floor level. |
shouldSkip |
Skip non business area. |
Return Value
Returns a dictionary of the tapped area.
Discussion
Returns the information of the tapped area on the map.
Declared In
IndoorMap.h
– centerBlueDot
Centers the blue dot in the map view.
- (void)centerBlueDot
Discussion
Centers the blue dot in the map view.
Declared In
IndoorMap.h
– findRoute:destination:
Finds the path from source to destination.
- (void)findRoute:(CGIndoorMapPoint)startPoint destination:(CGIndoorMapPoint)endPoint
Parameters
startPoint |
Source Coordinates |
---|---|
endPoint |
Destination Coordinates |
Discussion
Finds the path from source to destination.
Declared In
IndoorMap.h
– findRoute:destination:uptoDoor:
Finds the path from the source to the destination. It has an option to end the path at the entrance or inside the store. This choice is useful when a path needs to be ended at the entrance (in case of stores) or inside (in case of a POI located inside the store)
- (void)findRoute:(CGIndoorMapPoint)startPoint destination:(CGIndoorMapPoint)endPoint uptoDoor:(BOOL)cutAtEnterance
Parameters
startPoint |
Source Coordinates |
---|---|
endPoint |
Destination Coordinates |
cutAtEnterance |
BOOL flag |
Discussion
Finds the path from the source to the destination. It has an option to end the path at the entrance or inside the store. This choice is useful when a path needs to be ended at the entrance (in case of stores) or inside (in case of a POI located inside the store)
Declared In
IndoorMap.h
– findRoute:destinations:endAt:
Finds the path from the source to the destinations. It has an option to end the path at the entrance or inside the store. This choice is useful when a path needs to be ended at the entrance (in case of stores) or inside (in case of a POI located inside the store)
- (void)findRoute:(CGIndoorMapPoint)startPoint destinations:(NSArray<Stopover*> *_Nonnull)endPoints endAt:(CGIndoorMapPoint)endPoint
Parameters
startPoint |
Source Coordinates |
---|---|
endPoints |
Destination Coordinates |
endPoint |
Location where path end at |
Discussion
Finds the path from the source to the destinations. It has an option to end the path at the entrance or inside the store. This choice is useful when a path needs to be ended at the entrance (in case of stores) or inside (in case of a POI located inside the store)
Declared In
IndoorMap.h
– findRoute:destinations:
Finds the path from the source to the destinations. It has an option to end the path at the entrance or inside the store. This choice is useful when a path needs to be ended at the entrance (in case of stores) or inside (in case of a POI located inside the store)
- (void)findRoute:(CGIndoorMapPoint)startPoint destinations:(NSArray<Stopover*> *_Nonnull)endPoints
Parameters
startPoint |
Source Coordinates |
---|---|
endPoints |
Destination Coordinates |
Discussion
Finds the path from the source to the destinations. It has an option to end the path at the entrance or inside the store. This choice is useful when a path needs to be ended at the entrance (in case of stores) or inside (in case of a POI located inside the store)
Declared In
IndoorMap.h
– startNavigation
Start the navigation when user’s navigation mode is NavigationMode_TurnByTurn
- (void)startNavigation
Discussion
Start the navigation when user’s navigation mode is NavigationMode_TurnByTurn
Declared In
IndoorMap.h
– exitNavigation
Ends the navigation when user’s navigation mode is NavigationMode_TurnByTurn
- (void)exitNavigation
Discussion
Ends the navigation when user’s navigation mode is NavigationMode_TurnByTurn
Declared In
IndoorMap.h
– resumeNavigation
Called when allowUserToInterruptNavigation is set to TRUE
- (void)resumeNavigation
Discussion
Called when allowUserToInterruptNavigation is set to TRUE
Declared In
IndoorMap.h
– stepToInstruction:
Sets the corresponding instruction for navigation for the selected index.
- (void)stepToInstruction:(NSInteger)instructionIndex
Parameters
instructionIndex |
The index for getting the instruction. |
---|
Discussion
Sets the corresponding instruction for navigation for the selected index.
Declared In
IndoorMap.h
– nextStepInstruction
- Sets the corresponding instruction for the next step. The user’s navigation mode should be NavigationMode_TurnByTurn. Useful when user wants to scoll through a set of instructions.
- (void)nextStepInstruction
Discussion
- Sets the corresponding instruction for the next step. The user’s navigation mode should be NavigationMode_TurnByTurn. Useful when user wants to scoll through a set of instructions.
Declared In
IndoorMap.h
– previousStepInstruction
- Sets the corresponding instruction for navigation for the previous step. The user’s navigation mode should be NavigationMode_TurnByTurn. Useful when user wants to scoll through a set of instructions.
- (void)previousStepInstruction
Discussion
- Sets the corresponding instruction for navigation for the previous step. The user’s navigation mode should be NavigationMode_TurnByTurn. Useful when user wants to scoll through a set of instructions.
Declared In
IndoorMap.h
– reRoute:floor:
Reroutes the path using new source location
- (void)reRoute:(CLLocationCoordinate2D)coordinate floor:(int)level
Parameters
coordinate |
new starting point coordinates |
---|---|
level |
new starting point level |
Discussion
Reroutes the path using new source location
Declared In
IndoorMap.h
– suppressReRouteEvent
Suppress reroute event For 5 seconds
- (void)suppressReRouteEvent
Discussion
Suppress reroute event For 5 seconds
Declared In
IndoorMap.h
– changeFloor:
Changes the floor for the mapview.
- (void)changeFloor:(int)floor
Parameters
floor |
The floor to be set. |
---|
Discussion
Changes the floor for the mapview.
Declared In
IndoorMap.h
– changeFloorByLocationProvider:
Called this method if floor changed by location provider
- (void)changeFloorByLocationProvider:(int)floor
Parameters
floor |
new Floor number |
---|
Discussion
Called this method if floor changed by location provider
Declared In
IndoorMap.h
– changeFloor:reason:
Called this method if floor changed by event
- (void)changeFloor:(int)floor reason:(FloorChangeReason)byEvent
Parameters
floor |
new Floor number |
---|---|
byEvent |
by event |
Discussion
Called this method if floor changed by event
Declared In
IndoorMap.h
– mapCleanup
Removes current markers from the mapview.
- (void)mapCleanup
Discussion
Removes current markers from the mapview.
Declared In
IndoorMap.h
– findAreaOnMap:floor:
Finds an area/section on the map and displays a corresponding marker on the mapview.
- (void)findAreaOnMap:(CLLocationCoordinate2D)coordinate floor:(int)level
Parameters
coordinate |
The location of the area/section to be found. |
---|---|
level |
The level at which the area/secton is located. |
Discussion
Finds an area/section on the map and displays a corresponding marker on the mapview.
Declared In
IndoorMap.h
– findAreaOnMap:floor:title:
Finds an area (typically used to find a POI) and displays a corresponding marker on the mapview.
- (void)findAreaOnMap:(CLLocationCoordinate2D)coordinate floor:(int)level title:(nonnull NSString *)text
Parameters
coordinate |
The location of the area (POI) to find. |
---|---|
level |
The level at which the area (POI) is located. |
text |
The title of the area (POI) that will be dsplayed on the marker window. |
Discussion
Finds an area (typically used to find a POI) and displays a corresponding marker on the mapview.
Declared In
IndoorMap.h
– findAreaOnMap:
Finds an area/section on the map and displays a corresponding marker on the mapview. (Deprecated: use findPOIOnMap: instead.)
- (void)findAreaOnMap:(nonnull NSString *)storeid
Parameters
storeid |
The unique ID of the area/section to be found. |
---|
Discussion
Finds an area/section on the map and displays a corresponding marker on the mapview.
Declared In
IndoorMap.h
– findPOIOnMap:completion:
Finds an area/section on the map and displays a corresponding marker on the mapview.
- (void)findPOIOnMap:(nonnull NSString *)poiid completion:(void ( ^ _Nullable ) ( NSDictionary *_Nullable poiinfo , NSError *_Nullable error ))result
Parameters
poiid |
The unique ID of the area/section to be found. |
---|---|
result |
callback on result |
Discussion
Finds an area/section on the map and displays a corresponding marker on the mapview.
Declared In
IndoorMap.h
– locationFloorRef:
Gets the indoor positioning service’s unique floor plan ID for the selected floor/level.
- (nullable NSString *)locationFloorRef:(int)floor
Parameters
floor |
The floor for which the unique floor plan ID is returned |
---|
Return Value
Returns the a unique floor plan ID.
Discussion
Gets the indoor positioning service’s unique floor plan ID for the selected floor/level.
Declared In
IndoorMap.h
– externalFloorForFloorRef:
External Floor refrence id
- (int)externalFloorForFloorRef:(nonnull NSString *)floorref
Parameters
floorref |
Floor number |
---|
Return Value
refrence number
Discussion
External Floor refrence id
Declared In
IndoorMap.h
– mapSettings
To get extra map setting information.
- (nonnull NSDictionary *)mapSettings
Return Value
cictionary of extra map settings.
Discussion
To get extra map setting information.
Declared In
IndoorMap.h
– locationFloorRefID
Returns an array of unique floor plan IDs of the indoor positioning services.
- (nullable NSArray *)locationFloorRefID
Return Value
NSArray of floor plan IDs
Discussion
Returns an array of unique floor plan IDs of the indoor positioning services.
Declared In
IndoorMap.h
– addTrackingMarker:
Adds a marker for buddy on the map.
- (void)addTrackingMarker:(nonnull TrackingMarker *)tracking
Parameters
tracking |
An instance of the class <TrackingMarker> |
---|
Discussion
Adds a marker for buddy on the map.
Declared In
IndoorMap.h
– updateTrackingMarker:floor:
Updates the POI marker position .
- (void)updateTrackingMarker:(CLLocationCoordinate2D)coordinate floor:(int)level
Parameters
coordinate |
The current position of the POI. |
---|---|
level |
The level at which the POI is present. |
Discussion
Updates the POI marker position .
Declared In
IndoorMap.h
– removeTrackingMarker
Removes the POI marker
- (void)removeTrackingMarker
Discussion
Removes the POI marker
Declared In
IndoorMap.h
– allAreaInformation
Gets the Area data available for a particular venue.
- (nonnull NSArray *)allAreaInformation
Return Value
NSArray of area.
Discussion
Gets the Area data available for a particular venue.
Declared In
IndoorMap.h
– centerMapWithLocation:andZoom:
Center map at given location
- (void)centerMapWithLocation:(CGIndoorMapPoint)mp andZoom:(float)zoomlevel
Parameters
mp |
location point |
---|---|
zoomlevel |
map zoom level |
Discussion
Center map at given location
Declared In
IndoorMap.h
– centerMapWithLocation:
Center map at given location
- (void)centerMapWithLocation:(CGIndoorMapPoint)mp
Parameters
mp |
location point |
---|
Discussion
Center map at given location
Declared In
IndoorMap.h
– isBlueDotVisibleOnMap
Return true if user location visible on map
- (BOOL)isBlueDotVisibleOnMap
Return Value
True/False
Discussion
Return true if user location visible on map
Declared In
IndoorMap.h
– isStreetViewLoaded
Return true if street view loaded
- (BOOL)isStreetViewLoaded
Return Value
True/False
Discussion
Return true if street view loaded
Declared In
IndoorMap.h
– loadStreetView:
Loads street view
- (void)loadStreetView:(CLLocationCoordinate2D)location
Parameters
location |
The reference location for loading street view |
---|
Discussion
Loads street view
Declared In
IndoorMap.h
– closeStreetView
Removes street view.
- (void)closeStreetView
Discussion
Removes street view.
Declared In
IndoorMap.h
– getModeOfTransport:
By given point findout nearest elevator/Escalator/Ramp/starecase
- (FloorConntectedBy)getModeOfTransport:(CGIndoorMapPoint)refPoint
Parameters
refPoint |
ref point |
---|
Return Value
return modeof transport
Discussion
By given point findout nearest elevator/Escalator/Ramp/starecase
Declared In
IndoorMap.h
– getModeOfTransportPointTo:
Get connecting point from given point
- (CGIndoorMapPoint)getModeOfTransportPointTo:(CGIndoorMapPoint)refPoint
Parameters
refPoint |
refPoint |
---|
Return Value
new point on top/bottom level
Discussion
Get connecting point from given point
Declared In
IndoorMap.h
– floorIndexInBuildingArray:
Get floor index in Array for current floor
- (int)floorIndexInBuildingArray:(nonnull NSArray *)buldingarray
Parameters
buldingarray |
List of level array |
---|
Return Value
return index value in list
Discussion
Get floor index in Array for current floor
Declared In
IndoorMap.h
– addTrackingArea:
Adds a Area on the map.
- (void)addTrackingArea:(nonnull TrackingAreaMarker *)tracking
Parameters
tracking |
An instance of the class <TrackingAreaMarker> |
---|
Discussion
Adds a Area on the map.
Declared In
IndoorMap.h
– removeAllTrackingArea
Removes the drawn area
- (void)removeAllTrackingArea
Discussion
Removes the drawn area
Declared In
IndoorMap.h
– mapAreaBounds
Area coordinate for map bound
- (nonnull NSArray *)mapAreaBounds
Return Value
return coordinate list of map borders
Discussion
Area coordinate for map bound
Declared In
IndoorMap.h
– addCustomePOI:
Add Custome POI on map
- (void)addCustomePOI:(nonnull TrackingMarker *)tracking
Parameters
tracking |
POI Info |
---|
Discussion
Add Custome POI on map
Declared In
IndoorMap.h
– removeAllCustomePOI
Clear Map : Remove Custome POI
- (void)removeAllCustomePOI
Discussion
Clear Map : Remove Custome POI
Declared In
IndoorMap.h
– showPOIMarker:floor:title:
Show POI Marker on Map
- (void)showPOIMarker:(CLLocationCoordinate2D)coordinate floor:(int)level title:(nullable NSString *)Title
Parameters
coordinate |
Lat/Lng |
---|---|
level |
Level of map loaded |
Title |
Title on POI |
Discussion
Show POI Marker on Map
Declared In
IndoorMap.h
– showPOIMarker:view:
Show POI On Map
- (void)showPOIMarker:(nonnull NSDictionary *)poiinfo view:(nonnull UIView *)pinView
Parameters
poiinfo |
Detail of POI |
---|---|
pinView |
Image of POI |
Discussion
Show POI On Map
Declared In
IndoorMap.h
– indoorApiRequest:andParameter:result:
Woosmap Indoor Secure API call
- (void)indoorApiRequest:(nonnull NSString *)apiname andParameter:(nonnull NSDictionary *)apiparam result:(void ( ^ _Nonnull ) ( NSArray *_Nullable apiresponse , NSError *_Nullable error ))response
Parameters
apiname |
name of api |
---|---|
apiparam |
api parameter |
response |
result |
Discussion
Woosmap Indoor Secure API call
Declared In
IndoorMap.h
+ getVenueInfo:result:
Geting venue information
+ (void)getVenueInfo:(nonnull NSString *)VenueID result:(void ( ^ _Nonnull ) ( IndoorMap *_Nullable venueinfo , NSError *_Nullable error ))response
Parameters
VenueID |
|
---|---|
response |
venueinfo |
Discussion
Geting venue information
Declared In
IndoorMap.h
– calculateNearestEnterance:from:
Return nearest enterance point for POI While navigation
- (CGIndoorMapPoint)calculateNearestEnterance:(CGIndoorMapPoint)destination from:(CGIndoorMapPoint)start
Parameters
destination |
search point |
---|---|
start |
start Navigation Point |
Return Value
nearest Enterance of poi
Discussion
Return nearest enterance point for POI While navigation
Declared In
IndoorMap.h
– showPathForGroupIndex:
Display path for given group index
- (void)showPathForGroupIndex:(nonnull NSString *)pathGroupIndex
Parameters
pathGroupIndex |
group index |
---|
Discussion
Display path for given group index
Declared In
IndoorMap.h
– showSearchedPOIsOnMap:completion:
Display poi search result on map
- (void)showSearchedPOIsOnMap:(nonnull NSArray *)searchresult completion:(void ( ^ _Nonnull ) ( NSArray *_Nullable searchResult , NSError *_Nullable error ))result
Parameters
searchresult |
List of poiids |
---|---|
result |
callback when poi found on map else return error object |
Discussion
Display poi search result on map
Declared In
IndoorMap.h
– clearSearchedPOIs
Removing search result from map
- (void)clearSearchedPOIs
Discussion
Removing search result from map
Declared In
IndoorMap.h
– IndoorServiceApikey
Gets the API key for the indoor positioning services.
- (nonnull NSString *)IndoorServiceApikey
Return Value
The API key for the indoor positioning services.
Discussion
Gets the API key for the indoor positioning services.
Declared In
IndoorMap.h
– IndoorServiceApiSecret
Gets the API secret for the indoor positioning services.
- (nonnull NSString *)IndoorServiceApiSecret
Return Value
The API secret for the indoor positioning services.
Discussion
Gets the API secret for the indoor positioning services.
Declared In
IndoorMap.h
– stopRenderingMap
Cleanup IndoorMap and GoogleMap
- (void)stopRenderingMap
Discussion
Cleanup IndoorMap and GoogleMap
Declared In
IndoorMap.h
– isInsideVenue:completion:
Check Location inside indoor venue
- (void)isInsideVenue:(CLLocationCoordinate2D)latLng completion:(void ( ^ _Nullable ) ( BOOL insideVenue , NSError *_Nullable error ))result
Parameters
latLng |
location to check |
---|---|
result |
check is location with in boundry of indoor venue |
Discussion
Check Location inside indoor venue
Declared In
IndoorMap.h
– sortStopovers:destinations:endAt:completion:
Compute sorted list of multiple stops
- (void)sortStopovers:(CGIndoorMapPoint)startPoint destinations:(NSArray<Stopover*> *_Nonnull)endPoints endAt:(CGIndoorMapPoint)endPoint completion:(void ( ^ _Nullable ) ( NSArray<Stopover*> *_Nullable sortedList , NSError *_Nullable error ))result
Parameters
startPoint |
User location |
---|---|
endPoints |
List of Stops |
endPoint |
Location where path end at |
result |
return sorted list of stops or error if any |
Discussion
Compute sorted list of multiple stops
Declared In
IndoorMap.h
– sortStopovers:destinations:completion:
Compute sorted list of multiple stops
- (void)sortStopovers:(CGIndoorMapPoint)startPoint destinations:(NSArray<Stopover*> *_Nonnull)endPoints completion:(void ( ^ _Nullable ) ( NSArray<Stopover*> *_Nullable sortedList , NSError *_Nullable error ))result
Parameters
startPoint |
User location |
---|---|
endPoints |
List of Stops |
result |
return sorted list of stops or error if any |
Discussion
Compute sorted list of multiple stops
Declared In
IndoorMap.h
– setNavigationHeadMarker:
Customize navigation arrow
- (void)setNavigationHeadMarker:(UIImage *_Nullable)image
Parameters
image |
new Arrow image |
---|
Discussion
Customize navigation arrow
Declared In
IndoorMap.h