コード例 #1
0
ファイル: OLMap.php プロジェクト: EMerino236/afiperudrupal
 /**
  * {@inheritdoc}
  */
 public function attached()
 {
     $attached = parent::attached();
     $variant = NULL;
     if (Config::get('openlayers.debug', FALSE) == TRUE) {
         $variant = 'debug';
     }
     $attached['libraries_load']['openlayers3'] = array('openlayers3', $variant);
     return $attached;
 }
コード例 #2
0
ファイル: OLMap.php プロジェクト: josemrc/ae2web
 /**
  * {@inheritdoc}
  */
 public function attached()
 {
     return array_merge_recursive(parent::attached(), Openlayers::getAttached());
 }