• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/source/sourceselector.php
  • Класс: BitrixLocationSourceSourceSelector
  • Вызов: SourceSelector::setOsmSource
static function setOsmSource(string $serviceUrl, string $token): Result
{
	$sourceSelector = new self();
	$configFactory = new OsmConfigFactory($serviceUrl, $token);
	return $sourceSelector->setSource(Factory::OSM_SOURCE_CODE, $configFactory);
}