set Map Font
Overrides the map's default font (currently DejaVuSans.ttf). Should be called within the listeners.VMELifeCycleListener.mapDataDidLoad notification.
Return
true if the font file was set successfully, otherwise false.
Since
1.13
@Override
void mapDataDidLoad(venueData: JSONObject) {
String lFilePath = extractFromAssetsAndGetFilePath("font.name.here.ttf");
mapController.setMapFont(lFilePath);
}
Content copied to clipboard
Parameters
file Path
The TrueType Font file (*.ttf) to load. The font will be searched locally in the map bundle's "config" directory otherwise use an absolute path.