You are here

function ip_geoloc_marker_directory in IP Geolocation Views & Maps 7

Same name and namespace in other branches
  1. 8 ip_geoloc.module \ip_geoloc_marker_directory()

Returns the path to the configured marker directory.

Return value

string

8 calls to ip_geoloc_marker_directory()
ip-geoloc-leaflet.tpl.php in views/ip-geoloc-leaflet.tpl.php
ip_geoloc_admin_configure in ./ip_geoloc.admin.inc
Menu callback for admin settings.
ip_geoloc_marker_colors in ./ip_geoloc.module
Return available marker colors for use in a select drop-down.
ip_geoloc_marker_dimensions in ./ip_geoloc.module
Return the height and width of the markers in the selected set.
ip_geoloc_output_map_multi_location in ./ip_geoloc_api.inc
Outputs an HTML div placeholder into which will be injected a Google map.

... See full list

File

./ip_geoloc.module, line 639
IPGV&M is a mapping engine for Views that contain locations of entities and/or visitors. Google Maps, Leaflet and OpenLayers2 maps are all supported. and available through this module. Using a number of optional sources IPGV&M also retrieves…

Code

function ip_geoloc_marker_directory() {
  $path = drupal_get_path('module', 'ip_geoloc');
  return variable_get('ip_geoloc_marker_directory', "{$path}/" . (module_exists('leaflet') ? 'amarkers' : 'markers'));
}