CartoType UWP API 8.8-7-gb35e4dc71
for development in C#, VB.NET and C++
|
Classes | |
class | Address |
A structured address. Any field may be empty or null, but at least one field should be non-empty for address searching to return any results. More... | |
class | BlendStyle |
A rule to modify a certain style or styles. The colors are blended with colors in a style, using their alpha values as the blend fraction. More... | |
class | Color |
A color> More... | |
class | ExtendedNoticePosition |
Positions for notices like the legend or scale bar. More... | |
class | FeatureInfo |
Feature information for a map object, represented internally as a 32-bit value. More... | |
class | FindNearbyParam |
Parameters for finding nearby places. More... | |
class | FindParam |
Parameters for the general Find function. More... | |
class | Framework |
The Framework class provides a high-level API for CartoType, through which map data can be loaded, maps can be created and viewed, and routing and navigation can be performed. More... | |
class | FrameworkParam |
Parameters for creating a Framework object when more detailed control is needed. For example, file buffer size and the maximum number of buffers can be set. More... | |
class | Geometry |
A geometry class for creating map objects and specifying view areas. There are also functions for the determining distance and intersection type between a geometry object and map objects. More... | |
class | Legend |
The Legend class is used to specify legends, scales, copyright notices and turn instructions. More... | |
class | LocationMatchParam |
Parameters used when matching a road or other feature to a location. More... | |
class | LocationRef |
Parameters used for a location reference when writing traffic information. More... | |
class | MapMetaData |
Metadata describing a CTM1 map file. More... | |
class | MapObject |
A map object: a point, linear object, polygon object, or array (texture). More... | |
class | MapObjectGroup |
A group of map objects with the same name, as used in a list of found objects. More... | |
class | MapObjectId |
A class to hold a map object ID which can both be passed into and returned from a function to insert a map object. More... | |
class | MapObjectMatch |
Information returned by MapObject::Match. More... | |
class | MapRenderer |
A class to draw a map using OpenGL ES. More... | |
class | NavigatorParam |
Parameters governing navigation behaviour. More... | |
class | NearestRoadInfo |
Information about the nearest road to a certain point. More... | |
class | NearestSegmentInfo |
Information about the nearest route segment to a point. More... | |
interface | Path |
A path defining a set of open and closed curves. More... | |
class | PathIntersectionInfo |
Information about the intersection of two paths and their distance apart. For functions involving map objects, distances are meters and positions are latitude and longitude. More... | |
class | PathPoint |
An on-curve or off-curve point for use in paths. More... | |
class | PerspectiveParam |
Parameters giving detailed control of the perspective view. More... | |
class | Point |
A 2D point using floating-point coordinates. More... | |
struct | PointValue |
class | Rect |
A grid-aligned rectangle with double-precision coordinates suitable for map points. More... | |
class | Route |
Information about an entire route. More... | |
class | RouteCoordSet |
A set of points for creating a route, with optional heading and accuracy information. More... | |
class | RoutePoint |
A point on a route, with its heading and location match parameters. More... | |
class | RouteProfile |
A routing profile: parameters determining the type of route, including road speeds, bonuses and penalties, and vehicle type. A road type will not be used if its speed plus bonus is equal to or less than zero. More... | |
class | RouteSegment |
Part of a route, consisting of a turn and the section of the route from that turn to the next one. More... | |
class | TimeAndDistanceMatrix |
A matrix of route times and distances between sets of points. More... | |
class | TrafficInfo |
Traffic information. This information is normally used in combination with a location reference. More... | |
class | Turn |
Information about a turn through a junction. More... | |
class | Util |
General utility functions More... | |
class | ViewState |
The view state, which can be retrieved or set so that maps can be recreated. More... | |
Typedefs | |
using | RoutePointList = IVector< RoutePoint^> |
A type for lists of route points: see RouteCoordSet. | |
using | MapObjectGroupList = IVector< MapObjectGroup^> |
A type for lists of map object groups returned by search functions. | |
using | BlendStyleSet = IVector< BlendStyle^> |
A set of rules for modifying style sheet colors, for example to add contrast, lighten or darken. The rules are applied in order. Only the first rule matching a style is applied. | |
using | GeometryList = IVector< Geometry^> |
A type for lists of geometry objects returned by Geometry functions. | |
using | MapObjectList = IVector< MapObject^> |
A type for lists of map objects returned by search functions. | |
using | PathIntersectionTypeList = IVector< PathIntersectionType > |
A type for lists of path intersection types returned by Geometry functions. | |
using | PathIntersectionInfoList = IVector< PathIntersectionInfo^> |
A type for lists of path intersection information objects returned by Geometry functions. | |
using | StringList = IVector< String^> |
A type for lists of strings. | |
Enumerations | |
enum class | MapObjectType { Point , Line , Polygon , Array , TypeCount } |
An enumerated type for map objects. More... | |
enum class | StringMatchMethod { PrefixFlag = 1 , IgnoreSymbolsFlag = 2 , FoldAccentsFlag = 4 , FuzzyFlag = 8 , FoldCaseFlag = 16 , IgnoreWhitespaceFlag = 32 , Exact = 0 , FoldCase = FoldCaseFlag , Prefix = PrefixFlag , IgnoreNonAlphanumerics = IgnoreSymbolsFlag | IgnoreWhitespaceFlag , Loose = IgnoreNonAlphanumerics | FoldAccentsFlag | FoldCaseFlag , Fuzzy = IgnoreNonAlphanumerics | FoldAccentsFlag | FuzzyFlag | FoldCaseFlag } |
Flags and constants used when finding text. More... | |
enum class | LetterCase { None , Lower , Upper , Title } |
enum class | FollowFlag { Location = 1 , Heading = 2 , Zoom = 4 } |
Bit flags used by the FollowMode constants. More... | |
enum class | FollowMode { None = 0 , Location = (int)FollowFlag::Location , LocationHeading = (int)FollowFlag::Location | (int)FollowFlag::Heading , LocationZoom = (int)FollowFlag::Location | (int)FollowFlag::Zoom , LocationHeadingZoom = (int)FollowFlag::Location | (int)FollowFlag::Heading | (int)FollowFlag::Zoom } |
Flags controlling the way the map follows the user location and heading and automatically zooms. More... | |
enum class | ValidityFlag { Time = 1 , Position = 2 , Speed = 4 , Course = 8 , Height = 16 } |
Bit flags used in Framework.Navigate to indicate which information is valid. More... | |
enum class | NavigationState { None , NoPosition , Turn , OffRoute , Routing , NewRoute , TurnRound , Arrival } |
States of the navigation system. More... | |
enum class | RouterType { Default , StandardAStar , TurnExpandedAStar , StandardContractionHierarchy , TECH } |
Types of router; used when selecting a router type. More... | |
enum class | TurnType { None , Ahead , BearRight , Right , SharpRight , Around , SharpLeft , Left , BearLeft } |
Turn types on a route. Turns at junctions are classified by dividing the full circle into 45-degree segments, except for sharp turns left and right, which encompass everything up to an actual U-turn. More... | |
enum class | RoundaboutState { None , Enter , Continue , Exit } |
Turns involving roundabouts are marked as such so that exit numbers can be counted More... | |
enum class | RouteProfileType { Car , Walk , Walking = Walk , Cycle , Bicycle = Cycle , Hike , Hiking = Hike , Ski } |
Constants used to select frequently-used profiles. More... | |
enum class | SideOfRoad { None , Right , Left , Both } |
The side of the road: used in traffic information. | |
enum class | WritableMapType { Memory , SQLite } |
Types of writable maps. More... | |
enum class | FileType { Png , Jpeg , Tiff , Ctm1 , Ctms , Kml , Ctsql , CartoTypeRoute , Gpx } |
File types of interest to CartoType. More... | |
enum class | RoadOrientation { None , Forwards , Backwards , Both } |
The orientation of a path along a road: used in traffic information. | |
enum class | LocationRefType { Line , GeoCoordinate , PointAlongLine , PointWithAccessPoint , Circle , Rectangle , Polygon , ClosedLine } |
The type of a location reference used for traffic information. More... | |
enum class | NoticePosition { TopLeft , TopRight , BottomLeft , BottomRight , Top , Right , Left , Bottom , Center } |
Positions for notices like the legend or scale bar. Use functions taking an ExtendedNoticePosition for greater control. More... | |
enum class | ColorValue { Black = (int)0xFF000000 , DarkGray = (int)0xFF555555 , DarkRed = (int)0xFF000080 , DarkGreen = (int)0xFF008000 , DarkYellow = (int)0xFF008080 , DarkBlue = (int)0xFF800000 , DarkMagenta = (int)0xFF800080 , DarkCyan = (int)0xFF808000 , Red = (int)0xFF0000FF , Green = (int)0xFF00FF00 , Yellow = (int)0xFF00FFFF , Blue = (int)0xFFFF0000 , Magenta = (int)0xFFFF00FF , Cyan = (int)0xFFFFFF00 , Gray = (int)0xFFAAAAAA , White = (int)0xFFFFFFFF , TransparentBlack = 0x00000000 } |
Values of frequently used colors as 32-bit integers. More... | |
enum class | Align { Center , Standard , Reverse , Left , Right } |
Text alignments. More... | |
enum class | PointType { OnCurve , Quadratic , Cubic } |
Types used by PathPoint. More... | |
enum class | ClipOperation { Intersection , Union , Difference , Xor } |
Types of clipping done by Geometry.Clip. More... | |
enum class | CoordType { Degree , Display , Screen = Display , Map , MapMeter } |
Coordinate types. More... | |
enum class | PathIntersectionType { Unknown , Separate , Intersects , Contains , Contained } |
The ways two paths can intersect. More... | |
enum class | MapTableType { GlobalTable = 0 , LayerTable = 1 , Table2Obsolete = 2 , Table3Obsolete = 3 , ProjectionTable = 4 , StringTable = 5 , LowResolutionLayerTable = 6 , PaletteTable = 7 , TextIndexTable = 8 , Table9Obsolete = 9 , RouteTableAStar = 10 , RouteTableCH = 11 , RouteTableExtra = 12 , RouteTableTurnExpanded = 13 , RouteTableCHStandAlone = 14 , RouteTableTECH = 15 , RouteTableCHTiled = 16 , RouteTableTECHTiled = 17 , RouteTableTurnExpandedCompact = 18 , NoTable = 65535 } |
Identifiers of tables in CTM1 map files. More... | |
enum class | PointFormat { Unknown = 0 , Meter = 2 , ScaledDegree = 7 , Meter32nds = 8 } |
The format used for points in CTM1 data. These numbers must fit into 8 bits for the moment because of the way they are stored in the CTM1 file. The values are discontinuous because several obsolete values have been discarded. More... | |
enum class | FeatureType { Motorway = 0 , MotorwayLink = 1 , TrunkRoad = 2 , TrunkLink = 3 , PrimaryRoad = 4 , PrimaryLink = 5 , SecondaryRoad = 6 , SecondaryLink = 7 , TertiaryRoad = 8 , UnclassifiedRoad = 9 , ResidentialRoad = 10 , Track = 11 , ServiceRoad = 12 , PedestrianRoad = 13 , VehicularFerry = 14 , PassengerFerry = 15 , LivingStreet = 16 , Cycleway = 17 , Path = 18 , Footway = 19 , Bridleway = 20 , Steps = 21 , OtherRoad = 22 , UnpavedRoad = 23 , Railway = 24 , LightRail = 25 , Subway = 26 , AerialWay = 27 , SkiDownhill = 28 , SkiNordic = 29 , Waterway = 30 , UnknownRoute = 31 , UnknownNonRoute = 32 , AdminArea1 = FeatureTypeCode('a','a','a') , AdminArea2 = FeatureTypeCode('a','a','b') , AdminArea3 = FeatureTypeCode('a','a','c') , AdminArea4 = FeatureTypeCode('a','a','d') , AdminArea5 = FeatureTypeCode('a','a','e') , AdminArea6 = FeatureTypeCode('a','a','f') , AdminArea7 = FeatureTypeCode('a','a','g') , AdminArea8 = FeatureTypeCode('a','a','h') , AdminArea9 = FeatureTypeCode('a','a','i') , AdminArea10 = FeatureTypeCode('a','a','j') , Address = FeatureTypeCode('a','d','d') , Aerodrome = FeatureTypeCode('a','e','r') , Airport = FeatureTypeCode('a','i','r') , AirportGate = FeatureTypeCode('a','g','t') , AirportHoldingPosition = FeatureTypeCode('a','h','p') , Allotments = FeatureTypeCode('a','l','l') , AlpineHut = FeatureTypeCode('a','l','p') , AmbulanceStation = FeatureTypeCode('a','m','b') , Apron = FeatureTypeCode('a','p','r') , AerialWayPylon = FeatureTypeCode('a','p','y') , Artwork = FeatureTypeCode('a','r','t') , AerialWayStation = FeatureTypeCode('a','s','t') , AirTerminal = FeatureTypeCode('a','t','e') , Atm = FeatureTypeCode('a','t','m') , Attraction = FeatureTypeCode('a','t','t') , Bar = FeatureTypeCode('b','a','r') , Basin = FeatureTypeCode('b','a','s') , Bay = FeatureTypeCode('b','a','y') , Beach = FeatureTypeCode('b','e','a') , Beacon = FeatureTypeCode('b','e','c') , BedAndBreakfast = FeatureTypeCode('b','e','d') , Bench = FeatureTypeCode('b','e','n') , Bank = FeatureTypeCode('b','n','k') , Boatyard = FeatureTypeCode('b','o','a') , Borough = FeatureTypeCode('b','o','r') , Boundary = FeatureTypeCode('b','o','u') , BicycleParking = FeatureTypeCode('b','p','k') , BicycleRental = FeatureTypeCode('b','r','e') , BareRock = FeatureTypeCode('b','r','c') , Barracks = FeatureTypeCode('b','r','k') , BrownField = FeatureTypeCode('b','r','o') , BusStop = FeatureTypeCode('b','s','p') , BusStation = FeatureTypeCode('b','s','t') , BufferStop = FeatureTypeCode('b','u','f') , Building = FeatureTypeCode('b','u','i') , Bunker = FeatureTypeCode('b','u','n') , Cabin = FeatureTypeCode('c','a','b') , Cafe = FeatureTypeCode('c','a','f') , CampSite = FeatureTypeCode('c','a','m') , Canal = FeatureTypeCode('c','a','n') , CaveEntrance = FeatureTypeCode('c','a','v') , CableCar = FeatureTypeCode('c','c','r') , CableDistributionCabinet = FeatureTypeCode('c','d','c') , Cemetery = FeatureTypeCode('c','e','m') , ChairLift = FeatureTypeCode('c','h','a') , CheckPoint = FeatureTypeCode('c','h','e') , Chalet = FeatureTypeCode('c','h','l') , CivilBoundary = FeatureTypeCode('c','i','b') , Cinema = FeatureTypeCode('c','i','n') , City = FeatureTypeCode('c','i','t') , Cliff = FeatureTypeCode('c','l','f') , Clinic = FeatureTypeCode('c','l','i') , Commercial = FeatureTypeCode('c','m','r') , Coastline = FeatureTypeCode('c','o','a') , College = FeatureTypeCode('c','o','l') , Common = FeatureTypeCode('c','o','m') , Construction = FeatureTypeCode('c','n','s') , Conservation = FeatureTypeCode('c','n','v') , Continent = FeatureTypeCode('c','o','n') , County = FeatureTypeCode('c','o','u') , CarPark = FeatureTypeCode('c','p','k') , CarRental = FeatureTypeCode('c','r','e') , Crossing = FeatureTypeCode('c','r','o') , Country = FeatureTypeCode('c','r','y') , CarSharing = FeatureTypeCode('c','s','h') , CutLine = FeatureTypeCode('c','u','t') , CarWash = FeatureTypeCode('c','w','a') , CaravanSite = FeatureTypeCode('c','v','n') , CyclingRoute = FeatureTypeCode('c','y','r') , Dam = FeatureTypeCode('d','a','m') , DangerArea = FeatureTypeCode('d','a','n') , Dentist = FeatureTypeCode('d','e','n') , Disused = FeatureTypeCode('d','i','s') , Ditch = FeatureTypeCode('d','i','t') , Dock = FeatureTypeCode('d','o','c') , DogPark = FeatureTypeCode('d','o','g') , Drain = FeatureTypeCode('d','r','a') , DragLift = FeatureTypeCode('d','r','g') , Doctors = FeatureTypeCode('d','r','s') , District = FeatureTypeCode('d','s','t') , ElectricVehicleCharging = FeatureTypeCode('e','v','c') , Farm = FeatureTypeCode('f','a','r') , FarmYard = FeatureTypeCode('f','a','y') , Fell = FeatureTypeCode('f','e','l') , FerryTerminal = FeatureTypeCode('f','e','t') , FastFood = FeatureTypeCode('f','f','d') , FireExtinguisher = FeatureTypeCode('f','i','e') , FireFlapper = FeatureTypeCode('f','i','f') , FireHose = FeatureTypeCode('f','i','h') , FireStation = FeatureTypeCode('f','i','s') , FitnessStation = FeatureTypeCode('f','i','t') , FireHydrant = FeatureTypeCode('f','i','y') , Forestry = FeatureTypeCode('f','o','r') , Fishing = FeatureTypeCode('f','s','h') , Fuel = FeatureTypeCode('f','u','e') , Funicular = FeatureTypeCode('f','u','n') , Garages = FeatureTypeCode('g','a','r') , Gate = FeatureTypeCode('g','a','t') , Garden = FeatureTypeCode('g','d','n') , Generator = FeatureTypeCode('g','e','n') , GreenHouse = FeatureTypeCode('g','h','o') , Glacier = FeatureTypeCode('g','l','a') , GolfCourse = FeatureTypeCode('g','o','l') , Gondola = FeatureTypeCode('g','o','n') , GoodsAerialWay = FeatureTypeCode('g','o','o') , Grass = FeatureTypeCode('g','r','a') , GreenField = FeatureTypeCode('g','r','e') , GritBin = FeatureTypeCode('g','r','b') , GraveYard = FeatureTypeCode('g','r','y') , GuestHouse = FeatureTypeCode('g','u','e') , Halt = FeatureTypeCode('h','a','l') , Hamlet = FeatureTypeCode('h','a','m') , Hangar = FeatureTypeCode('h','a','n') , Heath = FeatureTypeCode('h','e','a') , Helipad = FeatureTypeCode('h','e','l') , RailwayHalt = FeatureTypeCode('h','l','t') , HikingRoute = FeatureTypeCode('h','i','k') , HorseRiding = FeatureTypeCode('h','o','r') , Hospital = FeatureTypeCode('h','o','s') , Hotel = FeatureTypeCode('h','o','t') , HorseRidingRoute = FeatureTypeCode('h','r','r') , Hostel = FeatureTypeCode('h','s','t') , IceRink = FeatureTypeCode('i','c','e') , Industrial = FeatureTypeCode('i','n','d') , Information = FeatureTypeCode('i','n','f') , Island = FeatureTypeCode('i','s','l') , IsolatedDwelling = FeatureTypeCode('i','s','o') , Junction = FeatureTypeCode('j','c','t') , Kindergarten = FeatureTypeCode('k','i','n') , LandFill = FeatureTypeCode('l','a','n') , Land = FeatureTypeCode('l','n','d') , LevelCrossing = FeatureTypeCode('l','e','v') , Library = FeatureTypeCode('l','i','b') , Locality = FeatureTypeCode('l','o','c') , LockGate = FeatureTypeCode('l','o','k') , MaritimeBoundary = FeatureTypeCode('m','a','b') , Mall = FeatureTypeCode('m','a','l') , Marsh = FeatureTypeCode('m','a','r') , Meadow = FeatureTypeCode('m','e','a') , Military = FeatureTypeCode('m','i','l') , Marina = FeatureTypeCode('m','n','a') , Motel = FeatureTypeCode('m','o','t') , MinorPowerLine = FeatureTypeCode('m','p','l') , MiniatureGolf = FeatureTypeCode('m','r','g') , MiniatureRailway = FeatureTypeCode('m','r','y') , Mud = FeatureTypeCode('m','u','d') , Municipality = FeatureTypeCode('m','u','n') , Museum = FeatureTypeCode('m','u','s') , NatureReserve = FeatureTypeCode('n','a','t') , NationalPark = FeatureTypeCode('n','a','p') , NavalBase = FeatureTypeCode('n','a','v') , Neighborhood = FeatureTypeCode('n','e','i') , NursingHome = FeatureTypeCode('n','u','r') , Orchard = FeatureTypeCode('o','r','c') , PrecisionApproachPathIndicator = FeatureTypeCode('p','a','p') , Park = FeatureTypeCode('p','a','r') , PublicBuilding = FeatureTypeCode('p','b','u') , PostBox = FeatureTypeCode('p','b','x') , PostCode = FeatureTypeCode('p','c','o') , PicnicTable = FeatureTypeCode('p','c','t') , Peak = FeatureTypeCode('p','e','a') , Pharmacy = FeatureTypeCode('p','h','a') , Phone = FeatureTypeCode('p','h','o') , PicnicSite = FeatureTypeCode('p','i','c') , Pier = FeatureTypeCode('p','i','e') , Pipeline = FeatureTypeCode('p','i','p') , ParkingEntrance = FeatureTypeCode('p','k','e') , Parking = FeatureTypeCode('p','k','g') , ParkingSpace = FeatureTypeCode('p','k','s') , PlantNursery = FeatureTypeCode('p','l','a') , Platform = FeatureTypeCode('p','l','f') , PlaceOfWorship = FeatureTypeCode('p','l','w') , Playground = FeatureTypeCode('p','l','y') , PostOffice = FeatureTypeCode('p','o','f') , Police = FeatureTypeCode('p','o','l') , Position = FeatureTypeCode('p','o','s') , ProtectedArea = FeatureTypeCode('p','r','a') , PowerSubStation = FeatureTypeCode('p','s','s') , Pub = FeatureTypeCode('p','u','b') , PowerLine = FeatureTypeCode('p','w','l') , PowerStation = FeatureTypeCode('p','w','s') , Quarry = FeatureTypeCode('q','a','r') , Quarter = FeatureTypeCode('q','r','t') , Range = FeatureTypeCode('r','a','n') , Rapids = FeatureTypeCode('r','a','p') , Recycling = FeatureTypeCode('r','c','y') , RecreationGround = FeatureTypeCode('r','e','c') , Reef = FeatureTypeCode('r','e','e') , Region = FeatureTypeCode('r','e','g') , Retail = FeatureTypeCode('r','e','t') , Ridge = FeatureTypeCode('r','i','j') , River = FeatureTypeCode('r','i','v') , Rock = FeatureTypeCode('r','o','c') , RoundHouse = FeatureTypeCode('r','o','u') , ResidentialArea = FeatureTypeCode('r','s','d') , Restaurant = FeatureTypeCode('r','s','t') , Reservoir = FeatureTypeCode('r','s','v') , Runway = FeatureTypeCode('r','u','n') , Route = FeatureTypeCode('r','u','t') , RiverBank = FeatureTypeCode('r','v','b') , SaltPond = FeatureTypeCode('s','a','l') , Sand = FeatureTypeCode('s','a','n') , Sauna = FeatureTypeCode('s','a','u') , School = FeatureTypeCode('s','c','h') , Scree = FeatureTypeCode('s','c','r') , Scrub = FeatureTypeCode('s','c','b') , Sea = FeatureTypeCode('s','e','a') , StateEmergencyServiceStation = FeatureTypeCode('s','e','s') , Shop = FeatureTypeCode('s','h','o') , SkiRoute = FeatureTypeCode('s','k','r') , Slipway = FeatureTypeCode('s','l','i') , SportsCenter = FeatureTypeCode('s','p','o') , SportsPitch = FeatureTypeCode('s','p','p') , Spring = FeatureTypeCode('s','p','r') , SportsTrack = FeatureTypeCode('s','p','t') , State = FeatureTypeCode('s','t','a') , Stadium = FeatureTypeCode('s','t','m') , RailwayStation = FeatureTypeCode('s','t','n') , Station = FeatureTypeCode('s','t','n') , Stone = FeatureTypeCode('s','t','o') , StopPosition = FeatureTypeCode('s','t','p') , Stream = FeatureTypeCode('s','t','r') , Strait = FeatureTypeCode('s','t','t') , Suburb = FeatureTypeCode('s','u','b') , Supermarket = FeatureTypeCode('s','u','p') , SurveyPoint = FeatureTypeCode('s','u','r') , SubwayEntrance = FeatureTypeCode('s','w','e') , SwimmingPool = FeatureTypeCode('s','w','i') , Tank = FeatureTypeCode('t','a','n') , Taxi = FeatureTypeCode('t','a','x') , Theatre = FeatureTypeCode('t','h','e') , ThemePark = FeatureTypeCode('t','h','p') , Toilet = FeatureTypeCode('t','o','i') , Town = FeatureTypeCode('t','o','w') , TurningCircle = FeatureTypeCode('t','c','i') , TurningPoint = FeatureTypeCode('t','p','t') , Tram = FeatureTypeCode('t','r','a') , Tree = FeatureTypeCode('t','r','e') , TrafficSignals = FeatureTypeCode('t','r','f') , TrackPoint = FeatureTypeCode('t','r','p') , TreeRow = FeatureTypeCode('t','r','r') , TramStop = FeatureTypeCode('t','r','s') , TurnTable = FeatureTypeCode('t','u','r') , Tower = FeatureTypeCode('t','w','r') , Taxiway = FeatureTypeCode('t','w','y') , University = FeatureTypeCode('u','n','i') , VisualApproachSlopeIndicator = FeatureTypeCode('v','a','s') , VillageGreen = FeatureTypeCode('v','i','g') , Village = FeatureTypeCode('v','i','l') , Vineyard = FeatureTypeCode('v','i','n') , ViewPoint = FeatureTypeCode('v','i','w') , Volcano = FeatureTypeCode('v','o','l') , Waterfall = FeatureTypeCode('w','a','f') , WaterPark = FeatureTypeCode('w','a','p') , Water = FeatureTypeCode('w','a','t') , Weir = FeatureTypeCode('w','e','r') , Wetland = FeatureTypeCode('w','e','t') , Windsock = FeatureTypeCode('w','i','s') , WalkingRoute = FeatureTypeCode('w','l','k') , Wood = FeatureTypeCode('w','o','o') , Works = FeatureTypeCode('w','o','r') , Waypoint = FeatureTypeCode('w','p','t') , WaterTower = FeatureTypeCode('w','t','t') , WaterWell = FeatureTypeCode('w','t','w') , Zoo = FeatureTypeCode('z','o','o') , LegacyBridleway = FeatureTypeCode('b','r','i') , LegacyCycleway = FeatureTypeCode('c','y','c') , LegacyFootway = FeatureTypeCode('f','o','o') , LegacyLightRail = FeatureTypeCode('l','i','r') , LegacyMonorail = FeatureTypeCode('m','o','n') , LegacyNarrowGauge = FeatureTypeCode('n','a','r') , LegacyPreservedRailway = FeatureTypeCode('p','r','y') , LegacyRailway = FeatureTypeCode('r','l','y') , LegacySteps = FeatureTypeCode('s','t','e') , LegacySubway = FeatureTypeCode('s','w','y') , LegacyTram = FeatureTypeCode('t','r','a') , Invalid = 32767 } |
Every map object has a feature type. More... | |
enum class | FeatureDiscriminator { NonRoute = 0 , BridgeRoute = 1 , TunnelRoute = 2 , Route = 3 } |
The feature discriminator stored in a FeatureInfo object. More... | |
enum class | FeatureConstants { KRouteTypeCount = 32 , KGradientCount = 8 , KMaxSubType = 2047 , KRouteAccessShift = 26 , KRouteAccessMask = int(63U << KRouteAccessShift) , KRouteAccessWrongWayFlag = 1 << 26 , KRouteAccessPedestrianFlag = 1 << 27 , KRouteAccessCycleFlag = 1 << 28 , KRouteAccessMotorVehicleFlag = 1 << 29 , KRouteAccessEmergencyVehicleFlag = 1 << 30 , KRouteAccessOtherFlag = int(1U << 31) , KRouteAccessVehicle = KRouteAccessCycleFlag | KRouteAccessMotorVehicleFlag | KRouteAccessEmergencyVehicleFlag , KRouteAccessNormal = KRouteAccessCycleFlag | KRouteAccessMotorVehicleFlag | KRouteAccessPedestrianFlag } |
Constants referring to the FeatureType and FeatureInfo classes. More... | |
enum class | Result { Success = 0 , ErrorNone = 0 , ErrorGeneral = 1 , ErrorNoMemory = 2 , ErrorEndOfData = 3 , ErrorTextUnmodifiable = 4 , ErrorTextTruncated = 5 , ErrorNotFound = 6 , ErrorUnimplemented = 7 , ErrorInvalidOutline = 8 , ErrorIo = 9 , ErrorCorrupt = 10 , ErrorUnknownDataFormat = 11 , ErrorNoInverse = 12 , ErrorProjectionOverflow = 13 , ErrorCancel = 14 , ErrorInvalidArgument = 15 , ErrorUnknownVersion = 16 , ErrorOverflow = 17 , ErrorParallelLines = 19 , ErrorNoPalette = 22 , ErrorDuplicate = 23 , ErrorNoProjection = 24 , ErrorPaletteFull = 25 , ErrorInvalidDashArray = 26 , ErrorCentralPath = 27 , ErrorNoRoute = 28 , ErrorZoomLimitReached = 29 , ErrorAlreadyProjected = 30 , ErrorConditionsTooDeeplyNested = 31 , ErrorNullFont = 32 , ErrorInternetIo = 33 , ErrorDivideByZero = 34 , ErrorTransformFailed = 35 , ErrorPngRead = 36 , ErrorJpgRead = 37 , ErrorNoIntersection = 38 , ErrorInterrupt = 39 , ErrorMapDataBaseFormatMismatch = 40 , ErrorEncryptionKeyTooShort = 41 , ErrorNoEncryptionKey = 42 , ErrorEmergencyMessage = 43 , ErrorAlertMessage = 44 , ErrorCriticalMessage = 45 , ErrorErrorMessage = 46 , ErrorWarningMessage = 47 , ErrorNoticeMessage = 48 , ErrorInfoMessage = 49 , ErrorDebugMessage = 50 , ErrorNotNavigating = 51 , ErrorNoFramework = 52 , ErrorFrameworkAlreadyExists = 53 , ErrorUntransliterable = 54 , ErrorPngWrite = 55 , ErrorReadOnlyMapDataBase = 56 , ErrorProj4 = 57 , ErrorUnlicensed = 58 , ErrorNoRoadsNearStartOfRoute = 59 , ErrorNoRoadsNearEndOfRoute = 60 , ErrorNoRouteConnectivity = 61 , ErrorXmlFeatureNotSupported = 62 , ErrorMapNotFound = 63 , ErrorFontNotFound = 64 , ErrorStyleSheetNotFound = 65 , ErrorFeatureInfoIsNotRoute = 66 , ErrorFeatureInfoIsRoute = 67 , ErrorNoRouteData = 68 , ErrorTooManyFontsInStyleSheet = 69 , ErrorTooManyBoxStylesInStyleSheet = 70 , StandardErrorCodeCount = 71 , ErrorXmlRangeStart = 0x10000000 , ErrorXmlRangeEnd = 0x2AFFFFFF , ErrorSQLite = 0x30000000 } |
Result codes returned by CartoType API functions. More... | |
Functions | |
Color | CreateColor (int aRed, int aGreen, int aBlue) |
Creates a color from red, green, and blue values. | |
Color | CreateColor (int aRed, int aGreen, int aBlue, int aAlpha) |
Creates a color from red, green, blue and alpha values. | |
uint32_t constexpr | FeatureTypeCode (int A, int B, int C) |
void | ThrowError (unsigned int aError) |
The CartoType map rendering library.
|
strong |
Text alignments.
|
strong |
Types of clipping done by Geometry.Clip.
|
strong |
Values of frequently used colors as 32-bit integers.
|
strong |
Coordinate types.
|
strong |
Constants referring to the FeatureType and FeatureInfo classes.
|
strong |
The feature discriminator stored in a FeatureInfo object.
Enumerator | |
---|---|
NonRoute | Not a route. |
BridgeRoute | A route that is a bridge. |
TunnelRoute | A route that is a tunnel. |
Route | A route that is neither a tunnel nor a bridge. |
|
strong |
Every map object has a feature type.
The first 32 feature types are used for routable objects and their values are indexes into tables of speeds and weights in route profiles. Other feature types are constructed from three-letter codes.
All feature type values must fit into 15 bits, and therefore must be in the range 0...32767.
|
strong |
File types of interest to CartoType.
Enumerator | |
---|---|
Png | PNG (Portable Network Graphics) image files. |
Jpeg | JPEG (Joint Photographic Expert Group) image files. |
Tiff | TIFF (Tagged Image File Format) image files. |
Ctm1 | CTM1 (CartoType Map Data Type 1) map data files. |
Ctms | CTMS (CartoType Map Data, Serialized) map data files. |
Kml | KML (Keyhole Markup Language) map data files. |
Ctsql | CTSQL (CartoType SQLite format) map data files. |
CartoTypeRoute | CTROUTE (CartoType XML route) files. |
Gpx | GPX (GPS Exchange) files. |
|
strong |
|
strong |
Flags controlling the way the map follows the user location and heading and automatically zooms.
|
strong |
The case of letters and strings in the Latin, Greek, Cyrillic and other alphabetic scripts.
|
strong |
The type of a location reference used for traffic information.
|
strong |
An enumerated type for map objects.
|
strong |
Identifiers of tables in CTM1 map files.
|
strong |
States of the navigation system.
Enumerator | |
---|---|
None | No route has been created, or navigation is disabled. |
NoPosition | There is a route but no position has been supplied. |
Turn | The current position is on the route and turn information is available. |
OffRoute | The current position is off the route. |
Routing | Route calculation is in progress. |
NewRoute | A new route has been calculated. |
TurnRound | The latest position is on the route but a U-turn is needed. |
Arrival | The latest position is on the route and very close to the destination. |
|
strong |
Positions for notices like the legend or scale bar. Use functions taking an ExtendedNoticePosition for greater control.
|
strong |
|
strong |
The format used for points in CTM1 data. These numbers must fit into 8 bits for the moment because of the way they are stored in the CTM1 file. The values are discontinuous because several obsolete values have been discarded.
|
strong |
Types used by PathPoint.
Enumerator | |
---|---|
OnCurve | A point on the curve. |
Quadratic | A control point for a quadratic (conic) Bezier spline curve. |
Cubic | A control point for a cubic Bezier spline curve. |
|
strong |
Result codes returned by CartoType API functions.
Enumerator | |
---|---|
Success | No error; a successful result. |
ErrorNone | No error; a successful result. |
ErrorGeneral | An error has occurred but no other CartoType error is applicable. For example, this error code can be used when FreeType returns an error code for illegal TrueType hinting instructions. |
ErrorNoMemory | ErrorNoMemory is returned when an attempted memory allocation fails. |
ErrorEndOfData | ErrorEndOfData is returned by iterators and streams when no more data is available. It may be treated as an error or not depending on the circumstances. |
ErrorTextUnmodifiable | ErrorTextUnmodifiable is returned when an attempt is made to modify an unmodifiable string represented by a class derived from MString. |
ErrorTextTruncated | ErrorTextTruncated is returned when text inserted into a string derived from MString is too long for a fixed-size buffer. |
ErrorNotFound | ErrorNotFound is returned whenever a resource like a file is not found, or a search fails. It may be treated as an error or not depending on the circumstances. |
ErrorUnimplemented | The code ErrorUnimplemented is used for functions that have not yet been implemented, or for circumstances or options within functions that remain unimplemented because they are deemed to be either rarely or never useful. |
ErrorInvalidOutline | If the graphics system detects an invalid outline, such as one that starts with a cubic control point, it returns ErrorInvalidOutline. |
ErrorIo | The code ErrorIo is used for unexpected read or write errors on files or other data streams. This is for where you attempt to read data that should be there, but the OS says it's unavailable (e.g., someone has taken the CD out of the drive or the network is down). |
ErrorCorrupt | ErrorCorrupt is returned when illegal values are found when reading data from a file or other serialized form. |
ErrorUnknownDataFormat | This error is returned by database accessors, typeface accessors, etc., to indicate that this data format is unknown to a particular accessor. It is not really an error but tells the caller to try the next accessor in the list. |
ErrorNoInverse | This error is returned by transformation inversion if the transformation has no inverse. |
ErrorProjectionOverflow | This error is returned by the projection system if the projection causes overflow. |
ErrorCancel | The code ErrorCancel is returned to cancel an asynchronous operation that uses callbacks. The callback or virtual function returns this code. The caller must terminate further processing on receipt of any error, but this one indicates that there has been no actual error, but the handler has canceled the operation. |
ErrorInvalidArgument | This error is returned when an invalid argument has been given to a function. |
ErrorUnknownVersion | This error is returned by a data reader when it can not deal with the data version. |
ErrorOverflow | This error is returned by the base library when reading data or calculations result in overflow. |
ErrorParallelLines | The error code returned by line intersection algorithms when the lines are parallel. |
ErrorNoPalette | An attempt was made to draw a bitmap needing a color palette but no palette was provided. |
ErrorDuplicate | An attempt was made to insert a duplicate object into a collection class that does not allow duplicates. |
ErrorNoProjection | The projection for converting latitude and longitude to map coordinates is unknown or unavailable. |
ErrorPaletteFull | A palette is full and no new entries can be added. |
ErrorInvalidDashArray | The dash array for drawing strokes is invalid. |
ErrorCentralPath | The central-path system failed to create a usable path. |
ErrorNoRoute | A route was needed by the navigation system but no route was available. |
ErrorZoomLimitReached | There was an attempt to zoom beyond the legal zoom limits for a map. |
ErrorAlreadyProjected | There was an attempt to project a map object that had already been projected. |
ErrorConditionsTooDeeplyNested | Conditions are too deeply nested in the style sheet. |
ErrorNullFont | There was an attempt to use a null font for drawing text. |
ErrorInternetIo | An attempt to read data from the internet failed. |
ErrorDivideByZero | Division by zero in an interpreted expression. |
ErrorTransformFailed | A transform failed because an argument or result was out of range. |
ErrorPngRead | Reading a bitmap from PNG format failed. |
ErrorJpgRead | Reading a bitmap from JPG format failed. |
ErrorNoIntersection | An object did not intersect a specified region. |
ErrorInterrupt | An operation was interrupted, for example by another thread writing to a shared flag. |
ErrorMapDataBaseFormatMismatch | There was an attempt to use map databases of incompatible formats together. |
ErrorEncryptionKeyTooShort | A key supplied for encryption was too short. |
ErrorNoEncryptionKey | No encryption key has been set. |
ErrorEmergencyMessage | A code for standard emergency messages. |
ErrorAlertMessage | A code for standard alert messages. |
ErrorCriticalMessage | A code for standard critical messages. |
ErrorErrorMessage | A code for standard error messages. |
ErrorWarningMessage | A code for standard warning messages. |
ErrorNoticeMessage | A code for standard notice messages. |
ErrorInfoMessage | A code for standard information messages. |
ErrorDebugMessage | A code for standard debug messages. |
ErrorNotNavigating | A function has been called which is available only when navigating. |
ErrorNoFramework | The global framework object does not exist. |
ErrorFrameworkAlreadyExists | The global framework object already exists. |
ErrorUntransliterable | A string was not transliterable. |
ErrorPngWrite | Writing a bitmap to PNG format failed. |
ErrorReadOnlyMapDataBase | There was an attempt to write to a read-only map database. |
ErrorProj4 | There was an error in the PROJ.4 projection library error other than a projection overflow. |
ErrorUnlicensed | A function was called from the unlicensed version of CartoType that is available only in the licensed version. |
ErrorNoRoadsNearStartOfRoute | No route could be created because there were no roads near the start point of a route section. |
ErrorNoRoadsNearEndOfRoute | No route could be created because there were no roads near the end point of a route section. |
ErrorNoRouteConnectivity | No route could be created because the start and end point were not connected. |
ErrorXmlFeatureNotSupported | An unsupported feature was requested from the XML parser. |
ErrorMapNotFound | A map file was not found. |
ErrorFontNotFound | A font file was not found. |
ErrorStyleSheetNotFound | A style sheet was not found. |
ErrorFeatureInfoIsNotRoute | An attempt was made to set a route attribute on a feature info that is not a route. |
ErrorFeatureInfoIsRoute | An attempt was made to set a non-route attribute on a feature info that is a route. |
ErrorNoRouteData | No route data is available. |
ErrorTooManyFontsInStyleSheet | Too many fonts are used in a style sheet. |
ErrorTooManyBoxStylesInStyleSheet | Too many box styles are used in a style sheet. |
StandardErrorCodeCount | The number of standard error codes. |
ErrorXmlRangeStart | The start of the range of errors in XML parsing or in the style sheet format, such as a syntactically incorrect dimension or color. The top byte is 0x10 for style sheet errors, or in the range 0x11 to 0x2A for Expat XML parser error codes. The low three bytes give the error location: one byte for the column number (clamped to 0...255) two bytes for the line number (clamped to 0...65535). |
ErrorXmlRangeEnd | The end of the range of errors in XML parsing or in the style sheet format. |
ErrorSQLite | The base of error codes for returning SQLite errors. The SQLite error code is placed in the lower two bytes. |
|
strong |
|
strong |
|
strong |
Types of router; used when selecting a router type.
|
strong |
Flags and constants used when finding text.
|
strong |
Turn types on a route. Turns at junctions are classified by dividing the full circle into 45-degree segments, except for sharp turns left and right, which encompass everything up to an actual U-turn.
The actual turn angle is also given in the Turn class.
|
strong |
Bit flags used in Framework.Navigate to indicate which information is valid.
Enumerator | |
---|---|
Time | A flag used in Framework.Navigate to indicate that the time is valid. |
Position | A flag used in Framework.Navigate to indicate that the position is valid. |
Speed | A flag used in Framework.Navigate to indicate that the speed is valid. |
Course | A flag used in Framework.Navigate to indicate that the course is valid. |
Height | A flag used in Framework.Navigate to indicate that the height is valid. |
|
strong |
|
inlineconstexpr |
Constructs a 15-bit feature type code from 3 lower-case letters.
void CartoType::ThrowError | ( | unsigned int | aError | ) |
Throws an exception for the CartoType error code aError. For internal use.