VisioMove Essential (iOS)  1.23.0

◆ setMapFont:()

- (BOOL) setMapFont: (NSString *)  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];
}
Visioglobe® 2015-2020