As per the HERE Maps JS API platform.createDefaultLayers, by changing the ppi parameter, the font size will be adjusted. But, I'm unable to see any difference in the map. As can be seen in the screenshot below, the labels are too small. How can I make the labels readable in a 7inch 1080p display?
var defaultLayers = platform.createDefaultLayers(512, 320 );
//Step 2: initialize a map
var map = new H.Map(document.getElementById('slide-map'),
defaultLayers.vector.normal.map,{
center: {lat:27.7279, lng:85.3284},
zoom: 18,
pixelRatio: 1
});
When I changed defaultLayers.vector.normal.map to defaultLayers.raster.normal.map, the tileSize and ppi parameters started affecting the label size.
var defaultLayers = platform.createDefaultLayers(512, 320 );
//Step 2: initialize a map
var map = new H.Map(document.getElementById('slide-map'),
defaultLayers.raster.normal.map,{
center: {lat:27.7279, lng:85.3284},
zoom: 18,
pixelRatio: 1
});