You are here

function getlocations_mapquest_getlocations_mapquest_map_info in Get Locations 7

Same name and namespace in other branches
  1. 7.2 modules/getlocations_mapquest/getlocations_mapquest.module \getlocations_mapquest_getlocations_mapquest_map_info()

Implements hook_getlocations_mapquest_map_info().

File

modules/getlocations_mapquest/getlocations_mapquest.module, line 1051
getlocations_mapquest.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_mapquest_getlocations_mapquest_map_info() {
  $map_info = array(
    'Getlocations OSM' => array(
      'label' => 'Getlocations OSM',
      'description' => t('Getlocations Mapquest maps.'),
      'map_opts' => array(
        'dragging' => TRUE,
        'touchZoom' => TRUE,
        'scrollWheelZoom' => TRUE,
        'doubleClickZoom' => TRUE,
        'boxZoom' => TRUE,
        'tap' => TRUE,
        'tapTolerance' => 15,
        'zoomControl' => TRUE,
        'attributionControl' => TRUE,
        'trackResize' => TRUE,
        'fadeAnimation' => TRUE,
        'zoomAnimation' => TRUE,
        'closePopupOnClick' => TRUE,
        'bounceAtZoomLimits' => TRUE,
        'layerControl' => TRUE,
        'minZoom' => 0,
        'maxZoom' => 18,
      ),
      'map_settings' => array(
        'zoomcontrolposition' => '',
        'attributioncontrolposition' => '',
        'layercontrolposition' => '',
        'scaleControl' => FALSE,
        'scalecontrolposition' => '',
        'scalecontrolunits' => '',
        'markeraction' => '',
      ),
    ),
  );
  return $map_info;
}