You are here

function getlocations_get_geocoder_path in Get Locations 7

Same name and namespace in other branches
  1. 7.2 getlocations.module \getlocations_get_geocoder_path()

Function to get the path to the Geocoder-js library

Return value

Returns string or false

2 calls to getlocations_get_geocoder_path()
getlocations_geocoder_form in ./getlocations.module
getlocations_setup_js in ./getlocations.module
Function to setup the map scripts

File

./getlocations.module, line 5732
getlocations.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_get_geocoder_path() {
  if ($path = libraries_get_path('geocoder-js')) {
    return $path . '/geocoder.min.js';
  }
  return FALSE;
}