CartoType iOS API 7.8.2, 2022-03-25
for development in Swift and Objective C for iOS and Mac OS
CartoTypeFramework.h
Go to the documentation of this file.
1/*
2CartoTypeFramework.h
3Copyright 2013-2021 CartoType Ltd.
4See www.cartotype.com for more information.
5*/
6
7#import <CartoType/CartoTypeBase.h>
8#import <CartoType/CartoTypeRouter.h>
9#import <CartoType/CartoTypeResultCode.h>
10#import <CartoType/CartoTypeFrameworkParam.h>
11#import <CartoType/CartoTypeLegend.h>
12#import <QuartzCore/QuartzCore.h>
13
38 -(void)handler:(NSMutableArray<CartoTypeMapObject*>*)aObjectArray;
39@end
40
44 -(void)handler:(NSMutableArray<CartoTypeMapObjectGroup*>*)aObjectGroupArray;
45@end
46
50 -(void)handler:(CTResult)aResult route:(CartoTypeRoute*)aRoute;
51@end
52
58@interface CartoTypeFramework: NSObject
59
72-(id)initWithMap:(NSString*)aMapFileName andStyle:(NSString*)aStyleSheetFileName andFont:(NSString*)aFontFileName andWidth:(int)aWidth andHeight:(int)aHeight;
73
77-(id)initWithParam:(CartoTypeFrameworkParam*)aParam;
78
82-(void*)getFramework;
83
85-(id)copy;
86
88-(CTResult)configure:(NSString*)aConfigFileName;
89
91+(NSString*)version;
92
94+(NSString*)build;
95
97-(CTResult)license:(NSString*)aKey;
98
100-(NSString*)licensee;
101
103-(NSString*)expiryDate;
104
106-(NSString*)appBuildDate;
107
109-(NSString*)copyright;
110
112-(void)setCopyrightNotice;
113
115-(void)setCopyrightNotice:(NSString*)aCopyright;
116
118-(void)setLegend:(CartoTypeLegend*)aLegend width:(double)aWidth unit:(NSString*)aUnit extendedPosition:(CartoTypeExtendedNoticePosition*)aPosition;
119
121-(void)setLegend:(CartoTypeLegend*)aLegend width:(double)aWidth unit:(NSString*)aUnit position:(CartoTypeNoticePosition)aPosition;
122
124-(void)enableLegend:(bool)aEnable;
125
127-(void)setScaleBar:(bool)aMetricUnits width:(double)aWidth unit:(NSString*)aUnit extendedPosition:(CartoTypeExtendedNoticePosition*)aPosition;
128
130-(void)setScaleBar:(bool)aMetricUnits width:(double)aWidth unit:(NSString*)aUnit position:(CartoTypeNoticePosition)aPosition;
131
133-(void)enableScaleBar:(bool)aEnable;
134
136-(CTResult)setTurnInstructions:(bool)aMetricUnits abbreviate:(bool)aAbbreviate width:(double)aWidth widthUnit:(NSString*)aWidthUnit extendedPosition:(CartoTypeExtendedNoticePosition*)aPosition textSize:(double)aTextSize textSizeUnit:(NSString*)aTextSizeUnit;
137
139-(CTResult)setTurnInstructions:(bool)aMetricUnits abbreviate:(bool)aAbbreviate width:(double)aWidth widthUnit:(NSString*)aWidthUnit position:(CartoTypeNoticePosition)aPosition textSize:(double)aTextSize textSizeUnit:(NSString*)aTextSizeUnit;
140
142-(void)enableTurnInstructions:(bool)aEnable;
143
150-(void)setTurnInstructionText:(NSString*)aText;
151
156-(NSString*)turnInstructionText;
157
162-(void)drawNoticesAutomatically:(bool)aEnable;
163
165-(bool)hasNotices;
166
172
178-(CTResult)loadMap:(NSString*)aMapFileName;
179
186-(bool)setMapsOverlap:(bool)aEnable;
187
192-(CTResult)unloadMapByHandle:(uint32_t)aHandle;
193
195-(CTResult)createWritableMapOfType:(CartoTypeWritableMapType)aType;
196
203-(CTResult)saveMap:(uint32_t)aHandle fileName:(NSString*)aFileName fileType:(CartoTypeFileType)aFileType;
204
212-(CTResult)readMap:(uint32_t)aHandle fileName:(NSString*)aFileName fileType:(CartoTypeFileType)aFileType;
213
219-(NSData*)saveMap:(uint32_t)aHandle param:(CartoTypeFindParam*)aFindParam;
220
225-(CTResult)readMap:(uint32_t)aHandle data:(NSData*)aData;
226
233-(CTResult)writeMapImage:(NSString*)aFileName fileType:(CartoTypeFileType)aFileType compress:(bool)aCompress;
234
236-(bool)mapIsEmpty:(uint32_t)aHandle;
237
239-(void)enableMap:(uint32_t)aHandle;
240
242-(void)disableMap:(uint32_t)aHandle;
243
245-(uint32_t)getLastMapHandle;
246
248-(uint32_t)getMainMapHandle;
249
251-(uint32_t)getMemoryMapHandle;
252
254-(size_t)mapCount;
255
257-(CartoTypeMapMetaData*)mapMetaData:(uint32_t)aIndex;
258
264-(CTResult)loadFont:(NSString*)aFontFileName;
265
271-(CTResult)setStyleSheet:(NSString*)aStyleSheetFileName;
272
278
283-(CTResult)setMapWidth:(int)aWidth andHeight:(int)aHeight;
284
286-(void)setResolutionDpi:(double)aDpi;
287
289-(double)getResolutionDpi;
290
295-(CTResult)setScaleDenominator:(double)aScale;
296
301-(double)getScaleDenominator;
302
307-(CTResult)setScaleDenominatorInView:(double)aScale;
308
314
319-(double)scaleDenominatorFromZoomLevel:(double)aZoomLevel forImageSize:(int)aImageSizeInPixels;
320
325-(double)zoomLevelFromScaleDenominator:(double)aScaleDenominator forImageSize:(int)aImageSizeInPixels;
326
328-(double)getDistanceInMetersFrom:(CartoTypePoint)aStart to:(CartoTypePoint)aEnd coordType:(CartoTypeCoordType)aCoordType;
329
331-(void)setPerspective:(bool)aSet;
332
334-(void)setPerspectiveParam:(CartoTypePerspectiveParam*)aParam;
335
337-(bool)getPerspective;
338
341
343-(bool)setDraw3DBuildings:(bool)aSet;
344
346-(bool)getDraw3DBuildings;
347
349-(bool)setAnimateTransitions:(bool)aSet;
350
353
355-(CTResult)zoom:(double)aZoomFactor;
356
364-(CTResult)zoomAt:(double)aZoomFactor x:(double)aX y:(double)aY coordType:(CartoTypeCoordType)aCoordType;
365
367-(CTResult)rotate:(double)aAngle;
368
370-(CTResult)rotateAt:(double)aAngle x:(double)aX y:(double)aY coordType:(CartoTypeCoordType)aCoordType;
371
373-(CTResult)setRotation:(double)aAngle;
374
376-(CTResult)setRotationAt:(double)aAngle x:(double)aX y:(double)aY coordType:(CartoTypeCoordType)aCoordType;
377
379-(double)getRotation;
380
382-(CTResult)panX:(int)aDx andY:(int)aDy;
383
385-(CTResult)panFrom:(CartoTypePoint)aFrom fromCoordType:(CartoTypeCoordType)aFromCoordType to:(CartoTypePoint)aTo toCoordType:(CartoTypeCoordType) aToCoordType;
386
391-(CTResult)setViewCenter:(CartoTypePoint)aCenter coordType:(CartoTypeCoordType)aCoordType;
392
403-(CTResult)setView:(CartoTypeRect)aView coordType:(CartoTypeCoordType)aCoordType margin:(int)aMarginInPixels minScale:(int)aMinScaleDenominator;
404
406-(CTResult)setView:(CartoTypeGeometry*)aGeometry margin:(int)aMarginInPixels minScale:(int)aMinScaleDenominator;
407
409-(CTResult)setView:(CartoTypeViewState*)aViewState;
410
416-(CTResult)setViewToRoute:(int)aRouteIndex margin:(int)aMarginInPixels minScale:(int)aMinScaleDenominator;
417
420
430-(CTResult)setViewLimitsToMinScale:(double)aMinScaleDenominator maxScale:(double)aMaxScaleDenominator panArea:(CartoTypeGeometry*)aPanArea;
431
433-(CTResult)setViewObject:(CartoTypeMapObject*)aMapObject margin:(int)aMarginInPixels minScale:(int)aMinScaleDenominator;
434
436-(CTResult)setViewObjects:(NSArray<CartoTypeMapObject*>*)aObjectArray margin:(int)aMarginInPixels minScale:(int)aMinScaleDenominator;
437
439-(CTResult)getView:(CartoTypeRect*)aView coordType:(CartoTypeCoordType)aCoordType;
440
443
445-(CTResult)getMapExtent:(CartoTypeRect*)aExtent coordType:(CartoTypeCoordType)aCoordType;
446
448-(NSString*)getProjectionAsProj4Param;
449
451-(CTResult)insertMapObject:(CartoTypeMapObjectParam*)aParam;
452
470-(CartoTypeIdAndResult)insertPushPin:(CartoTypePoint)aPoint coordType:(CartoTypeCoordType)aCoordType stringAttrib:(NSString*)aStringAttrib color:(NSString*)aColor iconChar:(int)aIconCharacter id:(uint64_t)aId;
471
481-(CartoTypeIdAndResult)insertCopyOfMapObject:(CartoTypeMapObject*)aObject map:(uint32_t)aMapHandle layerName:(NSString*)aLayerName radius:(double)aRadius radiusCoordType:(CartoTypeCoordType)aRadiusCoordType id:(uint64_t)aId replace:(bool)aReplace;
482
488-(uint64_t)deleteObjectsFromMap:(uint32_t)aMapHandle fromID:(uint64_t)aStartID toID:(uint64_t)aEndId withCondition:(NSString*)aCondition;
489
491-(CartoTypeMapObject*)loadMapObjectFromMap:(uint32_t)aMapHandle withID:(uint64_t)aObjectId;
492
501-(CTResult)readGpx:(uint32_t)aMapHandle file:(NSString*)aFileName;
502
511-(CartoTypeGeometry*)range:(CartoTypeRouteProfile*)aProfile point:(CartoTypePoint)aPoint coordType:(CartoTypeCoordType)aCoordType timeOrDistance:(double)aTimeOrDistance isTime:(bool)aIsTime;
512
519-(CartoTypeTimeAndDistanceMatrix*)timeAndDistanceMatrix:(CartoTypePointSet*)aFrom to:(CartoTypePointSet*)aTo;
520
525-(CartoTypeRouteAccess)routeAccess:(CartoTypePoint)aPoint coordType:(CartoTypeCoordType)aCoordType;
526
528-(void)enableLayer:(NSString*)aLayerName;
529
531-(void)disableLayer:(NSString*)aLayerName;
532
534-(bool)layerIsEnabled:(NSString*)aLayerName;
535
537-(NSMutableArray<NSString*>*)getLayerNames;
538
540-(CTResult)convertCoords:(CartoTypeGeometry*)aGeometry to:(CartoTypeCoordType)aToCoordType;
541
543-(CartoTypePointAndResult)convertPoint:(CartoTypePoint)aPoint from:(CartoTypeCoordType)aFromCoordType to:(CartoTypeCoordType)aToCoordType;
544
546-(NSString*)getDataSetName;
547
549-(double)pixelsToMeters:(double)aPixels;
550
552-(double)metersToPixels:(double)aMeters;
553
559-(CTResult)editSetWritableMap:(uint32_t)aMapHandle;
560
562-(CTResult)editNewLineObject:(CartoTypePoint)aDisplayPoint;
563
565-(CTResult)editNewPolygonObject:(CartoTypePoint)aDisplayPoint;
566
568-(CTResult)editMoveCurrentPoint:(CartoTypePoint)aDisplayPoint;
569
572
575
578
583-(CTResult)editSelectNearestPoint:(CartoTypePoint)aDisplayPoint radius:(double)aRadiusInMillimeters;
584
590-(CartoTypeIdAndResult)editInsertCurrentObjectInLayer:(NSString*)aLayer id:(uint64_t)aId replace:(bool)aReplace;
591
593-(CTResult)editSetCurrentObjectStringAttribute:(NSString*)aKey value:(NSString*)aValue;
594
596-(CTResult)editSetCurrentObjectIntAttribute:(uint32_t)aValue;
597
604
606-(CGImageRef)getMapBitmap;
607
609-(CGImageRef)getMemoryDataBaseMapBitmap;
610
612-(void)enableDrawingMemoryDataBase:(bool)aEnable;
613
620-(CGImageRef)getTileBitmapWithSize:(int)aSize andZoom:(int)aZoom andX:(int)aX andY:(int)aY;
621
629-(bool)clipBackgroundToMapBounds:(bool)aEnable;
630
644-(int)setTileOverSizeZoomLevels:(int)aLevels;
645
661-(CTResult)loadIcon:(NSString*)aFileName id:(NSString*)aId hotSpot:(CartoTypePoint)aHotSpot labelPos:(CartoTypePoint)aLabelPos labelMaxlength:(int)aLabelMaxLength;
662
672-(CTResult)find:(NSMutableArray<CartoTypeMapObject*>*)aObjectArray withParam:(CartoTypeFindParam*)aFindParam;
673
685-(CTResult)findAsync:(id<CartoTypeFindAsyncProtocol>*)aCallback param:(CartoTypeFindParam*)aFindParam override:(bool)aOverride;
686
696-(NSMutableArray<CartoTypeMapObjectGroup*>*)findGroups:(CartoTypeFindParam*)aFindParam;
697
714-(CTResult)findAsyncGroups:(id<CartoTypeFindAsyncGroupProtocol>*)aCallback param:(CartoTypeFindParam*)aFindParam override:(bool)aOverride;
715
720-(CTResult)findNearby:(NSMutableArray<CartoTypeMapObject*>*)aObjectArray POIType:(CartoTypePointOfInterestType)aPOIType text:(NSString*)aText location:(CartoTypeGeometry*)aLocation;
721
731-(CTResult)find:(NSMutableArray<CartoTypeMapObject*>*)aObjectArray maxItems:(int)aMaxItems address:(CartoTypeAddress*)aAddress fuzzy:(bool)aFuzzy;
732
744-(CTResult)findAddressAsync:(id<CartoTypeFindAsyncProtocol>*)aCallback maxItems:(int)aMaxItems address:(CartoTypeAddress*)aAddress fuzzy:(bool)aFuzzy override:(bool)aOverride;
745
757-(CTResult)findStreetAddresses:(NSMutableArray<CartoTypeMapObject*>*)aObjectArray maxItems:(int)aMaxItems address:(CartoTypeAddress*)aAddress clip:(CartoTypeGeometry*) aClip;
758
765-(CTResult)findInDisplay:(NSMutableArray<CartoTypeMapObject*>*)aObjectArray maxItems:(int)aMaxItems point:(CartoTypePoint)aPoint radius:(double)aRadius;
766
773-(CTResult)findBuildingsNearStreet:(NSMutableArray<CartoTypeMapObject*>*)aObjectArray street:(CartoTypeMapObject*)aStreet;
774
776-(CTResult)findInLayer:(NSMutableArray<CartoTypeMapObject*>*)aObjectArray maxItems:(int)aMaxItems layer:(NSString*)aLayer clip:(CartoTypeRect)aClip coordType:(CartoTypeCoordType)aCoordType;
777
785-(CTResult)findAddressPart:(NSMutableArray<CartoTypeMapObject*>*)aObjectArray maxItems:(int)aMaxItems text:(NSString*)aText addressPart:(CartoTypeAddressPart)aAddressPart fuzzy:(bool)aFuzzy incremental:(bool)aIncremental;
786
792-(CTResult)findPolygonsContainingPath:(NSMutableArray<CartoTypeMapObject*>*)aObjectArray path:(CartoTypeGeometry*)aPath findParam:(CartoTypeFindParam*)aFindParam;
793
799-(CTResult)findPointsInPath:(NSMutableArray<CartoTypeMapObject*>*)aObjectArray path:(CartoTypeGeometry*)aPath findParam:(CartoTypeFindParam*)aFindParam;
800
807-(NSString*)getGeoCodeSummary:(CartoTypeMapObject*)aMapObject;
808
815-(NSString*)getGeoCodeSummary:(CartoTypePoint)aPoint coordType:(CartoTypeCoordType)aCoordType;
816
822-(CTResult)getAddress:(CartoTypeAddress*)aAddress mapObject:(CartoTypeMapObject*)aMapObject;
823
828-(CTResult)getAddressFast:(CartoTypeAddress*)aAddress mapObject:(CartoTypeMapObject*)aMapObject;
829
835-(CTResult)getAddress:(CartoTypeAddress*)aAddress point:(CartoTypePoint)aPoint coordType:(CartoTypeCoordType)aCoordType;
836
838-(double)getMapObjectArea:(CartoTypeMapObject*)aMapObject;
839
841-(double)getMapObjectLengthOrPerimeter:(CartoTypeMapObject*)aMapObject;
842
850-(double)getHeight:(CartoTypePoint)aPoint coordType:(CartoTypeCoordType)aCoordType;
851
862-(NSMutableArray<NSNumber*>*)getHeights:(CartoTypeGeometry*)aGeometry;
863
865-(void)setStyleSheetVariable:(NSString*)aName toString:(NSString*)aValue;
866
868-(void)setStyleSheetVariable:(NSString*)aName toInt:(int)aValue;
869
871-(bool)setNightMode:(bool)aSet;
872
882-(CartoTypeColor)setNightModeColor:(CartoTypeColor)aColor;
883
885-(bool)getNightMode;
886
889
895-(NSMutableArray<CartoTypeBlendStyle*>*)setBlendStyle:(NSMutableArray<CartoTypeBlendStyle*>*)aBlendStyleSet;
896
898-(NSMutableArray<CartoTypeBlendStyle*>*)blendStyleSet;
899
908-(void)setPreferredRouterType:(CartoTypeRouterType)aRouterType;
909
914
926
931-(CTResult)startNavigationFrom:(CartoTypePoint)aStart startCoordType:(CartoTypeCoordType)aStartCoordType to:(CartoTypePoint)aEnd endCoordType:(CartoTypeCoordType)aEndCoordType;
932
936-(CTResult)startNavigation:(CartoTypeRouteCoordSet*)aCoordSet;
937
943-(void)endNavigation;
944
946-(CartoTypeRoute*)createRoute:(CTResult*)aResult profile:(CartoTypeRouteProfile*)aProfile coordSet:(CartoTypeRouteCoordSet*)aCoordSet;
947
959-(CTResult)createRouteAsync:(id<CartoTypeCreateRouteAsyncProtocol>*)aCallback profile:(CartoTypeRouteProfile*)aProfile coordSet:(CartoTypeRouteCoordSet*)aCoordSet override:(bool)aOverride;
960
969-(CartoTypeRoute*)createRouteFromXml:(CTResult*)aResult profile:(CartoTypeRouteProfile*)aProfile fileNameOrData:(NSString*)aFileNameOrData;
970
982-(CartoTypeRoute*)createBestRoute:(CTResult*)aResult profile:(CartoTypeRouteProfile*)aProfile coordSet:(CartoTypeRouteCoordSet*)aCoordSet startfixed:(bool)aStartFixed endfixed:(bool)aEndFixed iterations:(int)aIterations;
983
996-(CTResult)createBestRouteAsync:(id<CartoTypeCreateRouteAsyncProtocol>*)aCallback profile:(CartoTypeRouteProfile*)aProfile coordSet:(CartoTypeRouteCoordSet*)aCoordSet startfixed:(bool)aStartFixed endfixed:(bool)aEndFixed iterations:(int)aIterations override:(bool)aOverride;
997
1003-(bool)enableNavigation:(bool)aEnable;
1004
1006-(bool)navigationEnabled;
1007
1017
1027-(CTResult)setMainProfile:(CartoTypeRouteProfile*)aProfile;
1028
1033-(CTResult)setMainProfileType:(CartoTypeRouteProfileType)aProfileType;
1034
1039-(CartoTypeRouteProfile*)getProfile:(int)aIndex;
1040
1047
1053-(CartoTypeRouteProfile*)getBuiltInProfile:(int)aIndex;
1054
1060-(CTResult)setBuiltInProfile:(int)aIndex;
1061
1071-(CTResult)addProfile:(CartoTypeRouteProfile*)aProfile;
1072
1077+(void)createProfile:(CartoTypeRouteProfile*)aProfile type:(CartoTypeRouteProfileType)aProfileType;
1078
1080+(CTResult)readProfileFromXmlFile:(CartoTypeRouteProfile*)aProfile filename:(NSString*)aFileName;
1081
1083+(CTResult)readProfileFromXmlString:(CartoTypeRouteProfile*)aProfile filename:(NSString*)aString;
1084
1086+(CTResult)writeProfileAsXmlFile:(CartoTypeRouteProfile*)aProfile filename:(NSString*)aFileName;
1087
1089+(NSString*)writeProfileAsXmlString:(CartoTypeRouteProfile*)aProfile;
1090
1102-(CTResult)chooseRoute:(int)aRouteIndex;
1103
1108-(bool)navigating;
1109
1112
1115
1120-(CTResult)displayRoute:(bool)aEnable;
1121
1124
1126-(CartoTypeRoute*)getRouteByIndex:(int)aIndex;
1127
1130
1132-(int)getRouteCount;
1133
1147-(CTResult)readRouteFromXml:(NSString*)aFileNameOrData replace:(bool)aReplace;
1148
1150-(NSString*)getRouteInstructions:(CartoTypeRoute*)aRoute;
1151
1163-(CTResult)useRoute:(CartoTypeRoute*)aRoute replace:(bool)aReplace;
1164
1171
1174
1176-(CTResult)writeRouteAsXml:(CartoTypeRoute*)aRoute file:(NSString*)aFileName fileType:(CartoTypeFileType)aFileType;
1177
1179-(NSString*)writeRouteAsXmlString:(CartoTypeRoute*)aRoute fileType:(CartoTypeFileType)aFileType;
1180
1220-(CTResult)navigate:(CartoTypeNavigationData*)aNavData;
1221
1228-(void)getFirstTurn:(CartoTypeTurn*)aTurn;
1229
1236-(void)getSecondTurn:(CartoTypeTurn*)aTurn;
1237
1245-(void)getContinuationTurn:(CartoTypeTurn*)aTurn;
1246
1249
1251-(void)setNavigationMinimumFixDistance:(int)aMeters;
1252
1254-(void)setNavigationTimeOffRouteTolerance:(int)aSeconds;
1255
1257-(void)setNavigationDistanceOffRouteTolerance:(int)aMeters;
1258
1266-(void)setNavigationAutoReRoute:(bool)aAutoReRoute;
1267
1269-(void)setNavigatorParam:(CartoTypeNavigatorParam*)aParam;
1270
1273
1281-(void)setLocationMatchParam:(CartoTypeLocationMatchParam*)aParam;
1282
1285
1303-(uint32_t)setNearbyObjectWarning:(uint32_t)aId layer:(NSString*)aLayer condition:(NSString*)aCondition maxDistance:(double)aMaxDistance maxObjectCount:(int)aMaxObjectCount;
1304
1319-(uint32_t)setVehicleTypeWarning:(double)aMaxDistance maxObjectCount:(int)aMaxObjectCount;
1320
1322-(bool)deleteNearbyObjectWarning:(uint32_t)aId;
1323
1326
1328-(NSMutableArray<CartoTypeMapObject*>*)copyNearbyObjects;
1329
1332
1335
1348-(void)useSerializedNavigationData:(bool)aEnable;
1349
1358-(CTResult)findNearestRoad:(CartoTypeNearestRoadInfo*)aInfo point:(CartoTypePoint)aPoint coordType:(CartoTypeCoordType)aCoordType headingInDegrees:(double)aHeadingInDegrees displayPosition:(bool)aDisplayPosition;
1359
1368-(CTResult)displayPositionOnNearestRoad:(CartoTypeNavigationData*)aNavData nearestRoadInfo:(CartoTypeNearestRoadInfo*)aInfo;
1369
1375-(void)setVehiclePosOffsetX:(double)aXOffset andY:(double)aYOffset;
1376
1378-(CTResult)setFollowMode:(CartoTypeFollowMode)aFollowMode;
1379
1382
1384-(CTResult)getNavigationPosition:(CartoTypePoint*)aPoint coordType:(CartoTypeCoordType)aCoordType;
1385
1391-(void)setLocale:(NSString*)aLocale;
1392
1397-(NSString*)locale;
1398
1400-(NSString*)distanceToString:(double)aDistanceInMeters metricUnits:(bool)aMetricUnits abbreviate:(bool)aAbbreviate;
1401
1403-(NSString*)timeToString:(double)aTimeInSeconds;
1404
1411-(NSString*)setCase:(NSString*)aString case:(CartoTypeLetterCase)aCase;
1412
1428-(CartoTypeIdAndResult)addTrafficInfo:(uint64_t)aId trafficInfo:(CartoTypeTrafficInfo*)aTrafficInfo locationRef:(CartoTypeLocationRef*)aLocationRef;
1429
1449-(CartoTypeIdAndResult)addPolygonSpeedLimit:(uint64_t)aId polygon:(CartoTypeGeometry*)aPolygon speed:(double)aSpeed vehicleTypes:(uint32_t)aVehicleTypes;
1450
1474-(CartoTypeIdAndResult)addLineSpeedLimit:(uint64_t)aId line:(CartoTypeGeometry*)aLine speed:(double)aSpeed vehicleTypes:(uint32_t)aVehicleTypes;
1475
1498-(CartoTypeIdAndResult)addClosedLineSpeedLimit:(uint64_t)aId line:(CartoTypeGeometry*)aLine speed:(double)aSpeed vehicleTypes:(uint32_t)aVehicleTypes;
1499
1508-(CartoTypeIdAndResult)addForbiddenArea:(uint64_t)aId polygon:(CartoTypeGeometry*)aPolygon;
1509
1517-(CTResult)deleteTrafficInfo:(uint64_t)aId;
1518
1520-(void)clearTrafficInfo;
1521
1526-(bool)enableTrafficInfo:(bool)aEnable;
1527
1533-(void)startTracking;
1534
1536-(void)EndTracking;
1537
1539-(void)deleteTrack;
1540
1542-(bool)tracking;
1543
1545-(bool)displayTrack:(bool)aEnable;
1546
1552
1554-(double)trackLengthInMeters;
1555
1557-(CTResult)writeTrackAsXml:(NSString*)aFileName;
1558
1560-(NSString*)writeTrackAsXmlString;
1561
1568-(CartoTypeAreaLengthAndResult)getAreaAndLength:(CartoTypeGeometry*)aGeometry;
1569
1576-(CartoTypeAreaLengthAndResult)getContourAreaAndLength:(CartoTypeGeometry*)aGeometry contourIndex:(int)aContourIndex;
1577
1586+(double)azimuthInDegreesFrom:(CartoTypePoint)aStart to:(CartoTypePoint)aEnd;
1587
1589+(CartoTypePoint)pointAtAzimuthFrom:(CartoTypePoint)aPoint dir:(double)aDir distance:(double)aDistanceInMeters;
1590
1595+(double)greatCircleDistanceInMetersFrom:(CartoTypePoint)aStart to:(CartoTypePoint)aEnd;
1596
1610+(NSString*)setAttributeInString:(NSString*)aString withKey:(NSString*)aKey andValue:(NSString*)aValue;
1611
1623+(int)intAttribute:(NSString*)aThreeLetterCode withType:(int)aType;
1624
1626+(CartoTypeColor)makeColorR:(int)aR G:(int)aG B:(int)aB A:(int)aA;
1627
1629+(CartoTypeColor)makeColor:(NSString*)aColor;
1630
1632+(CartoTypeColor)setColor:(CartoTypeColor)aColor A:(int)aAlpha;
1633
1635+(NSString*)errorString:(uint32_t)aCode;
1636
1637@end
1638
1640@interface CartoTypeMapRenderer: NSObject
1641
1648-(id)init:(CartoTypeFramework*)aFramework;
1649
1651-(void)draw;
1652
1653@end
CartoTypeAddressPart
Definition: CartoTypeBase.h:367
CartoTypeLetterCase
Definition: CartoTypeBase.h:810
CartoTypeWritableMapType
Definition: CartoTypeBase.h:696
CartoTypePointOfInterestType
Definition: CartoTypeBase.h:629
uint32_t CartoTypeColor
Definition: CartoTypeBase.h:230
CartoTypeCoordType
Definition: CartoTypeBase.h:216
CartoTypeNoticePosition
Definition: CartoTypeBase.h:705
CartoTypeFileType
Definition: CartoTypeBase.h:52
uint32_t CTResult
Definition: CartoTypeResultCode.h:344
CartoTypeRouteProfileType
Definition: CartoTypeRouter.h:100
CartoTypeRouteAccess
Definition: CartoTypeRouter.h:943
CartoTypeNavigationState
Definition: CartoTypeRouter.h:684
CartoTypeRouterType
Definition: CartoTypeRouter.h:245
CartoTypeFollowMode
Definition: CartoTypeRouter.h:715
Definition: CartoTypeBase.h:337
Definition: CartoTypeBase.h:276
Definition: CartoTypeBase.h:738
Definition: CartoTypeBase.h:655
Definition: CartoTypeFramework.h:59
NSString * appBuildDate()
double trackLengthInMeters()
NSString * getDataSetName()
uint32_t getMemoryMapHandle()
double getScaleDenominatorInView()
CartoTypeViewState * getViewState()
CartoTypeGeometry * getTrack()
CartoTypeAreaLengthAndResult editGetCurrentObjectAreaAndLength()
CartoTypeFollowMode getFollowMode()
CartoTypeRouterType preferredRouterType()
NSString * writeTrackAsXmlString()
CartoTypePoint getRouteStart()
CTResult editAddCurrentPoint()
bool clearNearbyObjectWarnings()
NSString * getProjectionAsProj4Param()
CTResult loadNavigationData()
CartoTypeRouteSegment * getCurrentRouteSegment()
CartoTypeNavigatorParam * getNavigatorParam()
CTResult deleteRoutes()
CartoTypePoint getRouteEnd()
CartoTypeColor getNightModeColor()
double getDistanceToDestination()
CTResult reverseRoutes()
NSString * turnInstructionText()
CartoTypeRoute * getRoute()
CartoTypePerspectiveParam * getPerspectiveParam()
CartoTypePositionedBitmap * getNoticeBitmap()
double getScaleDenominator()
CartoTypeNavigationState getNavigationState()
NSString * build()
CartoTypeLocationMatchParam * getLocationMatchParam()
NSString * locale()
NSString * copyright()
CTResult setViewToWholeMap()
uint32_t getMainMapHandle()
CTResult editDeleteCurrentObject()
NSString * expiryDate()
NSMutableArray< CartoTypeBlendStyle * > * blendStyleSet()
NSString * licensee()
NSMutableArray< NSString * > * getLayerNames()
CTResult reloadStyleSheet()
CartoTypeRouterType actualRouterType()
CTResult editDeleteCurrentPoint()
CGImageRef getMemoryDataBaseMapBitmap()
double getEstimatedTimeToDestination()
CGImageRef getMapBitmap()
NSMutableArray< CartoTypeMapObject * > * copyNearbyObjects()
uint32_t getLastMapHandle()
NSString * version()
Definition: CartoTypeFrameworkParam.h:22
Definition: CartoTypeBase.h:540
Definition: CartoTypeLegend.h:29
Definition: CartoTypeRouter.h:578
Definition: CartoTypeBase.h:897
Definition: CartoTypeBase.h:478
Definition: CartoTypeBase.h:413
Definition: CartoTypeBase.h:304
Definition: CartoTypeFramework.h:1641
Definition: CartoTypeRouter.h:912
Definition: CartoTypeRouter.h:555
Definition: CartoTypeBase.h:758
Definition: CartoTypeRouter.h:634
Definition: CartoTypeBase.h:746
Definition: CartoTypeRouter.h:620
Definition: CartoTypeRouter.h:797
Definition: CartoTypeRouter.h:116
Definition: CartoTypeRouter.h:755
Definition: CartoTypeRouter.h:959
Definition: CartoTypeRouter.h:521
Definition: CartoTypeBase.h:784
Definition: CartoTypeFramework.h:48
Definition: CartoTypeFramework.h:42
Definition: CartoTypeFramework.h:36
Definition: CartoTypeBase.h:205
Definition: CartoTypeBase.h:196
Definition: CartoTypeRouter.h:895
Definition: CartoTypeRouter.h:661
Definition: CartoTypeBase.h:168
Definition: CartoTypeBase.h:146
Definition: CartoTypeBase.h:155
Definition: CartoTypeRouter.h:847