You are here

function geofield_ymap_filter_tips in Geofield Yandex Maps 7

Filter tips callback.

1 string reference to 'geofield_ymap_filter_tips'
geofield_ymap_filter_info in ./geofield_ymap.filter.inc
Implements hook_filter_info().

File

./geofield_ymap.filter.inc, line 112

Code

function geofield_ymap_filter_tips($filter, $format, $long) {
  if ($long) {
    return t('You may insert maps with [map][/map] tag.') . ' ' . t('Example') . ': <code>[map]{"type":"Point","coordinates":[37.62,55.75]}[/map]</code> or <code>[map zoom=10 auto-zooming=0][{"type":"Point","coordinates":[37.62,55.75]},{"type":"Point","coordinates":[38.22,51.55]}][/map]</code>';
  }
  else {
    return t('You may insert maps with [map][/map] tag.');
  }
}