VisioMove Essential (iOS)  1.27.8

◆ setMapFont:

- (BOOL) setMapFont: (NSString *_Nonnull)  filePath

Overrides the map's default font (currently DejaVuSans.ttf).

Note
Should be called within the mapDidInitializeEngine: (VMELifeCycleListener-p) notification.
Parameters
filePathThe TrueType Font file (*.ttf) to load. The font will be searched locally in the map bundle's "config" directory otherwise use an absolute path.
Returns
YES if the font file was set successfully, otherwise NO.
Version
1.13
Example
#pragma - VMELifeCycleListener
-(void) mapDidInitializeEngine:(VMEMapView *)mapView {
NSString* lFontFile = [[NSBundle mainBundle] pathForResource:@"font.name.here" ofType:@"ttf"];
[self.mapView setMapFont:lFontFile];
}
Definition: VMEMapView.h:58
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy