How to Change Google Map Type in phpMyDirectory

To change Google Map Type in listing details of phpMyDirectory from the default “ROADMAP” is very easy. You only to edit “/includes/class_map.php” file.

Find the following

MapTypeId.HYBRID

Replace it with any of 4 options below, depending on your map selection.

  1. MapTypeId.ROADMAP – displays the default road map view. This is the default map type.
  2. MapTypeId.SATELLITE – displays Google Earth satellite images
  3. MapTypeId.HYBRID – displays a mixture of normal and satellite views
  4. MapTypeId.TERRAIN – displays a physical map based on terrain information.


0 comments… add one

Leave a Comment