function geolocation_googlemaps_field_formatter_info in Geolocation Field 7
Same name and namespace in other branches
- 6 modules/geolocation_googlemaps/geolocation_googlemaps.module \geolocation_googlemaps_field_formatter_info()
Implements hook_field_formatter_info().
File
- modules/geolocation_googlemaps/ geolocation_googlemaps.module, line 11 
- Google Maps widget and formatters for Geolocation.
Code
function geolocation_googlemaps_field_formatter_info() {
  return array(
    'geolocation_googlemaps_static' => array(
      'label' => t('Static Google Map'),
      'field types' => array(
        'geolocation_latlng',
        'geofield',
      ),
      'settings' => array(
        'map_width' => '300px',
        'map_height' => '300px',
        'map_zoomlevel' => '7',
        'map_imageformat' => 'png8',
        'map_link' => 0,
        'map_maptype' => 'roadmap',
        'marker_icon' => '',
      ),
    ),
    'geolocation_googlemaps_dynamic' => array(
      'label' => t('Dynamic Google Map'),
      'field types' => array(
        'geolocation_latlng',
        'geofield',
      ),
      'settings' => array(
        'map_width' => '300px',
        'map_height' => '300px',
        'map_zoomlevel' => '7',
        'map_imageformat' => 'png8',
        'map_maptype' => 'roadmap',
        'marker_icon' => '',
        'map_scrollwheel' => FALSE,
      ),
    ),
  );
}