You are here

function _gmap_location_user_map_defaults in GMap Module 5

Same name and namespace in other branches
  1. 6.2 gmap_location.module \_gmap_location_user_map_defaults()
  2. 6 gmap_location.module \_gmap_location_user_map_defaults()
  3. 7.2 gmap_location.module \_gmap_location_user_map_defaults()
  4. 7 gmap_location.module \_gmap_location_user_map_defaults()

Get the user map variable defaults.

3 calls to _gmap_location_user_map_defaults()
gmap_location_admin_settings in ./gmap_location.module
Admin Settings Page
gmap_location_user in ./gmap_location.module
gmap_location_user_page in ./gmap_location.module
Draws a page with a google map that has all of the site users.

File

./gmap_location.module, line 25
GMap Location module is a module to add some gmap funcationality based on location.modules information.

Code

function _gmap_location_user_map_defaults() {
  return array(
    'macro' => '[gmap |id=usermap|center=40,0|zoom=3|width=100%|height=400px]',
    'header' => 'This map illustrates the extent of users of this website. Each marker indicates a user that has entered their locations.',
    'footer' => '',
    'markermode' => 1,
  );
}