Classes

The following classes are available globally.

  • Encapsulates request parameters for autocomplete requests.

    See more

    Declaration

    Swift

    public class AutocompleteConfig : NSObject
  • Encapsulates request parameters for place requests.

    See more

    Declaration

    Swift

    public class PlaceConfig : NSObject
  • Encapsulates request parameters for reverse geo requests.

    See more

    Declaration

    Swift

    public class ReverseConfig : NSObject
  • Encapsulates request parameters for search requests.

    See more

    Declaration

    Swift

    open class SearchConfig: NSObject
  • MapzenManager is a singleton object used for managing state between the various dependencies. Right now, it only manages the API key system.

    See more

    Declaration

    Swift

    open class MapzenManager: NSObject, MapzenManagerProtocol
  • RoutingController is a subclass of On The Road’s routing controller and is the main access point in the SDK for querying for routes.

    Note

    The routing controller provides API key management and as such is expected to be retrieved via the controller() function so everything gets setup correctly.
    See more

    Declaration

    Swift

    open class RoutingController: OTRRoutingController
  • Represents a response for a request executed by ‘MapzenSearch’

    See more

    Declaration

    Swift

    public class SearchResponse : NSObject
  • MZMapViewController is the main class utilized for displaying Mapzen maps on iOS. It aims to provide the full set of features a developer would want for mapping-related tasks, such as displaying routes, results of a search, or the device’s current location (and any combination therein.)

    MZMapViewController wraps the underlying TGMapViewController from Tangram-es and handles adding it to the view hierarchy. It exposes this in the tgViewController property and allows for additional customization there using the Tangram-es iOS framework. Documentation on that is available here.

    See more

    Declaration

    Swift

    open class MZMapViewController: UIViewController, LocationManagerDelegate
  • The LocationManager class is a wrapper around iOS’s built in location subsystem. It provides a simpler interface and customization options.

    See more

    Declaration

    Swift

    open class LocationManager: NSObject, CLLocationManagerDelegate
  • PeliasMapkitAnnotation is a data object class that provides MapKit compatible annotation objects. It conforms to MKAnnotation protocol and is also used by the Mapzen iOS SDK for annotations (markers in Tangram-es).

    See more

    Declaration

    Swift

    open class PeliasMapkitAnnotation: NSObject, MKAnnotation
  • Main entry point for interacting with Mapzen Search.

    See more

    Declaration

    Swift

    public class MapzenSearch : NSObject
  • Represents a search request’s rectangular boundary.

    See more

    Declaration

    Swift

    public class SearchRect: NSObject
  • Represents a search request’s circular boundary.

    See more

    Declaration

    Swift

    public class SearchCircle: NSObject
  • Structure used to represent a coordinate point.

    See more

    Declaration

    Swift

    public class GeoPoint: NSObject