function _gmap_base_js in GMap Module 7.2
Same name and namespace in other branches
- 7 gmap.module \_gmap_base_js()
Adds the basic js files needed for a GMap.
Is called by hook_element_info(). To add js-files for a specific Views display, please use _gmap_pre_render_map().
Deprecated
use GmapDefaults::getInstance()->getBaseJs()
2 calls to _gmap_base_js()
- GmapDefaultsTestCase::testGmapDefaults in tests/
oopmigration.test - gmap_element_info in ./
gmap.module - Implements hook_element_info().
File
- ./
gmap.module, line 248 - GMap -- Routines to use the Google Maps API in Drupal.
Code
function _gmap_base_js() {
include_once drupal_get_path('module', 'gmap') . '/lib/Drupal/gmap/GmapDefaults.php';
return GmapDefaults::getInstance()
->getBaseJs();
}