You are here

function _yamaps_api_url in Yandex.Maps 7

Provide api url, use YAMAPS_API_URL instead direct calling.

1 call to _yamaps_api_url()
yamaps.module in ./yamaps.module
Yandex Maps module main file.

File

./yamaps.module, line 466
Yandex Maps module main file.

Code

function _yamaps_api_url() {
  global $is_https;
  return $is_https ? 'https://api-maps.yandex.ru/2.1/' : 'http://api-maps.yandex.ru/2.1/';
}