Exemplo n.º 1
0
 /**
  * Presets cache handler for OTBM loader.
  * 
  * <p>
  * Use this method in order to preset cache handler for map that you want to load into global POT instance. Note that this driver will be set for global resource only. If you will create local OTBM instances they won't use this driver automaticly.
  * </p>
  * 
  * <p>
  * Note: Since 0.2.0+SVN this method is static.
  * </p>
  * 
  * @version 0.2.0+SVN
  * @param IOTS_FileCache $cache Cache handler (skip this parameter to reset cache handler to null).
  */
 public static function setMapCache(IOTS_FileCache $cache = null)
 {
     self::$mapCache = $cache;
 }