Classes

The following classes are available globally.

  • A geographical address describing country, region, county and other information. This class is deprecated and will be removed in future SDK versions. Use GeocodingAddress instead. @deprecated

    See more

    Declaration

    Objective-C

    
    @interface MSFAddress : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFAddress : NSObject
  • A class describing animation effect.

    See more

    Declaration

    Objective-C

    
    @interface MSFAnimationStyle : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFAnimationStyle : NSObject
  • A builder for AnimationStyle instances.

    See more

    Declaration

    Objective-C

    
    @interface MSFAnimationStyleBuilder : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFAnimationStyleBuilder : NSObject
  • An abstract asset package class. Contains methods to list and load assets.

    See more

    Declaration

    Objective-C

    
    @interface MSFAssetPackage : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFAssetPackage : NSObject
  • A tile data source where each map tile is a seperate image file bundled with the application. The requests are generated using a template scheme, where tags in the basePath string are replaced with actual values. The following tags are supported: zoom, x, y, xflipped, yflipped, quadkey.

    For example, if basePath = “t{zoom}{x}{y}.png” and the requested tile has zoom == 2, x == 1 and y == 3, then the tile will be loaded from the following path: “t2_1_2.png”.

    See more

    Declaration

    Objective-C

    
    @interface MSFAssetTileDataSource : MSFTileDataSource

    Swift

    class MSFAssetTileDataSource : MSFTileDataSource
  • A helper class for managing application-bundled assets.

    See more

    Declaration

    Objective-C

    
    @interface MSFAssetUtils : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFAssetUtils : NSObject
  • A highly configurable popup implementation that allows the user to specify a title, description, colors, images, font sizes etc.

    See more

    Declaration

    Objective-C

    
    @interface MSFBalloonPopup : MSFPopup

    Swift

    class MSFBalloonPopup : MSFPopup
  • A button that can be used to add interactivity to balloon popups.

    See more

    Declaration

    Objective-C

    
    @interface MSFBalloonPopupButton : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFBalloonPopupButton : NSObject
  • A container class that provides information about a click performed on a BalloonPopupButton element.

    See more

    Declaration

    Objective-C

    
    @interface MSFBalloonPopupButtonClickInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFBalloonPopupButtonClickInfo : NSObject
  • A style for balloon popup buttons. Contains attributes for configuring how the balloon popup is drawn on the screen.

    See more

    Declaration

    Objective-C

    
    @interface MSFBalloonPopupButtonStyle : MSFStyle

    Swift

    class MSFBalloonPopupButtonStyle : MSFStyle
  • A builder class for BalloonPopupButtonStyle.

    See more

    Declaration

    Objective-C

    
    @interface MSFBalloonPopupButtonStyleBuilder : MSFStyleBuilder

    Swift

    class MSFBalloonPopupButtonStyleBuilder : MSFStyleBuilder
  • A listener class for balloon popups. The listener receives events about clicked buttons, etc.

    See more

    Declaration

    Objective-C

    
    @interface MSFBalloonPopupEventListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFBalloonPopupEventListener : NSObject
  • Margins info for balloon popup.

    See more

    Declaration

    Objective-C

    
    @interface MSFBalloonPopupMargins : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFBalloonPopupMargins : NSObject
  • A style for balloon popups. Contains attributes for configuring how the balloon popup is drawn on the screen.

    See more

    Declaration

    Objective-C

    
    @interface MSFBalloonPopupStyle : MSFPopupStyle

    Swift

    class MSFBalloonPopupStyle : MSFPopupStyle
  • A builder class for BalloonPopupStyle.

    See more

    Declaration

    Objective-C

    
    @interface MSFBalloonPopupStyleBuilder : MSFPopupStyleBuilder

    Swift

    class MSFBalloonPopupStyleBuilder : MSFPopupStyleBuilder
  • A platform independent main view class for all mapping operations. Allows the user to manipulate the map and access various related components.

    See more

    Declaration

    Objective-C

    
    @interface MSFBaseMapView : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFBaseMapView : NSObject
  • A base class for billboard elements that can be displayed on the map. Billboards can either be given a concrete position on the map or be attached to other billboards.

    See more

    Declaration

    Objective-C

    
    @interface MSFBillboard : MSFVectorElement

    Swift

    class MSFBillboard : MSFVectorElement
  • A base class for BillboardStyle subclasses.

    See more

    Declaration

    Objective-C

    
    @interface MSFBillboardStyle : MSFStyle

    Swift

    class MSFBillboardStyle : MSFStyle
  • A base class for BillboardStyleBuilder subclasses.

    See more

    Declaration

    Objective-C

    
    @interface MSFBillboardStyleBuilder : MSFStyleBuilder

    Swift

    class MSFBillboardStyleBuilder : MSFStyleBuilder
  • A wrapper class for binary data (Blob).

    See more

    Declaration

    Objective-C

    
    @interface MSFBinaryData : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFBinaryData : NSObject
  • A class that provides the functionality to store, compress, uncompress and resize basic image formats. Currently supported formats are png and jpeg. Upon loading compressed images will be converted to alpha premultiplied uncompressed bitmaps of various image formats.

    See more

    Declaration

    Objective-C

    
    @interface MSFBitmap : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFBitmap : NSObject
  • Tile data source that uses given bitmap with two, three or four control points define a raster overlay. Note: if two points are given, conformal transformation is calculated. If three points are given, affine transformation is calculated. In case of four points, perspective transformation is used.

    See more

    Declaration

    Objective-C

    
    @interface MSFBitmapOverlayRasterTileDataSource : MSFTileDataSource

    Swift

    class MSFBitmapOverlayRasterTileDataSource : MSFTileDataSource
  • A helper class for loading bitmaps and converting Bitmaps to UIImages an vice versa.

    See more

    Declaration

    Objective-C

    
    @interface MSFBitmapUtils : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFBitmapUtils : NSObject
  • An asset package based on the assets bundled with the application. On Android these live inside the APK, where no file path reaches them - which is what separates this from DirAssetPackage; on iOS and Windows they are the app bundle’s own files. Note: assets and directories with names starting with ‘.’ are ignored.

    See more

    Declaration

    Objective-C

    
    @interface MSFBundleAssetPackage : MSFAssetPackage

    Swift

    class MSFBundleAssetPackage : MSFAssetPackage
  • A tile data source that loads tiles from another tile data source and caches them.

    See more

    Declaration

    Objective-C

    
    @interface MSFCacheTileDataSource : MSFTileDataSource

    Swift

    class MSFCacheTileDataSource : MSFTileDataSource
  • CartoCSS style definition for vector tiles. Style sets contain optional asset package, fonts and other resources can be loaded from the asset package.

    See more

    Declaration

    Objective-C

    
    @interface MSFCartoCSSStyleSet : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFCartoCSSStyleSet : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFStringCartoCSSStyleSetMap : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(id)initWithArg0: (MSFStringCartoCSSStyleSetMap*)arg0;
    -(unsigned int)size;
    -(BOOL)empty;
    -(void)clear;
    -(MSFCartoCSSStyleSet*)get: (NSString*)key;
    -(void)set: (NSString*)key x: (MSFCartoCSSStyleSet*)x;
    -(void)del: (NSString*)key;
    -(BOOL)has_key: (NSString*)key;
    -(NSString*)get_key: (unsigned int)idx;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFStringCartoCSSStyleSetMap : NSObject
  • A curve drawn on the sky.

    Two ways to define one, and the first is what a daily path is:

    • as a CIRCLE about an axis: every direction at a fixed angle from the axis. The daily path of a distant body is exactly this - the axis is the rotation axis and the angle is the complement of the declination - so an application draws it with an axis and one angle rather than by sampling positions through the day.
    • as an explicit list of directions, for a path that is not a circle: a satellite track, a flight plan, a sampled trajectory.

    The curve is generated once and drawn as a line strip; its width is in pixels, so it stays legible at any field of view.

    See more

    Declaration

    Objective-C

    
    @interface MSFCelestialArc : MSFCelestialObject

    Swift

    class MSFCelestialArc : MSFCelestialObject
  • Reports clicks on the objects of a CelestialLayer.

    See more

    Declaration

    Objective-C

    
    @interface MSFCelestialEventListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFCelestialEventListener : NSObject
  • A layer of objects that live in the sky rather than on the map: anything placed by a direction, an object overhead, or a curve traced across the sky.

    Nothing here is tied to the map’s coordinates unless an object asks for it (see CelestialObject::setPosition), so panning the map does not drag the sky along. The layer is drawn in its place in the layer order, so adding it FIRST puts every object behind the map and lets terrain hide what is behind a ridge, which is what an object in the sky wants.

    Objects are batched by bitmap, so a catalogue of thousands sharing one bitmap - or none - costs a single draw call.

    See more

    Declaration

    Objective-C

    
    @interface MSFCelestialLayer : MSFLayer

    Swift

    class MSFCelestialLayer : MSFLayer
  • A base class for objects that are placed in the sky rather than on the map.

    An object is anchored in one of two ways:

    • by DIRECTION (azimuth and altitude), with an optional distance. A distance of 0 means infinitely far: the object keeps its direction whatever the camera does, which is what a body at an effectively infinite distance needs. A finite distance gives real parallax and is what an aircraft or a satellite overhead needs.
    • by geographic POSITION plus an altitude in meters, for an object that belongs to a place on the map but is above it.

    Objects are hit-tested against the touch ray like any other layer’s elements, so a click on one is reported through the layer’s listener, and terrain in front of it wins the hit.

    See more

    Declaration

    Objective-C

    
    @interface MSFCelestialObject : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFCelestialObject : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFCelestialObjectVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFCelestialObject*)x;
    -(MSFCelestialObject*)get: (int)i;
    -(void)set: (int)i val: (MSFCelestialObject*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFCelestialObjectVector : NSObject
  • A flat, camera-facing object in the sky: a disc, a point of light, an icon overhead.

    Its size is given either as an ANGULAR size in degrees - which is what a real body has, so it grows and shrinks with the field of view like everything else in the world - or as a fixed SCREEN size in pixels, which is what an icon or a marker wants. A sprite with no bitmap is drawn as a soft disc in its own color, which is enough for most bodies and costs no texture at all.

    See more

    Declaration

    Objective-C

    
    @interface MSFCelestialSprite : MSFCelestialObject

    Swift

    class MSFCelestialSprite : MSFCelestialObject
  • A basic click information object. Contains information about click type, duration.

    See more

    Declaration

    Objective-C

    
    @interface MSFClickInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFClickInfo : NSObject
  • A special callback interface for building cluster elements from set of existing vector element.

    See more

    Declaration

    Objective-C

    
    @interface MSFClusterElementBuilder : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFClusterElementBuilder : NSObject
  • A vector layer that supports clustering point-type features. A Pairwise centroid hierarchical clustering algorithm is used internally.

    See more

    Declaration

    Objective-C

    
    @interface MSFClusteredVectorLayer : MSFVectorLayer

    Swift

    class MSFClusteredVectorLayer : MSFVectorLayer
  • A color represented in RGBA space, alpha is expected to be non-premultiplied.

    See more

    Declaration

    Objective-C

    
    @interface MSFColor : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFColor : NSObject
  • A tile data source that combines two data sources (usually offline and online) and selects tiles based on zoom level. All requests below specified zoom level are directed to the first data source and all requests at or above specified zoom level are directed to the second data source.

    See more

    Declaration

    Objective-C

    
    @interface MSFCombinedTileDataSource : MSFTileDataSource

    Swift

    class MSFCombinedTileDataSource : MSFTileDataSource
  • Compiled style set definition for vector tiles. Compiled style sets should contains either Mapnik XML stylesheets with all required assets or CartoCSS JSON-based project files.

    See more

    Declaration

    Objective-C

    
    @interface MSFCompiledStyleSet : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFCompiledStyleSet : NSObject
  • A VectorTileLayer that can weave named external data sources (raster, hillshade, merged vector / contour) into the master CartoCSS style’s layer order.

    Each external source is placed at the position of a matching layer name in the style project’s “layers” array, and configured by a matching ‘#name { … }’ block in the CartoCSS (e.g. raster-opacity, hillshade-exaggeration), including zoom- and style-parameter- parameter-dependent expressions. Raster and hillshade sources are rendered as their own draped child layers interleaved between the master style layers; merged vector sources are folded into the master source and styled normally.

    Sources can be added and removed at runtime.

    See more

    Declaration

    Objective-C

    
    @interface MSFCompositeVectorTileLayer : MSFVectorTileLayer

    Swift

    class MSFCompositeVectorTileLayer : MSFVectorTileLayer
  • A tile data source that generates vector contour lines on the fly from an RGB-encoded elevation (DEM) tile data source. The wrapped elevation data source is shared (e.g. with a HillshadeRasterTileLayer) so terrain tiles are fetched only once.

    The generated tiles are standard Mapbox Vector Tiles containing a single line layer (default name “contour”). Each contour feature carries two attributes:

    • ‘ele’: the contour elevation in meters.
    • ‘div’: the largest “nice” divisor of the elevation (1000, 500, 250, 200, 100, 50, 20 or 10), matching the gdal_contour based pipeline. This lets CartoCSS filter contour importance by elevation, e.g. #contour[div=500][zoom>=12] { … }.

    Attach the source to a normal VectorTileLayer to render lines and labels ([ele] as the label text) fully from the decoder style.

    Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFContourTileDataSource : MSFTileDataSource

    Swift

    class MSFContourTileDataSource : MSFTileDataSource
  • View specific state determined by the culling process. This includes convex envelope of the visible area, view frustum, tiles and camera state.

    See more

    Declaration

    Objective-C

    
    @interface MSFCullState : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFCullState : NSObject
  • A popup with user defined handler. The handler is responsible for drawing the bitmap for the popup and can also respond to touch event.

    See more

    Declaration

    Objective-C

    
    @interface MSFCustomPopup : MSFPopup

    Swift

    class MSFCustomPopup : MSFPopup
  • A handler class for custom popups. The handler is responsible for drawing the popup and reponding to click events.

    See more

    Declaration

    Objective-C

    
    @interface MSFCustomPopupHandler : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFCustomPopupHandler : NSObject
  • A raster tile layer that renders each tile through a custom GLSL fragment shader (“filter”). The data source can be any raster TileDataSource - most commonly an RGB-encoded elevation (terrarium/mapbox) source, but any raster works. This is the general form of HillshadeRasterTileLayer, which specializes it for DEM data (normal map + hillshade + contours).

    The shader must define: vec4 applyLighting(lowp vec4 color, mediump vec3 normal, mediump vec3 surfaceNormal, mediump float intensity) and it can use these helpers (injected before it): getRawColor() - the untouched RGBA texel of the source tile at this fragment getMapZoom() - the current fractional map zoom (for per-zoom logic) plus the shared uniforms/varyings vUV (tile uv), uUVScale (texture size) and uBitmap. It must return a PREMULTIPLIED color (rgb already multiplied by alpha); return alpha 0 where the output should be transparent so layers below show through.

    Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFCustomRasterTileLayer : MSFRasterTileLayer

    Swift

    class MSFCustomRasterTileLayer : MSFRasterTileLayer
  • An asset package based on a file system directory. Assets are read directly from the directory, thus the assets can be modified on the fly without repackaging them into a ZIP archive. This is mostly useful for style development. Note: assets and directories with names starting with ‘.’ are ignored.

    See more

    Declaration

    Objective-C

    
    @interface MSFDirAssetPackage : MSFAssetPackage

    Swift

    class MSFDirAssetPackage : MSFAssetPackage
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFDoubleVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned long)size;
    -(unsigned long)capacity;
    -(void)reserve: (unsigned long)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (double)x;
    -(double)get: (int)i;
    -(void)set: (int)i val: (double)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFDoubleVector : NSObject
  • An implementation of Ramer-Douglas-Peucker algorithm for geometry simplification. Simplifier works on lines and polygons. Simplification is done in two passes - first pass uses fast Radial Distance vertex rejection, second pass uses Ramer-Douglas-Peuckerworst algorithm (with worst case quadratic complexity).

    See more

    Declaration

    Objective-C

    
    @interface MSFDouglasPeuckerGeometrySimplifier : MSFGeometrySimplifier

    Swift

    class MSFDouglasPeuckerGeometrySimplifier : MSFGeometrySimplifier
  • EPSG:3857 is a Spherical Mercator projection coordinate system popularized by web services such as Google and later OpenStreetMap. Z-coordinate denotes height in meters.

    See more

    Declaration

    Objective-C

    
    @interface MSFEPSG3857 : MSFProjection

    Swift

    class MSFEPSG3857 : MSFProjection
  • EPSG:4326 is a projection coordinate system that uses WGS84 coordinates (longitude/latitude). Z-coordinate denotes height in meters.

    See more

    Declaration

    Objective-C

    
    @interface MSFEPSG4326 : MSFProjection

    Swift

    class MSFEPSG4326 : MSFProjection
  • A vector layer that supports editing its contents. Editing requires registered listener.

    See more

    Declaration

    Objective-C

    
    @interface MSFEditableVectorLayer : MSFVectorLayer

    Swift

    class MSFEditableVectorLayer : MSFVectorLayer
  • Undocumented

    Declaration

    Objective-C

    @interface SWIGTYPE_p_std__shared_ptrT_massif__TileDataSource_t : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    
    @end

    Swift

    class SWIGTYPE_p_std__shared_ptrT_massif__TileDataSource_t : NSObject
  • Undocumented

    Declaration

    Objective-C

    @interface SWIGTYPE_p_std__shared_ptrT_massif__TileData_t : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    
    @end

    Swift

    class SWIGTYPE_p_std__shared_ptrT_massif__TileData_t : NSObject
  • Abstract base class for raster elevation decoders.

    See more

    Declaration

    Objective-C

    
    @interface MSFElevationDecoder : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFElevationDecoder : NSObject
  • What an app implements to receive facade events.

    A director, so a Java or Objective-C subclass works. The C ABI uses a function pointer for the same job.

    See more

    Declaration

    Objective-C

    
    @interface MSFEventListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFEventListener : NSObject
  • A feature consisting of geometry and properties.

    See more

    Declaration

    Objective-C

    
    @interface MSFFeature : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFFeature : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFFeatureVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFFeature*)x;
    -(MSFFeature*)get: (int)i;
    -(void)set: (int)i val: (MSFFeature*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFFeatureVector : NSObject
  • A feature builder for constructing individual features.

    See more

    Declaration

    Objective-C

    
    @interface MSFFeatureBuilder : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFFeatureBuilder : NSObject
  • A collection of features.

    See more

    Declaration

    Objective-C

    
    @interface MSFFeatureCollection : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFFeatureCollection : NSObject
  • A search service for finding features from a specified feature collection.

    See more

    Declaration

    Objective-C

    
    @interface MSFFeatureCollectionSearchService : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFFeatureCollectionSearchService : NSObject
  • The atmosphere: the haze distant ground fades into, the colours it carries up into the sky, and the stars beyond it. Attached to the map via Options::setFogOptions.

    Modelled on the Mapbox “fog” style property, so a value tuned for a Mapbox style transfers directly: Range is RangeStart/RangeEnd, Color is color, HighColor is high-color, SpaceColor is space-color, HorizonBlend is horizon-blend, VerticalRange is vertical-range and StarIntensity is star-intensity.

    Enabled is the switch: turning it off keeps every value configured, so a UI toggle does not have to drive a colour or a range through zero and back. With it on, the fog still needs a Color with a non-zero alpha over a positive range - the default colour is transparent, so attaching a FogOptions changes nothing until a colour is set.

    Ranges are in multiples of the camera-to-focus distance, not in meters: that distance is a function of the zoom alone, so one setting holds at every zoom instead of needing a per-zoom expression. At the default 0.8 to 8, the fog starts just in front of the focus point and saturates well past the horizon.

    The whole blend can be replaced with setShaderSource, which reaches the tile content, the background plane and the sky alike - see that method.

    Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFFogOptions : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFFogOptions : NSObject
  • A GeoJSON parser. Parser supports Geometry, Feature and FeatureCollection inputs.

    See more

    Declaration

    Objective-C

    
    @interface MSFGeoJSONGeometryReader : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFGeoJSONGeometryReader : NSObject
  • A GeoJSON writer. Generates human-readable GeoJSON representation of the geometry, feature or feature collection. Supports both 2D and 3D coordinate serialization.

    See more

    Declaration

    Objective-C

    
    @interface MSFGeoJSONGeometryWriter : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFGeoJSONGeometryWriter : NSObject
  • A tile data source that builds vector tiles from GeoJSON inputs.

    See more

    Declaration

    Objective-C

    
    @interface MSFGeoJSONVectorTileDataSource : MSFTileDataSource

    Swift

    class MSFGeoJSONVectorTileDataSource : MSFTileDataSource
  • A geographical address describing country, region, county and other information.

    See more

    Declaration

    Objective-C

    
    @interface MSFGeocodingAddress : MSFAddress

    Swift

    class MSFGeocodingAddress : MSFAddress
  • A geocoding request describing text-based query and other optional constraints.

    See more

    Declaration

    Objective-C

    
    @interface MSFGeocodingRequest : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFGeocodingRequest : NSObject
  • A geocoding result object describing address, features (geometry) and rank of the result.

    See more

    Declaration

    Objective-C

    
    @interface MSFGeocodingResult : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFGeocodingResult : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFGeocodingResultVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFGeocodingResult*)x;
    -(MSFGeocodingResult*)get: (int)i;
    -(void)set: (int)i val: (MSFGeocodingResult*)val;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFGeocodingResultVector : NSObject
  • An abstract base class for geocoding services.

    See more

    Declaration

    Objective-C

    
    @interface MSFGeocodingService : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFGeocodingService : NSObject
  • A base class for all geometry types.

    See more

    Declaration

    Objective-C

    
    @interface MSFGeometry : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFGeometry : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFGeometryVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFGeometry*)x;
    -(MSFGeometry*)get: (int)i;
    -(void)set: (int)i val: (MSFGeometry*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFGeometryVector : NSObject
  • A collection of multiple geometries that can be displayed on the map.

    See more

    Declaration

    Objective-C

    
    @interface MSFGeometryCollection : MSFVectorElement

    Swift

    class MSFGeometryCollection : MSFVectorElement
  • A style for geometry collections. Contains styles for points, lines, polygons.

    See more

    Declaration

    Objective-C

    
    @interface MSFGeometryCollectionStyle : MSFStyle

    Swift

    class MSFGeometryCollectionStyle : MSFStyle
  • A builder class for GeometryCollectionStyle.

    See more

    Declaration

    Objective-C

    
    @interface MSFGeometryCollectionStyleBuilder : MSFStyleBuilder

    Swift

    class MSFGeometryCollectionStyleBuilder : MSFStyleBuilder
  • Base class for geometry simplifiers.

    See more

    Declaration

    Objective-C

    
    @interface MSFGeometrySimplifier : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFGeometrySimplifier : NSObject
  • A tile data source that loads tiles using a HTTP connection. The requests are generated using a template scheme, where tags in the baseURL string are replaced with actual values. The following tags are supported: s, z, zoom, x, y, xflipped, yflipped, quadkey, frame.

    For example, if baseURL = “https://tile.openstreetmap.org/{zoom}/{x}/{y}.png” and the requested tile has zoom = 2, x = 1 and y = 3, then the tile will be loaded from the following URL: “https://tile.openstreetmap.org/2/1/3.png”.

    This data source also supports PMTiles archives hosted over HTTP. If the URL ends with .pmtiles or starts with pmtiles://, the data source will automatically use HTTP range requests to fetch tiles from the PMTiles archive.

    See more

    Declaration

    Objective-C

    
    @interface MSFHTTPTileDataSource : MSFTileDataSource

    Swift

    class MSFHTTPTileDataSource : MSFTileDataSource
  • A tile layer that displays an overlay hillshading. Should be used together with corresponding data source that encodes height in RGBA image. The shading is based on the direction of the main light source, which can be configured using Options class. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFHillshadeRasterTileLayer : MSFCustomRasterTileLayer

    Swift

    class MSFHillshadeRasterTileLayer : MSFCustomRasterTileLayer
  • IOSUtils is an internal class of the SDK. It is not intended for public usage.

    See more

    Declaration

    Objective-C

    
    @interface MSFIOSUtils : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFIOSUtils : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFIntVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned long)size;
    -(unsigned long)capacity;
    -(void)reserve: (unsigned long)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (int)x;
    -(int)get: (int)i;
    -(void)set: (int)i val: (int)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFIntVector : NSObject
  • An abstract billboard element with a dynamically drawn bitmap that can be displayed on the map.

    See more

    Declaration

    Objective-C

    
    @interface MSFLabel : MSFBillboard

    Swift

    class MSFLabel : MSFBillboard
  • A style for labels. Contains attributes for configuring how the label is drawn on the screen.

    See more

    Declaration

    Objective-C

    
    @interface MSFLabelStyle : MSFBillboardStyle

    Swift

    class MSFLabelStyle : MSFBillboardStyle
  • A builder class for LabelStyle.

    See more

    Declaration

    Objective-C

    
    @interface MSFLabelStyleBuilder : MSFBillboardStyleBuilder

    Swift

    class MSFLabelStyleBuilder : MSFBillboardStyleBuilder
  • An abstract base class for all layers.

    See more

    Declaration

    Objective-C

    
    @interface MSFLayer : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFLayer : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFLayerVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFLayer*)x;
    -(MSFLayer*)get: (int)i;
    -(void)set: (int)i val: (MSFLayer*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFLayerVector : NSObject
  • Container for all raster and vector layers of the map view.

    The order in which layers are added is important for vector elements like Points, Lines and Polygons. For these elements the layer ordering defines their draw order. Other elements like NMLModels and Polygon3Ds are z ordered and are drawn using the depth buffer. For Billboard elements like Markers and Labels, the layer ordering is unimportant, because they will be sorted from back to front and drawn in that order on top of all other vector elements.

    See more

    Declaration

    Objective-C

    
    @interface MSFLayers : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFLayers : NSObject
  • Directional light (sun) configuration, attached to the map via Options::setLightOptions. The sun direction drives the sky shader, terrain surface lighting and shadows. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFLightOptions : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFLightOptions : NSObject
  • One point on a day-cycle light curve: the scene light at a given sun height.

    A list of these IS the “formula” that turns an hour into a look. Everything downstream is derived from the two lights it names - the colour every 2D surface is graded by, the sun and ambient the 3D buildings and the terrain are lit with, and the brightness a style reads as view::brightness - so replacing the list replaces the whole map’s palette at every hour, in 2D and in 3D, without a second theme and without a re-decode.

    The default list is MapBox Standard’s own four light setups, which is why a converted Standard renders as its day preset at noon and its dusk preset at 19h.

    See more

    Declaration

    Objective-C

    
    @interface MSFLightStop : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFLightStop : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFLightStopVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFLightStop*)x;
    -(MSFLightStop*)get: (int)i;
    -(void)set: (int)i val: (MSFLightStop*)val;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFLightStopVector : NSObject
  • A geometric line string that can be displayed on the map.

    See more

    Declaration

    Objective-C

    
    @interface MSFLine : MSFVectorElement

    Swift

    class MSFLine : MSFVectorElement
  • Line geometry defined by a list of map positions.

    See more

    Declaration

    Objective-C

    
    @interface MSFLineGeometry : MSFGeometry

    Swift

    class MSFLineGeometry : MSFGeometry
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFLineGeometryVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFLineGeometry*)x;
    -(MSFLineGeometry*)get: (int)i;
    -(void)set: (int)i val: (MSFLineGeometry*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFLineGeometryVector : NSObject
  • A style for lines. Contains attributes for configuring how the line is drawn on the screen.

    See more

    Declaration

    Objective-C

    
    @interface MSFLineStyle : MSFStyle

    Swift

    class MSFLineStyle : MSFStyle
  • A builder class for LineStyle.

    See more

    Declaration

    Objective-C

    
    @interface MSFLineStyleBuilder : MSFStyleBuilder

    Swift

    class MSFLineStyleBuilder : MSFStyleBuilder
  • A modifiable vector data source that keeps all the elements in the local memory. Optionally vector elements can be kept in a spatial index and only the visible elements get rendered. There can be a small delay before previously invisible elements become visible after view changes. This makes it suitable for cases where there are a large number of static vector elements.

    The draw order of vector elements within the data source is undefined.

    See more

    Declaration

    Objective-C

    
    @interface MSFLocalVectorDataSource : MSFVectorDataSource

    Swift

    class MSFLocalVectorDataSource : MSFVectorDataSource
  • A diagnostic log for various SDK events.

    See more

    Declaration

    Objective-C

    
    @interface MSFLog : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFLog : NSObject
  • Listener for events logged by the SDK.

    See more

    Declaration

    Objective-C

    
    @interface MSFLogEventListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFLogEventListener : NSObject
  • A tile data source that loads tiles from a local Sqlite database. The database must contain table “tiles” with the following fields: “zoom_level” (tile zoom level), “tile_column” (tile x coordinate), “tile_row” (tile y coordinate), “tile_data” (compressed tile image).

    See more

    Declaration

    Objective-C

    
    @interface MSFMBTilesTileDataSource : MSFTileDataSource

    Swift

    class MSFMBTilesTileDataSource : MSFTileDataSource
  • Decoder for vector tiles in MapBox format.

    See more

    Declaration

    Objective-C

    
    @interface MSFMBVectorTileDecoder : MSFVectorTileDecoder

    Swift

    class MSFMBVectorTileDecoder : MSFVectorTileDecoder
  • A builder that cuts a navigation maneuver arrow out of a route geometry.

    The arrow is the piece of the route around the maneuver point - LengthBefore metres of the leg the driver is on, LengthAfter metres of the leg it turns into - plus the point where it ends and the compass bearing it ends with.

    The result is a FeatureCollection in WGS84 holding ONE line, running the way the driver goes. The head is drawn by the style, not by this: ‘line-end-arrow’ puts an arrow on the last vertex of a line, sized in multiples of the line width and extruded with the line, so the head keeps its screen size and a casing rule outlines the whole arrow evenly.

    See more

    Declaration

    Objective-C

    
    @interface MSFManeuverArrowBuilder : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFManeuverArrowBuilder : NSObject
  • A container class that defines an axis aligned cuboid on the map using minimum and maximum map positions. Valid ranges for map bounds depend on the projection used.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapBounds : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFMapBounds : NSObject
  • A decoder for MapBox encoded elevation tiles

    See more

    Declaration

    Objective-C

    
    @interface MSFMapBoxElevationDataDecoder : MSFElevationDecoder

    Swift

    class MSFMapBoxElevationDataDecoder : MSFElevationDecoder
  • An online geocoding service that uses MapBox geocoder. As the class connects to an external (non-Massif) service, this class is provided “as-is”, future changes from the service provider may not be compatible with the implementation. Geocoding and reverse geocoding perform network requests and must be executed in non-UI background thread. Be sure to read the Terms and Conditions of the MapBox service to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapBoxOnlineGeocodingService : MSFGeocodingService

    Swift

    class MSFMapBoxOnlineGeocodingService : MSFGeocodingService
  • An online reverse geocoding service that uses MapBox geocoder. As the class connects to an external (non-Massif) service, this class is provided “as-is”,
    future changes from the service provider may not be compatible with the implementation. Geocoding and reverse geocoding perform network requests and must be executed in non-UI background thread. Be sure to read the Terms and Conditions of the MapBox service to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapBoxOnlineReverseGeocodingService : MSFReverseGeocodingService

    Swift

    class MSFMapBoxOnlineReverseGeocodingService : MSFReverseGeocodingService
  • A container class that provides information about a click performed on an empty area of the map.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapClickInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFMapClickInfo : NSObject
  • A bounding area on the map. Can be defined by a map bounds object or by a convex bounding polygon. This class is intended for conservative object area estimation and fast intersection testing.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapEnvelope : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFMapEnvelope : NSObject
  • Listener for events like map clicks etc.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapEventListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFMapEventListener : NSObject
  • A container class that provides information about a map interaction performed from UI.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapInteractionInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFMapInteractionInfo : NSObject
  • The payload of the facade’s map.moved and map.stable events. The object API takes the same value as a plain argument; this exists because a facade event carries an object or nothing.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapMoveInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFMapMoveInfo : NSObject
  • A double precision map position defined using three coordinates. X and y coordinates denote positions on the map, while z coordinate is height from the ground plane. Actual units for x, y and z depend on map projection. For example, in EPSG:4326 x is used for latitude, y for longitude and z for height in meters.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapPos : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFMapPos : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFMapPosVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFMapPos*)x;
    -(MSFMapPos*)get: (int)i;
    -(void)set: (int)i val: (MSFMapPos*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFMapPosVector : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFMapPosVectorVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFMapPosVector*)x;
    -(MSFMapPosVector*)get: (int)i;
    -(void)set: (int)i val: (MSFMapPosVector*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFMapPosVectorVector : NSObject
  • A container class that defines a half closed range of values using minimum and maximum values.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapRange : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFMapRange : NSObject
  • Undocumented

    Declaration

    Objective-C

    @interface SWIGTYPE_p_massif__TerrainRenderer : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    
    @end

    Swift

    class SWIGTYPE_p_massif__TerrainRenderer : NSObject
  • The map renderer component.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapRenderer : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFMapRenderer : NSObject
  • Listener for specific map renderer events.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapRendererListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFMapRendererListener : NSObject
  • An immutable map tile, used by tile layers for representing small pieces of map at different zoom levels and coordinates.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapTile : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFMapTile : NSObject
  • An online tile data source that connects to MapTiler Cloud tile server. This data source should be used with vector tiles, though by customizing service URL could be used with raster tiles also. Be sure to read the Terms and Conditions of your MapTiler service provider to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapTilerOnlineTileDataSource : MSFTileDataSource

    Swift

    class MSFMapTilerOnlineTileDataSource : MSFTileDataSource
  • A double precision map vector defined by 3 coordinates.

    See more

    Declaration

    Objective-C

    
    @interface MSFMapVec : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFMapVec : NSObject
  • A billboard element with a static bitmap that can be displayed on the map.

    See more

    Declaration

    Objective-C

    
    @interface MSFMarker : MSFBillboard

    Swift

    class MSFMarker : MSFBillboard
  • A style for markers. Contains attributes for configuring how the marker is drawn on the screen.

    See more

    Declaration

    Objective-C

    
    @interface MSFMarkerStyle : MSFBillboardStyle

    Swift

    class MSFMarkerStyle : MSFBillboardStyle
  • A builder class for MarkerStyle.

    See more

    Declaration

    Objective-C

    
    @interface MSFMarkerStyleBuilder : MSFBillboardStyleBuilder

    Swift

    class MSFMarkerStyleBuilder : MSFBillboardStyleBuilder
  • The facade API, as an app sees it.

    Experimental and incomplete: only the property verbs exist so far, and they address the default context. See https://github.com/massif-maps/MassifMaps/issues/146.

    Every call returns a result code rather than throwing, because this is a verification surface rather than the final binding.

    NO SDK TYPE APPEARS IN ANY SIGNATURE HERE, and that is the invariant to keep (#159): handles, strings, numbers and the facade’s own EventListener/UiDispatcher, nothing else. It is what lets the C ABI carry the whole class and a hand-written binding do the same. Anything that must name an SDK type belongs in MassifInterop; scripts/check-facade-abi.sh fails the build when one lands here.

    See more

    Declaration

    Objective-C

    
    @interface MSFMassifApi : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFMassifApi : NSObject
  • The bridge between the object API and the facade.

    Split off MassifApi so that class names no SDK type at all: a binding written by hand - JNI, , N-API, dart:ffi - can carry the whole of MassifApi, and the C ABI already does. Everything here names an SDK class in its signature, so it is only callable from a platform that already holds the object API, which is exactly what “interop” means (#159).

    A binding built on the facade alone never needs this class. An app migrating to the facade a piece at a time needs it for as long as the migration lasts.

    See more

    Declaration

    Objective-C

    
    @interface MSFMassifInterop : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFMassifInterop : NSObject
  • A tile data source that loads tiles from another tile data source and caches them in memory. This cache is not persistent, tiles will be cleared once the application closes. Default cache capacity is 6MB.

    See more

    Declaration

    Objective-C

    
    @interface MSFMemoryCacheTileDataSource : MSFCacheTileDataSource

    Swift

    class MSFMemoryCacheTileDataSource : MSFCacheTileDataSource
  • A tile data source that merges two MBVT/protobuf data sources into one. It is assumed that the layer ids from the two sources are distinct.

    See more

    Declaration

    Objective-C

    
    @interface MSFMergedMBVTTileDataSource : MSFTileDataSource

    Swift

    class MSFMergedMBVTTileDataSource : MSFTileDataSource
  • A generic multi geometry container.

    See more

    Declaration

    Objective-C

    
    @interface MSFMultiGeometry : MSFGeometry

    Swift

    class MSFMultiGeometry : MSFGeometry
  • A multiline container.

    See more

    Declaration

    Objective-C

    
    @interface MSFMultiLineGeometry : MSFMultiGeometry

    Swift

    class MSFMultiLineGeometry : MSFMultiGeometry
  • A geocoding service that uses custom geocoding database files. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFMultiOSMOfflineGeocodingService : MSFGeocodingService

    Swift

    class MSFMultiOSMOfflineGeocodingService : MSFGeocodingService
  • A reverse geocoding service that uses custom geocoding database files. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFMultiOSMOfflineReverseGeocodingService
        : MSFReverseGeocodingService

    Swift

    class MSFMultiOSMOfflineReverseGeocodingService : MSFReverseGeocodingService
  • A multipoint container.

    See more

    Declaration

    Objective-C

    
    @interface MSFMultiPointGeometry : MSFMultiGeometry

    Swift

    class MSFMultiPointGeometry : MSFMultiGeometry
  • A multipolygon container.

    See more

    Declaration

    Objective-C

    
    @interface MSFMultiPolygonGeometry : MSFMultiGeometry

    Swift

    class MSFMultiPolygonGeometry : MSFMultiGeometry
  • A tile data source that handles multiple data sources.

    See more

    Declaration

    Objective-C

    
    @interface MSFMultiTileDataSource : MSFTileDataSource

    Swift

    class MSFMultiTileDataSource : MSFTileDataSource
  • An offline routing service that uses Valhalla routing tiles.

    See more

    Declaration

    Objective-C

    
    @interface MSFMultiValhallaOfflineRoutingService : MSFRoutingService

    Swift

    class MSFMultiValhallaOfflineRoutingService : MSFRoutingService
  • A 3D model that can be displayed on the map.

    NML models can be created from Collada files directly and placed anywhere on the map or converted from KMZ files. NML models are optimized for fast loading and rendering.

    See more

    Declaration

    Objective-C

    
    @interface MSFNMLModel : MSFBillboard

    Swift

    class MSFNMLModel : MSFBillboard
  • A style for NML models. Contains attributes for configuring how the model is drawn on the screen.

    See more

    Declaration

    Objective-C

    
    @interface MSFNMLModelStyle : MSFBillboardStyle

    Swift

    class MSFNMLModelStyle : MSFBillboardStyle
  • A builder class for NMLModelStyle.

    See more

    Declaration

    Objective-C

    
    @interface MSFNMLModelStyleBuilder : MSFBillboardStyleBuilder

    Swift

    class MSFNMLModelStyleBuilder : MSFBillboardStyleBuilder
  • A geocoding service that uses custom geocoding database files. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFOSMOfflineGeocodingService : MSFGeocodingService

    Swift

    class MSFOSMOfflineGeocodingService : MSFGeocodingService
  • A reverse geocoding service that uses custom geocoding database files. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFOSMOfflineReverseGeocodingService : MSFReverseGeocodingService

    Swift

    class MSFOSMOfflineReverseGeocodingService : MSFReverseGeocodingService
  • An offline routing service that uses Massif-specific routing database file created from OSRM prepared routing files. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFOSRMOfflineRoutingService : MSFRoutingService

    Swift

    class MSFOSRMOfflineRoutingService : MSFRoutingService
  • A class containing various options for rendering and map manipulation.

    See more

    Declaration

    Objective-C

    
    @interface MSFOptions : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFOptions : NSObject
  • A tile data source that combines two data sources (usually offline and online). All requests are made first to first data source. If not found the request will be made to the second data source.

    See more

    Declaration

    Objective-C

    
    @interface MSFOrderedTileDataSource : MSFTileDataSource

    Swift

    class MSFOrderedTileDataSource : MSFTileDataSource
  • A tile data source that loads tiles from a PMTiles v3 archive file. PMTiles is a single-file archive format for pyramids of tiled data. The archive format supports efficient random access and metadata storage.

    See more

    Declaration

    Objective-C

    
    @interface MSFPMTilesTileDataSource : MSFTileDataSource

    Swift

    class MSFPMTilesTileDataSource : MSFTileDataSource
  • Information about map package. This includes id, type, version, name, description and size.

    See more

    Declaration

    Objective-C

    
    @interface MSFPackageInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFPackageInfo : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFPackageInfoVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFPackageInfo*)x;
    -(MSFPackageInfo*)get: (int)i;
    -(void)set: (int)i val: (MSFPackageInfo*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFPackageInfoVector : NSObject
  • Base class for offline map package manager. Package manager supports downloading/removing packages. It can be queried about available packages and status of the packages. It works asynchronously in the background and can inform app when packages have been updated. It works persistently. If a package download is started and app is closed, the download will resume when the package manager is started next time.

    See more

    Declaration

    Objective-C

    
    @interface MSFPackageManager : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFPackageManager : NSObject
  • A geocoding service that uses geocoding packages from package manager.

    See more

    Declaration

    Objective-C

    
    @interface MSFPackageManagerGeocodingService : MSFGeocodingService

    Swift

    class MSFPackageManagerGeocodingService : MSFGeocodingService
  • Base class for map package manager event listeners. Includes callbacks for package list events and individual package events.

    See more

    Declaration

    Objective-C

    
    @interface MSFPackageManagerListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFPackageManagerListener : NSObject
  • A reverse geocoding service that uses geocoding packages from package manager.

    See more

    Declaration

    Objective-C

    
    @interface MSFPackageManagerReverseGeocodingService : MSFReverseGeocodingService

    Swift

    class MSFPackageManagerReverseGeocodingService : MSFReverseGeocodingService
  • A routing service that uses routing packages from package manager.

    See more

    Declaration

    Objective-C

    
    @interface MSFPackageManagerRoutingService : MSFRoutingService

    Swift

    class MSFPackageManagerRoutingService : MSFRoutingService
  • A tile data source that loads tiles from package manager.

    See more

    Declaration

    Objective-C

    
    @interface MSFPackageManagerTileDataSource : MSFTileDataSource

    Swift

    class MSFPackageManagerTileDataSource : MSFTileDataSource
  • A routing service that uses routing packages from package manager.

    See more

    Declaration

    Objective-C

    
    @interface MSFPackageManagerValhallaRoutingService : MSFRoutingService

    Swift

    class MSFPackageManagerValhallaRoutingService : MSFRoutingService
  • Package meta info element. Can contain JSON-style structured data, including objects and arrays.

    See more

    Declaration

    Objective-C

    
    @interface MSFPackageMetaInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFPackageMetaInfo : NSObject
  • The status of the map package. This includes information whether the package is ready, queued for processing, downloading, etc. Also it contains information if the package processing is paused and about the progress.

    See more

    Declaration

    Objective-C

    
    @interface MSFPackageStatus : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFPackageStatus : NSObject
  • Tile mask contains map package spatial coverage information and can be used for very fast ‘tile in package’ tests.

    See more

    Declaration

    Objective-C

    
    @interface MSFPackageTileMask : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFPackageTileMask : NSObject
  • An online geocoding service that uses Mapzen Pelias geocoder. As the class connects to an external (non-Massif) service, this class is provided “as-is”, future changes from the service provider may not be compatible with the implementation. Geocoding and reverse geocoding perform network requests and must be executed in non-UI background thread. Be sure to read the Terms and Conditions of your Pelias service provider to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFPeliasOnlineGeocodingService : MSFGeocodingService

    Swift

    class MSFPeliasOnlineGeocodingService : MSFGeocodingService
  • An online reverse geocoding service that uses Mapzen Pelias geocoder. As the class connects to an external (non-Massif) service, this class is provided “as-is”,
    future changes from the service provider may not be compatible with the implementation. Geocoding and reverse geocoding perform network requests and must be executed in non-UI background thread. Be sure to read the Terms and Conditions of your Pelias service provider to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFPeliasOnlineReverseGeocodingService : MSFReverseGeocodingService

    Swift

    class MSFPeliasOnlineReverseGeocodingService : MSFReverseGeocodingService
  • A tile data source that loads tiles from another tile data source and caches them in an offline sqlite database. Tiles will remain in the database even after the application is closed. The database contains table “persistent_cache” with the following fields: “tileId” (tile id), “compressed” (compressed tile image), “time” (the time the tile was cached in milliseconds from epoch), “metaData” (the tile’s meta data map as JSON). Default cache capacity is 50MB.

    See more

    Declaration

    Objective-C

    
    @interface MSFPersistentCacheTileDataSource : MSFCacheTileDataSource

    Swift

    class MSFPersistentCacheTileDataSource : MSFCacheTileDataSource
  • A geometric point that can be displayed on the map.

    See more

    Declaration

    Objective-C

    
    @interface MSFPoint : MSFVectorElement

    Swift

    class MSFPoint : MSFVectorElement
  • Point geometry. Geometry is defined by a single map position.

    See more

    Declaration

    Objective-C

    
    @interface MSFPointGeometry : MSFGeometry

    Swift

    class MSFPointGeometry : MSFGeometry
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFPointGeometryVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFPointGeometry*)x;
    -(MSFPointGeometry*)get: (int)i;
    -(void)set: (int)i val: (MSFPointGeometry*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFPointGeometryVector : NSObject
  • A style for points. Contains attributes for configuring how the point is drawn on the screen.

    See more

    Declaration

    Objective-C

    
    @interface MSFPointStyle : MSFStyle

    Swift

    class MSFPointStyle : MSFStyle
  • A builder class for PointStyle.

    See more

    Declaration

    Objective-C

    
    @interface MSFPointStyleBuilder : MSFStyleBuilder

    Swift

    class MSFPointStyleBuilder : MSFStyleBuilder
  • A geometric polygon that can be displayed on the map. Polygons can be concave and have multiple overlapping holes.

    See more

    Declaration

    Objective-C

    
    @interface MSFPolygon : MSFVectorElement

    Swift

    class MSFPolygon : MSFVectorElement
  • A geometric 3d polygon that can be displayed on the map. 3d polygons can be concave and have multiple overlapping holes.

    See more

    Declaration

    Objective-C

    
    @interface MSFPolygon3D : MSFVectorElement

    Swift

    class MSFPolygon3D : MSFVectorElement
  • A style for 3d polygons. Contains attributes for configuring how the 3d polygon is drawn on the screen.

    See more

    Declaration

    Objective-C

    
    @interface MSFPolygon3DStyle : MSFStyle

    Swift

    class MSFPolygon3DStyle : MSFStyle
  • A builder class for Polygon3DStyle.

    See more

    Declaration

    Objective-C

    
    @interface MSFPolygon3DStyleBuilder : MSFStyleBuilder

    Swift

    class MSFPolygon3DStyleBuilder : MSFStyleBuilder
  • Polygon geometry defined by an outer ring and optional multiple inner rings (holes).

    See more

    Declaration

    Objective-C

    
    @interface MSFPolygonGeometry : MSFGeometry

    Swift

    class MSFPolygonGeometry : MSFGeometry
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFPolygonGeometryVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFPolygonGeometry*)x;
    -(MSFPolygonGeometry*)get: (int)i;
    -(void)set: (int)i val: (MSFPolygonGeometry*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFPolygonGeometryVector : NSObject
  • A style for polygons. Contains attributes for configuring how the polygon is drawn on the screen.

    See more

    Declaration

    Objective-C

    
    @interface MSFPolygonStyle : MSFStyle

    Swift

    class MSFPolygonStyle : MSFStyle
  • A builder class for PolygonStyle.

    See more

    Declaration

    Objective-C

    
    @interface MSFPolygonStyleBuilder : MSFStyleBuilder

    Swift

    class MSFPolygonStyleBuilder : MSFStyleBuilder
  • An abstract billboard element that can be displayed on the map. It always faces the camera and has a dynamically drawn bitmap.

    See more

    Declaration

    Objective-C

    
    @interface MSFPopup : MSFBillboard

    Swift

    class MSFPopup : MSFBillboard
  • A container class that provides information about a click performed on a popup.

    See more

    Declaration

    Objective-C

    
    @interface MSFPopupClickInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFPopupClickInfo : NSObject
  • A container class that provides information how to draw the popup.

    See more

    Declaration

    Objective-C

    
    @interface MSFPopupDrawInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFPopupDrawInfo : NSObject
  • A style for popups. Contains attributes for configuring how the popup is drawn on the screen.

    See more

    Declaration

    Objective-C

    
    @interface MSFPopupStyle : MSFBillboardStyle

    Swift

    class MSFPopupStyle : MSFBillboardStyle
  • A builder class for PopupStyle.

    See more

    Declaration

    Objective-C

    
    @interface MSFPopupStyleBuilder : MSFBillboardStyleBuilder

    Swift

    class MSFPopupStyleBuilder : MSFBillboardStyleBuilder
  • A full-screen post-processing effect. When attached to the map via MapRenderer::setPostProcessEffect, the map is rendered into an offscreen buffer and the effect fragment shader produces the final screen output.

    The fragment shader must be GLSL ES 1.00 (#version 100) source. The following uniforms are provided by the renderer:

    • sampler2D uColorTex: the rendered map frame (premultiplied alpha).
    • sampler2D uTerrainDepthTex: packed terrain depth buffer (only if terrain depth is required; RGB = 24-bit fixed point linear depth 0..1 relative to the far plane, A = terrain coverage). Use dot(rgb, vec3(1.0, 1.0/255.0, 1.0/65025.0)) to unpack.
    • vec2 uInvScreenSize: 1/width, 1/height of the screen in pixels.
    • float uNear, uFar: view frustum distances (internal units).
    • vec2 uProjInvScale: tan(fovy/2) * aspect, tan(fovy/2). With the terrain depth this reconstructs the eye-space position of a pixel: vec3(ndc * uProjInvScale, -1.0) * depth * uFar, ndc = uv * 2 - 1.
    • float uTime: seconds since the effect was attached. Additionally all float parameters set via setFloatParameter are available as float uniforms, and all colors set via setColorParameter as vec4 uniforms (rgba 0..1). Screen texture coordinates can be computed as gl_FragCoord.xy * uInvScreenSize.

    Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFPostProcessEffect : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFPostProcessEffect : NSObject
  • An abstract base class for all projections.

    See more

    Declaration

    Objective-C

    
    @interface MSFProjection : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFProjection : NSObject
  • A container class that provides information about a click performed on raster tile.

    See more

    Declaration

    Objective-C

    
    @interface MSFRasterTileClickInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFRasterTileClickInfo : NSObject
  • Listener for raster tile element events like clicks etc.

    See more

    Declaration

    Objective-C

    
    @interface MSFRasterTileEventListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFRasterTileEventListener : NSObject
  • A tile layer where each tile is a bitmap. Should be used together with corresponding data source.

    See more

    Declaration

    Objective-C

    
    @interface MSFRasterTileLayer : MSFTileLayer

    Swift

    class MSFRasterTileLayer : MSFTileLayer
  • An internal listener class for notifying about screen redraw requests.

    See more

    Declaration

    Objective-C

    
    @interface MSFRedrawRequestListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFRedrawRequestListener : NSObject
  • Listener for renderer capture events.

    See more

    Declaration

    Objective-C

    
    @interface MSFRendererCaptureListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFRendererCaptureListener : NSObject
  • A reverse geocoding request describing search location.

    See more

    Declaration

    Objective-C

    
    @interface MSFReverseGeocodingRequest : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFReverseGeocodingRequest : NSObject
  • An abstract base class for reverse geocoding services.

    See more

    Declaration

    Objective-C

    
    @interface MSFReverseGeocodingService : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFReverseGeocodingService : NSObject
  • A class that defines a route matching result edge.

    See more

    Declaration

    Objective-C

    
    @interface MSFRouteMatchingEdge : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFRouteMatchingEdge : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFRouteMatchingEdgeVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFRouteMatchingEdge*)x;
    -(MSFRouteMatchingEdge*)get: (int)i;
    -(void)set: (int)i val: (MSFRouteMatchingEdge*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFRouteMatchingEdgeVector : NSObject
  • A class that defines a route matching result point.

    See more

    Declaration

    Objective-C

    
    @interface MSFRouteMatchingPoint : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFRouteMatchingPoint : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFRouteMatchingPointVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFRouteMatchingPoint*)x;
    -(MSFRouteMatchingPoint*)get: (int)i;
    -(void)set: (int)i val: (MSFRouteMatchingPoint*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFRouteMatchingPointVector : NSObject
  • A class that defines required attributes for route matching.

    See more

    Declaration

    Objective-C

    
    @interface MSFRouteMatchingRequest : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFRouteMatchingRequest : NSObject
  • A class that defines list of matching points from road network.

    See more

    Declaration

    Objective-C

    
    @interface MSFRouteMatchingResult : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFRouteMatchingResult : NSObject
  • A class that defines a routing instruction at specified position in the path.

    See more

    Declaration

    Objective-C

    
    @interface MSFRoutingInstruction : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFRoutingInstruction : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFRoutingInstructionVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFRoutingInstruction*)x;
    -(MSFRoutingInstruction*)get: (int)i;
    -(void)set: (int)i val: (MSFRoutingInstruction*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFRoutingInstructionVector : NSObject
  • A class that defines required attributes for routing (end points, etc).

    See more

    Declaration

    Objective-C

    
    @interface MSFRoutingRequest : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFRoutingRequest : NSObject
  • A class that defines list of routing actions and path geometry.

    See more

    Declaration

    Objective-C

    
    @interface MSFRoutingResult : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFRoutingResult : NSObject
  • An abstract base class for routing services (either online or offline).

    See more

    Declaration

    Objective-C

    
    @interface MSFRoutingService : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFRoutingService : NSObject
  • An offline routing service that uses SGRE routing engine. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFSGREOfflineRoutingService : MSFRoutingService

    Swift

    class MSFSGREOfflineRoutingService : MSFRoutingService
  • A container class that defines a bounding box on the screen using minimum and maximum screen positions.

    See more

    Declaration

    Objective-C

    
    @interface MSFScreenBounds : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFScreenBounds : NSObject
  • A screen position defined by x,y floating point numbers.

    See more

    Declaration

    Objective-C

    
    @interface MSFScreenPos : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFScreenPos : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFScreenPosVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFScreenPos*)x;
    -(MSFScreenPos*)get: (int)i;
    -(void)set: (int)i val: (MSFScreenPos*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFScreenPosVector : NSObject
  • A search request description. Contains various search filters, including geometry proximity test, regular expression test for all attributes and a custom SQL-like search filter.

    See more

    Declaration

    Objective-C

    
    @interface MSFSearchRequest : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFSearchRequest : NSObject
  • Shader-based sky configuration, attached to the map via Options::setSkyOptions.

    The sky is drawn as a single full-screen pass before everything else, so it costs one quad regardless of the camera. Type picks what that pass draws: a physical atmosphere (the default) or the older two-colour gradient. Either way the sun direction comes from Options::getLightOptions and the fog comes from Options::getFogOptions, so the sky is hazed by exactly what the ground is hazed by.

    The whole appearance can be replaced with setShaderSource. The supplied GLSL must define

    vec4 skyColor(vec3 rayDir);
    

    where rayDir is the normalised world-space view ray for the fragment (x east, y north, z up), and the result is the non-premultiplied sky colour. These are available to it:

    uniform vec3  u_sunDir;        // unit vector towards the sun, world space
    uniform vec4  u_sunColor;      // sun colour, rgba 0..1
    uniform vec4  u_skyColor;      // configured sky colour (zenith), rgba 0..1
    uniform vec4  u_horizonColor;  // configured horizon colour, rgba 0..1
    uniform vec4  u_groundColor;   // configured colour below the horizon, rgba 0..1
    uniform float u_horizonBlend;  // gradient width in radians
    uniform float u_sunIntensity;  // LightOptions sun intensity
    uniform float u_sunDisc;       // 1 when the sun disc is enabled
    uniform vec4  u_atmosphere;    // sun intensity, luminance, unused, unused
    uniform vec4  u_atmosphereColor; // Rayleigh tint, a = strength
    uniform vec4  u_haloColor;     // Mie tint, a = strength
    uniform float u_starIntensity; // FogOptions star intensity
    uniform float u_time;          // seconds since the map view was created
    uniform float u_zoom;          // current fractional map zoom
    uniform float u_cameraHeight;  // camera height above the map plane, in metres
    uniform vec2  u_resolution;    // viewport size in pixels
    

    plus the fog block documented on FogOptions::setShaderSource. Redeclaring any of them is a compile error, and the renderer then falls back to the built-in sky.

    Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFSkyOptions : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFSkyOptions : NSObject
  • A solid layer that displays predefined color or bitmap. @deprecated

    See more

    Declaration

    Objective-C

    
    @interface MSFSolidLayer : MSFLayer

    Swift

    class MSFSolidLayer : MSFLayer
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFStringMap : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(id)initWithArg0: (MSFStringMap*)arg0;
    -(unsigned int)size;
    -(BOOL)empty;
    -(void)clear;
    -(NSString*)get: (NSString*)key;
    -(void)set: (NSString*)key x: (NSString*)x;
    -(void)del: (NSString*)key;
    -(BOOL)has_key: (NSString*)key;
    -(NSString*)get_key: (unsigned int)idx;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFStringMap : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFStringVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned long)size;
    -(unsigned long)capacity;
    -(void)reserve: (unsigned long)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (NSString*)x;
    -(NSString*)get: (int)i;
    -(void)set: (int)i val: (NSString*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFStringVector : NSObject
  • A base class for other Style objects.

    See more

    Declaration

    Objective-C

    
    @interface MSFStyle : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFStyle : NSObject
  • A base class for other StyleBuilder subclasses.

    See more

    Declaration

    Objective-C

    
    @interface MSFStyleBuilder : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFStyleBuilder : NSObject
  • 3D terrain configuration, attached to the map via Options::setTerrainOptions. The elevation data source can be shared with a HillshadeRasterTileLayer, in which case both features use the same tiles (ideally the data source should be wrapped in a MemoryCacheTileDataSource to avoid duplicate loads). Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFTerrainOptions : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFTerrainOptions : NSObject
  • A decoder for Terrarium encoded elevation tiles

    See more

    Declaration

    Objective-C

    
    @interface MSFTerrariumElevationDataDecoder : MSFElevationDecoder

    Swift

    class MSFTerrariumElevationDataDecoder : MSFElevationDecoder
  • A text element that can be displayed on the map.

    See more

    Declaration

    Objective-C

    
    @interface MSFText : MSFLabel

    Swift

    class MSFText : MSFLabel
  • Margins info for text.

    See more

    Declaration

    Objective-C

    
    @interface MSFTextMargins : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFTextMargins : NSObject
  • A style for text labels. Contains attributes for configuring how the text label is drawn on the screen.

    See more

    Declaration

    Objective-C

    
    @interface MSFTextStyle : MSFLabelStyle

    Swift

    class MSFTextStyle : MSFLabelStyle
  • A builder class for TextStyle.

    See more

    Declaration

    Objective-C

    
    @interface MSFTextStyleBuilder : MSFLabelStyleBuilder

    Swift

    class MSFTextStyleBuilder : MSFLabelStyleBuilder
  • A wrapper class for tile data.

    See more

    Declaration

    Objective-C

    
    @interface MSFTileData : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFTileData : NSObject
  • Abstract base class for tile data sources. It provides default implementation for listener registration and other common tile data source methods.

    See more

    Declaration

    Objective-C

    
    @interface MSFTileDataSource : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFTileDataSource : NSObject
  • What a tile download reports, as one object.

    A listener has four callbacks with four different arguments; a facade event carries a payload, and one payload class over the four is what lets a binding subscribe to “the download” rather than to each of them. Only the fields the event in question fills are meaningful - progress on download.progress, tile on download.failed.

    See more

    Declaration

    Objective-C

    
    @interface MSFTileDownloadInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFTileDownloadInfo : NSObject
  • Listener for tile downloader.

    See more

    Declaration

    Objective-C

    
    @interface MSFTileDownloadListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFTileDownloadListener : NSObject
  • Undocumented

    Declaration

    Objective-C

    @interface SWIGTYPE_p_std__vectorT_massif__vt__TileId_t : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    
    @end

    Swift

    class SWIGTYPE_p_std__vectorT_massif__vt__TileId_t : NSObject
  • Undocumented

    Declaration

    Objective-C

    @interface SWIGTYPE_p_massif__vt__TileId : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    
    @end

    Swift

    class SWIGTYPE_p_massif__vt__TileId : NSObject
  • Undocumented

    Declaration

    Objective-C

    @interface SWIGTYPE_p_std__mapT_massif__vt__TileId_unsigned_int_t : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    
    @end

    Swift

    class SWIGTYPE_p_std__mapT_massif__vt__TileId_unsigned_int_t : NSObject
  • Undocumented

    Declaration

    Objective-C

    @interface SWIGTYPE_p_std__vectorT_std__mapT_massif__vt__TileId_unsigned_int_t_t : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    
    @end

    Swift

    class SWIGTYPE_p_std__vectorT_std__mapT_massif__vt__TileId_unsigned_int_t_t : NSObject
  • Undocumented

    Declaration

    Objective-C

    @interface SWIGTYPE_p_std__mapT_massif__vt__TileId_std__size_t_t : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    
    @end

    Swift

    class SWIGTYPE_p_std__mapT_massif__vt__TileId_std__size_t_t : NSObject
  • Undocumented

    Declaration

    Objective-C

    @interface SWIGTYPE_p_std__mapT_massif__vt__TileId_massif__TileLayer__GroundDrapeRef_t : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    
    @end

    Swift

    class SWIGTYPE_p_std__mapT_massif__vt__TileId_massif__TileLayer__GroundDrapeRef_t : NSObject
  • Undocumented

    Declaration

    Objective-C

    @interface SWIGTYPE_p_std__vectorT_std__pairT_int_bool_t_t : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    
    @end

    Swift

    class SWIGTYPE_p_std__vectorT_std__pairT_int_bool_t_t : NSObject
  • Undocumented

    Declaration

    Objective-C

    @interface SWIGTYPE_p_std__mapT_int_int_t : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    
    @end

    Swift

    class SWIGTYPE_p_std__mapT_int_int_t : NSObject
  • An abstract base class for all tile layers.

    See more

    Declaration

    Objective-C

    
    @interface MSFTileLayer : MSFLayer

    Swift

    class MSFTileLayer : MSFLayer
  • Interface for monitoring tile loading events.

    See more

    Declaration

    Objective-C

    
    @interface MSFTileLoadListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFTileLoadListener : NSObject
  • A helper class for mapping coordinates to tiles and back.

    See more

    Declaration

    Objective-C

    
    @interface MSFTileUtils : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFTileUtils : NSObject
  • An online geocoding service that uses TomTom geocoder. As the class connects to an external (non-Massif) service, this class is provided “as-is”, future changes from the service provider may not be compatible with the implementation. Geocoding and reverse geocoding perform network requests and must be executed in non-UI background thread. Be sure to read the Terms and Conditions of TomTom to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFTomTomOnlineGeocodingService : MSFGeocodingService

    Swift

    class MSFTomTomOnlineGeocodingService : MSFGeocodingService
  • An online reverse geocoding service that uses TomTom geocoder. As the class connects to an external (non-Massif) service, this class is provided “as-is”,
    future changes from the service provider may not be compatible with the implementation. Geocoding and reverse geocoding perform network requests and must be executed in non-UI background thread. Be sure to read the Terms and Conditions of TomTom to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFTomTomOnlineReverseGeocodingService : MSFReverseGeocodingService

    Swift

    class MSFTomTomOnlineReverseGeocodingService : MSFReverseGeocodingService
  • A decoder for Torque layer that accepts json-based Torque tiles.

    See more

    Declaration

    Objective-C

    
    @interface MSFTorqueTileDecoder : MSFVectorTileDecoder

    Swift

    class MSFTorqueTileDecoder : MSFVectorTileDecoder
  • A vector tile layer for rendering time-based animated point clouds.

    See more

    Declaration

    Objective-C

    
    @interface MSFTorqueTileLayer : MSFVectorTileLayer

    Swift

    class MSFTorqueTileLayer : MSFVectorTileLayer
  • A container class that provides information about a click performed on an UTF grid.

    See more

    Declaration

    Objective-C

    
    @interface MSFUTFGridClickInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFUTFGridClickInfo : NSObject
  • Listener for vector element events like clicks etc.

    See more

    Declaration

    Objective-C

    
    @interface MSFUTFGridEventListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFUTFGridEventListener : NSObject
  • How the facade reaches an app’s UI thread.

    A subscription that asked for UI delivery is queued rather than run where the event was produced, and this is what wakes the queue: post() is called from the producing thread and must arrange for MassifApi::drain to run on the UI thread.

    Without one, UI subscriptions run INLINE on whatever thread produced the event and the facade says so once - delivering on the wrong thread beats dropping the event, but it is not what the subscription asked for.

    See more

    Declaration

    Objective-C

    
    @interface MSFUiDispatcher : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFUiDispatcher : NSObject
  • An offline routing service that uses Valhalla routing tiles.

    See more

    Declaration

    Objective-C

    
    @interface MSFValhallaOfflineRoutingService : MSFRoutingService

    Swift

    class MSFValhallaOfflineRoutingService : MSFRoutingService
  • An online routing service that uses MapBox Valhalla routing service. As the class connects to an external (non-Massif) service, this class is provided “as-is”,
    future changes from the service provider may not be compatible with the implementation. Routing and route matching perform network requests and must be executed in non-UI background thread. Be sure to read the Terms and Conditions of your Valhalla service provider to see if the service is available for your application. Note: this class is experimental and may change or even be removed in future SDK versions.

    See more

    Declaration

    Objective-C

    
    @interface MSFValhallaOnlineRoutingService : MSFRoutingService

    Swift

    class MSFValhallaOnlineRoutingService : MSFRoutingService
  • JSON value. Can contain JSON-style structured data, including objects and arrays.

    See more

    Declaration

    Objective-C

    
    @interface MSFVariant : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVariant : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFVariantVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFVariant*)x;
    -(MSFVariant*)get: (int)i;
    -(void)set: (int)i val: (MSFVariant*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFVariantVector : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFStringVariantMap : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(id)initWithArg0: (MSFStringVariantMap*)arg0;
    -(unsigned int)size;
    -(BOOL)empty;
    -(void)clear;
    -(MSFVariant*)get: (NSString*)key;
    -(void)set: (NSString*)key x: (MSFVariant*)x;
    -(void)del: (NSString*)key;
    -(BOOL)has_key: (NSString*)key;
    -(NSString*)get_key: (unsigned int)idx;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFStringVariantMap : NSObject
  • A helper class for building variant arrays.

    See more

    Declaration

    Objective-C

    
    @interface MSFVariantArrayBuilder : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVariantArrayBuilder : NSObject
  • A helper class for building variant objects.

    See more

    Declaration

    Objective-C

    
    @interface MSFVariantObjectBuilder : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVariantObjectBuilder : NSObject
  • A wrapper class for vector element data.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorData : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVectorData : NSObject
  • Abstract base class for envelope based vector data sources. It provides default implementation for listener registration and other common data source methods. Subclasses need to define their own implementations of loadElements method.

    The draw order of vector elements within the data source is undefined.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorDataSource : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVectorDataSource : NSObject
  • Listener interface for catching various events during map editing interactions.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorEditEventListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVectorEditEventListener : NSObject
  • A base class for all vector elements (points, lines, texts, models, etc).

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorElement : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVectorElement : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFVectorElementVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFVectorElement*)x;
    -(MSFVectorElement*)get: (int)i;
    -(void)set: (int)i val: (MSFVectorElement*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFVectorElementVector : NSObject
  • A container class that provides information about a click performed on a vector element.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorElementClickInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVectorElementClickInfo : NSObject
  • A container class that provides information about a dragging performed on a vector element or vector element vertex.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorElementDragInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVectorElementDragInfo : NSObject
  • Listener for vector element events like clicks etc.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorElementEventListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVectorElementEventListener : NSObject
  • A search service for finding vector elements from the specified vector data source. Depending on the datasource, searching may perform network requests and must be executed in non-UI background thread.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorElementSearchService : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVectorElementSearchService : NSObject
  • A vector layer that loads data using an envelope. Should be used together with corresponding data source.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorLayer : MSFLayer

    Swift

    class MSFVectorLayer : MSFLayer
  • A container class that provides information about a click performed on vector tile feature.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorTileClickInfo : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVectorTileClickInfo : NSObject
  • Abstract base class for vector tile decoders.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorTileDecoder : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVectorTileDecoder : NSObject
  • Listener for vector tile element events like clicks etc.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorTileEventListener : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVectorTileEventListener : NSObject
  • A vector tile feature consisting of id, layer, geometry and properties.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorTileFeature : MSFFeature

    Swift

    class MSFVectorTileFeature : MSFFeature
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface MSFVectorTileFeatureVector : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    -(id)init;
    -(unsigned int)size;
    -(unsigned int)capacity;
    -(void)reserve: (unsigned int)n;
    -(BOOL)isEmpty;
    -(void)clear;
    -(void)add: (MSFVectorTileFeature*)x;
    -(MSFVectorTileFeature*)get: (int)i;
    -(void)set: (int)i val: (MSFVectorTileFeature*)val;
    /**
     * Returns the raw pointer to the object. This is used internally by the SDK.
     * @return The internal pointer of the object.
     */
    /** @internal:nodoc: */
    -(long long)swigGetRawPtr;
    
    -(void)dealloc;
    
    @end

    Swift

    class MSFVectorTileFeatureVector : NSObject
  • A vector tile feature consisting of id, layer, geometry and properties.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorTileFeatureBuilder : MSFFeatureBuilder

    Swift

    class MSFVectorTileFeatureBuilder : MSFFeatureBuilder
  • A collection of vector tile features.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorTileFeatureCollection : MSFFeatureCollection

    Swift

    class MSFVectorTileFeatureCollection : MSFFeatureCollection
  • A tile layer where each tile is a bitmap. Should be used together with corresponding data source.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorTileLayer : MSFTileLayer

    Swift

    class MSFVectorTileLayer : MSFTileLayer
  • A search service for finding features from the specified vector tile data source. Depending on the datasource, searching may perform network requests and must be executed in non-UI background thread.

    See more

    Declaration

    Objective-C

    
    @interface MSFVectorTileSearchService : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFVectorTileSearchService : NSObject
  • Undocumented

    Declaration

    Objective-C

    @interface SWIGTYPE_cglib__vec3T_double_t : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    
    @end

    Swift

    class SWIGTYPE_cglib__vec3T_double_t : NSObject
  • Undocumented

    Declaration

    Objective-C

    @interface SWIGTYPE_p_cglib__frustum3T_double_t : NSObject
    {
    	/** @internal:nodoc: */
    	void *swigCPtr;
    	/** @internal:nodoc: */
    	BOOL swigCMemOwn;
    }
    /** @internal:nodoc: */
    -(void*)getCptr;
    /** @internal:nodoc: */
    -(id)initWithCptr: (void*)cptr swigOwnCObject: (BOOL)ownCObject;
    
    @end

    Swift

    class SWIGTYPE_p_cglib__frustum3T_double_t : NSObject
  • A class containing various view parameters for a view state.

    See more

    Declaration

    Objective-C

    
    @interface MSFViewState : NSObject {
      void *swigCPtr;
      BOOL swigCMemOwn;
    }

    Swift

    class MSFViewState : NSObject
  • An asset package based on ZIP archived. Only deflate-based ZIP archives are supported.

    See more

    Declaration

    Objective-C

    
    @interface MSFZippedAssetPackage : MSFAssetPackage

    Swift

    class MSFZippedAssetPackage : MSFAssetPackage