name = 'node_map'; $view->description = ''; $view->tag = ''; $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; $view->api_version = 2; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ $handler = $view->new_display('default', 'Defaults', 'default'); $handler->override_option('fields', array( 'title' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), 'field_what_longitude_value' => array( 'label' => 'Lon', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'label_type' => 'custom', 'format' => 'unformatted', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_what_longitude_value', 'table' => 'node_data_field_what_longitude', 'field' => 'field_what_longitude_value', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), 'field_what_latitude_value' => array( 'label' => 'Lat', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 0, 'label_type' => 'custom', 'format' => 'unformatted', 'multiple' => array( 'group' => TRUE, 'multiple_number' => '', 'multiple_from' => '', 'multiple_reversed' => FALSE, ), 'exclude' => 0, 'id' => 'field_what_latitude_value', 'table' => 'node_data_field_what_latitude', 'field' => 'field_what_latitude_value', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), )); $handler->override_option('arguments', array( 'nid' => array( 'default_action' => 'default', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '', 'breadcrumb' => '', 'default_argument_type' => 'node', 'default_argument' => '', 'validate_type' => 'node', 'validate_fail' => 'empty', 'break_phrase' => 0, 'not' => 0, 'id' => 'nid', 'table' => 'node', 'field' => 'nid', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( '2' => 0, ), 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'page' => 0, 'story' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_user_restrict_roles' => 0, 'validate_argument_php' => '', ), )); $handler->override_option('filters', array( 'field_what_latitude_value' => array( 'operator' => 'not empty', 'value' => array( 'value' => '', 'min' => '', 'max' => '', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'field_what_latitude_value', 'table' => 'node_data_field_what_latitude', 'field' => 'field_what_latitude_value', 'relationship' => 'none', ), 'field_what_longitude_value' => array( 'operator' => 'not empty', 'value' => array( 'value' => '', 'min' => '', 'max' => '', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'field_what_longitude_value', 'table' => 'node_data_field_what_longitude', 'field' => 'field_what_longitude_value', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('title', 'Map this node'); $handler->override_option('empty', 'No node.'); $handler->override_option('empty_format', '1'); $handler->override_option('style_plugin', 'mapstraction'); $handler->override_option('style_options', array( 'grouping' => '', 'api' => 'googlestatic', 'api_settings' => array( 'cloudmade' => array( 'style_id' => '', ), ), 'width' => '200px', 'height' => '200px', 'initial_point' => array( 'auto' => 1, 'latitude' => '', 'longitude' => '', 'zoom' => '10', ), 'behaviours' => array( 'hover' => 0, 'declutter' => 0, ), 'overlays' => array( 'markers' => 'markers', 'polylines' => 0, ), 'controls' => array( 'pan' => 0, 'overview' => 0, 'scale' => 0, 'map_type' => 0, 'googlestatic' => array( 'width' => 200, 'height' => 200, ), 'zoom' => '0', 'default_maptype' => 'mxn.Mapstraction.ROAD', ), 'fields' => array( 'latitude' => 'field_what_latitude_value', 'longitude' => 'field_what_longitude_value', 'icon' => '', 'attributes' => array( '' => '', ), ), )); $handler = $view->new_display('block', 'Block', 'block_1'); $handler->override_option('block_description', ''); $handler->override_option('block_caching', -1); $handler = $view->new_display('page', 'Page', 'page_1'); $handler->override_option('arguments', array()); $handler->override_option('style_options', array( 'grouping' => '', 'api' => 'google', 'api_settings' => array( 'cloudmade' => array( 'style_id' => '', ), ), 'width' => '500px', 'height' => '500px', 'initial_point' => array( 'auto' => 1, 'latitude' => '', 'longitude' => '', 'zoom' => '10', ), 'behaviours' => array( 'hover' => 0, 'declutter' => 0, ), 'overlays' => array( 'markers' => 'markers', 'polylines' => 0, ), 'controls' => array( 'pan' => 0, 'overview' => 0, 'scale' => 0, 'map_type' => 0, 'zoom' => '0', 'default_maptype' => 'mxn.Mapstraction.ROAD', ), 'fields' => array( 'latitude' => 'field_what_latitude_value', 'longitude' => 'field_what_longitude_value', 'icon' => '', 'attributes' => array( '' => '', ), ), )); $handler->override_option('path', 'map'); $handler->override_option('menu', array( 'type' => 'normal', 'title' => 'Map', 'description' => '', 'weight' => '0', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', ));