function locationmap_variable_info in Location Map 7.2
File
- ./
locationmap.module, line 665
Code
function locationmap_variable_info() {
$variables = array();
$variables['locationmap_address'] = array(
'type' => 'string',
'title' => t('Address of your location'),
'localize' => TRUE,
'group' => 'location_map',
);
$variables['locationmap_block_mapwidth'] = array(
'title' => 'Block map width',
'type' => 'number',
'group' => 'location_map',
);
$variables['locationmap_block_mapheight'] = array(
'title' => 'Block map height',
'type' => 'number',
'group' => 'location_map',
);
$variables['locationmap_block_text_top'] = array(
'title' => t('Additional text to show above the image'),
'type' => 'string',
'localize' => TRUE,
'group' => 'location_map',
);
$variables['locationmap_block_type'] = array(
'title' => t('Map type'),
'type' => 'select',
'options' => array(
'image' => t('Static image'),
'interactive' => t('Interactive map'),
),
'group' => 'location_map',
);
$variables['locationmap_body'] = array(
'type' => 'text_format',
'title' => t('Additional information (displayed above map)'),
'localize' => TRUE,
'group' => 'location_map',
);
$variables['locationmap_footer'] = array(
'type' => 'text_format',
'title' => t('Additional information (displayed below map)'),
'localize' => TRUE,
'group' => 'location_map',
);
$variables['locationmap_height'] = array(
'title' => t('Map height'),
'type' => 'number',
'group' => 'location_map',
);
$variables['locationmap_info'] = array(
'type' => 'text_format',
'title' => t('Marker information'),
'localize' => TRUE,
'group' => 'location_map',
);
$variables['locationmap_lat'] = array(
'title' => t('Latitude'),
'type' => 'number',
'group' => 'location_map',
);
$variables['locationmap_lng'] = array(
'title' => t('Longitude'),
'type' => 'number',
'group' => 'location_map',
);
$variables['locationmap_popinfo'] = array(
'type' => 'boolean',
'title' => t('Display marker information on page load'),
'group' => 'location_map',
);
$variables['locationmap_scroll'] = array(
'type' => 'boolean',
'title' => t('Enable zoom with scrollwheel'),
'group' => 'location_map',
);
$variables['locationmap_title'] = array(
'type' => 'string',
'title' => t('Title'),
'localize' => TRUE,
'group' => 'location_map',
);
$variables['locationmap_type'] = array(
'title' => t('Map type'),
'type' => 'select',
'options' => array(
'google.maps.MapTypeId.ROADMAP' => 'the default view',
'google.maps.MapTypeId.SATELLITE' => 'showing Google Earth satellite images',
'google.maps.MapTypeId.HYBRID' => 'showing a mixture of normal and satellite views',
'google.maps.MapTypeId.TERRAIN' => 'showing a physical map based on terrain information',
),
'group' => 'location_map',
);
$variables['locationmap_width'] = array(
'title' => t('Map width'),
'type' => 'number',
'group' => 'location_map',
);
$variables['locationmap_zoom'] = array(
'title' => t('Scrollwheel zooming'),
'type' => 'boolean',
'group' => 'location_map',
);
return $variables;
}