• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/source/google/googlesource.php
  • Класс: BitrixLocationSourceGoogleGoogleSource
  • Вызов: GoogleSource::getJSParams
public function getJSParams(): array
{
	return [
		'apiKey' => $this->getFrontendKey(),
		'showPhotos' => $this->config->getValue('SHOW_PHOTOS_ON_MAP'),
		'useGeocodingService' => $this->config->getValue('USE_GEOCODING_SERVICE'),
	];
}