You are here

function _yamaps_static_api_url in Yandex.Maps 7

Provide static API url, use YAMAPS_STATIC_API_URL instead direct calling.

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

File

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

Code

function _yamaps_static_api_url() {
  global $is_https;
  return $is_https ? 'https://static-maps.yandex.ru/1.x/' : 'http://static-maps.yandex.ru/1.x/';
}