You are here

function gm3_region_menu in Google Maps API V3 7

Implementation of hook_menu().

File

gm3_region/gm3_region.module, line 11

Code

function gm3_region_menu() {
  return array(
    'gm3_region/callback/%' => array(
      'title' => 'GM3 Region callback',
      'page callback' => 'gm3_region_get_points',
      'page arguments' => array(
        2,
      ),
      'file' => 'gm3_region.callback.inc',
      'access arguments' => array(
        'access content',
      ),
      'type' => MENU_CALLBACK,
    ),
    'gm3_region/callback2/%/%/%' => array(
      'title' => 'GM3 Region callback',
      'page callback' => 'gm3_region_get_region_id_from_latlng',
      'page arguments' => array(
        2,
        3,
        4,
      ),
      'file' => 'gm3_region.callback.inc',
      'access arguments' => array(
        'access content',
      ),
      'type' => MENU_CALLBACK,
    ),
  );
}