Home>

Is it possible to increase the font size of place names and station names in MAPs displayed using GoogleMapsApi? The font size is small when viewed on iPhone.

Code
map = new google.maps.Map (document.getElementById ('map'), {
   center: {lat: 35.681236, lng: 139.767125},
   zoom: 15,
   });

Even if the font size of the screen itself was increased, it was not reflected in googlemap.

There seems to be no font size specified in the optional styles.

Reference

This site is large even when viewed on a smartphone.

  • Answer # 1

    Is it not possible to enlarge the map by reducing the zoom value?

  • Answer # 2

    This was caused by a missing viewport setting.