List of location view elements for Navigine iOS SDK. More...
Topics | |
| ObjectiveC Default Navigation View | |
| NCDefaultNavigationView and its built-in widgets (zoom, floor selector, follow me) | |
Classes | |
| class | NCAttributionAlignment |
| Screen placement of the OSM attribution overlay. More... | |
| class | NCBuilding |
| Interface for a building with multiple floors (Sublocations). Allows selecting the active floor directly via setActiveSublocationId. More... | |
| protocol | <NCBuildingListener> |
| Listener for outdoor scenario when camera focuses on a building or leaves it. More... | |
| class | NCCamera |
| Class describing position of the camera. More... | |
| protocol | <NCCameraListener> |
| Class is used to listen for camera updates. More... | |
| class | NCCircleMapObject |
| Represents a circle on the location view. More... | |
| class | NCClusterMapObject |
| Runtime snapshot of a visible icon cluster on the location view. More... | |
| class | NCClusterMapObjectController |
| Groups IconMapObject instances into clusters depending on zoom and proximity. More... | |
| protocol | <NCClusterMapObjectControllerListener> |
| Listener for cluster lifecycle events on ClusterMapObjectController. More... | |
| protocol | <NCClusterMapObjectListener> |
| Listener for updates of a single ClusterMapObject. More... | |
| class | NCDefaultNavigationView |
| Ready-to-use navigation view with built-in UI: “follow me” toggle and user location layer. zoom controls, floor selector, follow me toggle and user location layer. Automatically wires SDK listeners (location, sublocation, camera) and keeps widgets in sync. Use NCDefaultNavigationViewConfig to customize; config can be updated at runtime via the config property. More... | |
| class | NCDottedPolylineMapObject |
| Represents a polyline object with points placed along it on the location view. More... | |
| class | NCGeoJsonImport |
| Polygons and polylines created from one GeoJSON document. More... | |
| class | NCGuidanceCamera |
| Drives the map camera from a RouteLayer and exposes the next instruction. Does not draw the route. More... | |
| protocol | <NCGuidanceListener> |
| Guidance camera and next-instruction updates. More... | |
| class | NCHttpTileSource |
| HTTP XYZ source for outdoor vector tiles. More... | |
| class | NCIconMapObject |
| Represents an icon object on the location view. More... | |
| class | NCImage |
| class described image data in SDK More... | |
| protocol | <NCInputListener> |
| Class is used to listen for interactions with location view. More... | |
| class | NCLocationView |
| Class is used to display a Navigine location via iOS UIView. More... | |
| class | NCLocationWindow |
| Interface for interacting with the location view. More... | |
| class | NCMapFilterCondition |
| A single filter condition: property must match one of the given values. More... | |
| class | NCMapObject |
| Base interface for handling objects on the location view. More... | |
| class | NCMapObjectPickResult |
| Class is used to handle information in PickListener. More... | |
| class | NCMbtilesTileSource |
Local MBTiles pack of outdoor vector tiles (format=pbf or mvt). More... | |
| class | NCModelMapObject |
| A 3D model map object (Wavefront OBJ) placed on the location view. More... | |
| protocol | <NCPickListener> |
| Class is used to handle for picking objects on the location view. More... | |
| class | NCPointBatch |
| One object for a cloud of screen-space arrows. More... | |
| class | NCPointSprite |
One arrow in a point batch. Heading is degrees clockwise from north. size is pixels (the same unit as a symbol icon). More... | |
| class | NCPolygonMapObject |
| Represents a polygon object on the location view. More... | |
| class | NCPolylineMapObject |
| Represents a polyline object on the location view. More... | |
| class | NCRouteEndpoint |
| Route endpoint in WGS84 coordinates. More... | |
| class | NCRouteInstruction |
| Next instruction for a guidance banner. More... | |
| class | NCRouteLayer |
| Layer that renders a route on the map as traveled and remaining polylines. More... | |
| class | NCRouteSimulator |
| Walks a polyline at a constant speed for demos and guidance QA. More... | |
| protocol | <NCRouteSimulatorListener> |
Walk progress. onFinished follows the last sample. More... | |
| class | NCRouteSimulatorSample |
| One sample while walking a polyline. More... | |
| class | NCScreenRect |
| Rectangle on the device screen, in screen pixels (same units as ScreenPoint). More... | |
| protocol | <NCSublocationChangeListener> |
| Class is used to listen for sublocation change events. More... | |
| class | NCTileProvider |
| Outdoor tile source: vector MVT or raster imagery. More... | |
| class | NCTitleStyle |
| Style parameters for a map object title. More... | |
| class | NCUserLocationLayer |
| Layer that automatically renders current user position (arrow and accuracy circle) on the map. Provides visibility and anchoring controls. Referenced from LocationView. More... | |
| class | NCVisibleRegion |
| Trapezoid of the current viewport on the ground, in WGS84. More... | |
Typedefs | |
| typedef void(^ | NCCameraCallback) (BOOL completed) |
| Callback specified after the camera movement is stopped. | |
List of location view elements for Navigine iOS SDK.
| typedef void(^ NCCameraCallback) (BOOL completed) |
Callback specified after the camera movement is stopped.
Referenced from: LocationWindow.
Called when the move if finished.
| completed | determine whether the movement is finished or cancelled |
Swift code snippet:
Objective C code snippet:
Definition at line 32 of file NCCameraCallback.h.
| enum NCAnimationType |
Enum described animation functions.
Referenced from CircleMapObject, IconMapObject, LocationWindow.
Swift code snippet:
Objective C code snippet:
Definition at line 25 of file NCAnimationType.h.
Horizontal placement of the OSM attribution overlay.
Used with AttributionAlignment.
Definition at line 16 of file NCAttributionHorizontalAlignment.h.
Vertical placement of the OSM attribution overlay.
Used with AttributionAlignment.
| Enumerator | |
|---|---|
| NCAttributionVerticalAlignmentTOP | Align to the top edge of the map. |
| NCAttributionVerticalAlignmentBOTTOM | Align to the bottom edge of the map. |
Definition at line 16 of file NCAttributionVerticalAlignment.h.
| enum NCCameraUpdateReason |
Reason of the camera update.
Referenced from CameraListener.
| Enumerator | |
|---|---|
| NCCameraUpdateReasonGestures | user manipulation. For example: zoom, scroll, rotate, fling. |
| NCCameraUpdateReasonApplication | Application. By calling the LocationView::move methods. |
Definition at line 15 of file NCCameraUpdateReason.h.
| enum NCCapType |
Enum defining the type of cap for polyline ends.
Referenced from PolylineMapObject.
| Enumerator | |
|---|---|
| NCCapTypeBUTT | No points added to the end of the line. |
| NCCapTypeSQUARE | Two points added to make a square extension. |
| NCCapTypeROUND | Six points added in a fan to make a round cap. |
Definition at line 16 of file NCCapType.h.
| enum NCDebugFlag |
Debug visualization flags for the map view LocationWindow.
Swift code snippet:
Objective C code snippet:
| Enumerator | |
|---|---|
| NCDebugFlagNone | |
| NCDebugFlagInfos | |
| NCDebugFlagStats | |
| NCDebugFlagLabels | |
| NCDebugFlagDrawAllLabels | |
| NCDebugFlagSelectionBuffer | |
Definition at line 23 of file NCDebugFlag.h.
| enum NCGuidanceCameraMode |
Camera behavior while a route is shown.
FREE leaves the camera alone (also entered when the user pans or pinches). FOLLOWING looks along the route at the current progress. OVERVIEW fits the whole route into LocationWindow.focusRect (or the full view when focus rect is null).
Modes: Free / Following / Overview. A user gesture drops tracking.
| Enumerator | |
|---|---|
| NCGuidanceCameraModeFREE | |
| NCGuidanceCameraModeFOLLOWING | |
| NCGuidanceCameraModeOVERVIEW | |
Definition at line 21 of file NCGuidanceCameraMode.h.
| enum NCImageType |
Enum described supported image types.
Referenced from Image.
| Enumerator | |
|---|---|
| NCImageTypePNG | PNG format. |
| NCImageTypeSVG | SVG format. |
| NCImageTypeJPG | JPG format. |
Definition at line 15 of file NCImageType.h.
| enum NCJoinType |
Enum defining the type of join for polyline segments.
Referenced from PolylineMapObject.
| Enumerator | |
|---|---|
| NCJoinTypeMITER | No points added at the line join. |
| NCJoinTypeBEVEL | One point added to flatten the corner of a join. |
| NCJoinTypeROUND | Five points added in a fan to make a round outer join. |
Definition at line 16 of file NCJoinType.h.
| enum NCMapObjectType |
Enum defining the type of map object.
Referenced from MapObject.
| Enumerator | |
|---|---|
| NCMapObjectTypeICON | Icon. IconMapObject. |
| NCMapObjectTypePOLYGON | |
| NCMapObjectTypePOLYLINE | |
| NCMapObjectTypeDOTTEDPOLYLINE | DottedPolyline. DottedPolylineMapObject. |
| NCMapObjectTypeCIRCLE | Circle. CircleMapObject. |
| NCMapObjectTypeMODEL | Model. ModelMapObject. |
| NCMapObjectTypeCLUSTERMAPOBJECT | Icon cluster. ClusterMapObject. |
| NCMapObjectTypePOINTBATCH | Screen-space arrow cloud. PointBatch. |
Definition at line 16 of file NCMapObjectType.h.
| enum NCMapTheme |
Color theme of the outdoor vector basemap.
Indoor floor rasters, venue icons, and user map objects are unchanged.
Definition at line 16 of file NCMapTheme.h.
| enum NCOperatingMode |
Operating mode of the location view.
Controls whether the view shows indoor floors only, an outdoor vector basemap, or outdoor basemap with indoor building overlays.
| Enumerator | |
|---|---|
| NCOperatingModeIndoorOnly | Indoor floors only (no outdoor vector basemap). Camera stick-to-border / centering apply to the active floor plan. Swift code snippet: let modes: [NCOperatingMode] = [.indoorOnly, .outdoor, .outdoorIndoor]
print("Operating modes: \(modes.count)")
Objective C code snippet: NSArray<NSNumber *> *modes = @[@(NCOperatingModeIndoorOnly), @(NCOperatingModeOutdoor), @(NCOperatingModeOutdoorIndoor)];
NSLog(@"Operating modes: %lu", (unsigned long)modes.count);
|
| NCOperatingModeOutdoor | Outdoor vector basemap only (OSM MVT). |
| NCOperatingModeOutdoorIndoor | Outdoor vector basemap plus indoor building floor overlays. |
Definition at line 17 of file NCOperatingMode.h.
| enum NCPlacement |
Enum defining the placement mode for points along a polyline.
Referenced from DottedPolylineMapObject.
Definition at line 16 of file NCPlacement.h.
Rendering style for the remaining (not yet traveled) part of the route.
Referenced from RouteLayer.
| Enumerator | |
|---|---|
| NCRouteRemainingStyleSOLID | Continuous solid polyline. |
| NCRouteRemainingStyleDASHED | Dashed polyline (see setRemainingDashLength / setRemainingGapLength). |
| NCRouteRemainingStyleDOTTED | Points placed along the route (DottedPolylineMapObject). |
Definition at line 16 of file NCRouteRemainingStyle.h.
| enum NCTileKind |
Payload of a TileProvider.
vector is MVT and uses schema. raster is PNG, JPEG, or WebP imagery on LocationWindow.tileProvider; schema is ignored and outdoor vector geometry and labels are hidden. Indoor floors stay on top.
Definition at line 18 of file NCTileKind.h.
| enum NCTileSchema |
Vector tile schema of the outdoor basemap.
The built-in stylesheet covers Shortbread fully. OpenMapTiles and Mapbox Streets share the same programmatic rules with schema-aware filters (source layers, site/transit partition, extrude keys, admin levels). Verify new tile sets visually; see TILE_SCHEMA_FOLLOWUP.md.
Definition at line 19 of file NCTileSchema.h.
| enum NCTitleAnchor |
Anchor position of a map object title relative to its placement point.
Referenced from TitleStyle, MapObject.
Definition at line 16 of file NCTitleAnchor.h.
How the user-location layer moves the camera. Reduced to pedestrian follow: none, position, compass heading, course over ground. A map gesture returns the mode to NONE.
Referenced from UserLocationLayer.
| Enumerator | |
|---|---|
| NCUserLocationFollowModeNONE | Camera stays where the user left it. The arrow still rotates to heading. |
| NCUserLocationFollowModePOSITION | Camera follows the position and keeps its current rotation. |
| NCUserLocationFollowModeHEADING | Camera follows and rotates to the compass heading. |
| NCUserLocationFollowModeCOURSE | Camera follows and rotates to the direction of travel. Falls back to compass heading until the user has moved. |
Definition at line 19 of file NCUserLocationFollowMode.h.