Type Definitions
The following type definitions are available globally.
-
Undocumented
Declaration
Objective-C
typedef MaplyViewTracker WGViewTracker
-
Undocumented
See moreDeclaration
Objective-C
typedef struct { float lonDeg; float latDeg; float headingDeg; } MaplyLocationTrackerSimulationPoint
-
Undocumented
See moreDeclaration
Objective-C
typedef enum {MaplyLocationLockNone, MaplyLocationLockNorthUp, MaplyLocationLockHeadingUp, MaplyLocationLockHeadingUpOffset} MaplyLocationLockType
-
This represents the indentifier for a unique tile in the pyramid.
Each tile in an image (or vector tile) pyramid can be uniquely identified by an x, y, and level. The levels start at zero and run to a maximum. x and y also start at zero and run to 2^level-1.
How these are interpreted is up to the tile source itself. For example, some tile sources start at the lower left for (0,0) and run to the upper left. Others do it the opposite way. There’s a flipY option in the MaplyQuadImageTileLayer to deal with this, but the system doesn’t care all that much as long as you are consistent.
See
MaplyTileSourceSee
MaplyQuadPagingLayerSee
MaplyQuadImageTilesLayerDeclaration
Objective-C
typedef struct MaplyTileID MaplyTileID
-
A 2D coordinate representation.
The Maply Coordinate is a simple 2 dimensional coordinate passed around to numerous methods. For geo-coordinates x maps to longitude and y to latitude and the values are in radians.
See moreDeclaration
Objective-C
typedef struct MaplyCoordinate MaplyCoordinate
-
Double precision version of 2D coordinate.
This works the same was as the MaplyCoordinate, but has more precision.
See moreDeclaration
Objective-C
typedef struct MaplyCoordinateD MaplyCoordinateD
-
A 3D coordinate representation.
The 3D version of the Maply Coordinate adds a z values, often in meters, but not always. Consult the appropriate method to be sure.
See moreDeclaration
Objective-C
typedef struct MaplyCoordinate3d MaplyCoordinate3d
-
Undocumented
See moreDeclaration
Objective-C
typedef struct { double x,y,z; } MaplyCoordinate3dD
-
Represents a bounding box in a particular coordinate system.
ll is the lower left and ur is the upper right.
See moreDeclaration
Objective-C
typedef struct MaplyBoundingBox MaplyBoundingBox
-
Represents a bounding box in a particular coordinate system.
ll is the lower left and ur is the upper right.
See moreDeclaration
Objective-C
typedef struct MaplyBoundingBoxD MaplyBoundingBoxD
-
Undocumented
See moreDeclaration
Objective-C
typedef enum : NSUInteger { MapboxSourceVector, MapboxSourceRaster, // TODO: Support the rest of these eventually } MapboxSourceType
-
Undocumented
Declaration
Objective-C
typedef MaplyComponentObject WGComponentObject
-
Undocumented
Declaration
Objective-C
typedef MaplyLabel WGLabel
-
Undocumented
Declaration
Objective-C
typedef MaplyMarker WGMarker
-
Undocumented
Declaration
Objective-C
typedef MaplyScreenLabel WGScreenLabel
-
Undocumented
Declaration
Objective-C
typedef MaplyScreenMarker WGScreenMarker
-
Undocumented
Declaration
Objective-C
typedef MaplyShapeCircle WGShapeCircle
-
Undocumented
Declaration
Objective-C
typedef MaplyShapeSphere WGShapeSphere
-
Undocumented
Declaration
Objective-C
typedef MaplyShapeCylinder WGShapeCylinder
-
Undocumented
Declaration
Objective-C
typedef MaplyVectorObject WGVectorObject