Going to do my best at describing what I am looking to do. I have created a content type for Physicians and a content type for Office Locations. I have populated the Office Locations with 4 locations currently. I am then using Entity Reference in Views to pull those locations in. Then in Physicians I am created a Field with a check box interface where the Physician can select what Offices they work at of those four.

So now I want to create a Map that shows on one Map the locations they selected. So I have created a Block View pulling in the information from the content type of Physician. I have changed the Format to Map and brought in the fields that hold the location data. I have also added a Contextual Filter so for the NID so that it will only show the locations that were selected in Physicians. So 2 of the 4 locations were selected in my example. However I cannot get the map to show up with just those 2 locations.

What am I doing wrong? Is what I want to do possible?

CommentFileSizeAuthor
#4 IPGVM config.png178.66 KBRdeBoer
#1 Views formats.png116.86 KBRdeBoer
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RdeBoer’s picture

FileSize
116.86 KB

Hi ryanfc78,

Thank you for your inquiry. Yes I believe this is possible.

But first things first... Based on your experience in #2467695: Phone Number in Bubble?, can you please make sure that this issue is posted in the correct queue? So in the Views UI, when you click on "Format", do you see radio buttons like shown below? And have you checked one of the IPGV&M options, not some other module?

ryanfc78’s picture

I am using that option and below is my current code for the View. Currently no Map is showing up in the block I created for it.

$view = new view();
$view->name = 'physician_location_map';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Physician Location Map';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = 'Physician Map';
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'none';
$handler->display->display_options['style_plugin'] = 'ip_geoloc_map';
$handler->display->display_options['style_options']['grouping'] = array(
  0 => array(
    'field' => '',
    'rendered' => 1,
    'rendered_strip' => 0,
  ),
);
$handler->display->display_options['style_options']['ip_geoloc_views_plugin_latitude'] = array(
  'field_office_location' => 'field_office_location',
);
$handler->display->display_options['style_options']['ip_geoloc_views_plugin_longitude'] = 'field_office_location';
$handler->display->display_options['style_options']['default_marker_color'] = 'drupal';
$handler->display->display_options['style_options']['center_option'] = '1';
$handler->display->display_options['style_options']['gps_roles'] = array(
  1 => '1',
  2 => '2',
  3 => 0,
);
/* Field: Content: Office Location */
$handler->display->display_options['fields']['field_office_location']['id'] = 'field_office_location';
$handler->display->display_options['fields']['field_office_location']['table'] = 'field_data_field_office_location';
$handler->display->display_options['fields']['field_office_location']['field'] = 'field_office_location';
$handler->display->display_options['fields']['field_office_location']['label'] = '';
$handler->display->display_options['fields']['field_office_location']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_office_location']['settings'] = array(
  'display_showmap' => 1,
  'display_maplink' => 1,
  'display_mapwidth' => '300px',
  'display_mapheight' => '200px',
  'display_latlong' => 0,
  'display_dms' => 0,
  'display_geo_microformat' => '0',
  'display_onemap' => 0,
  'display_name' => 1,
  'display_street' => 1,
  'display_additional' => 1,
  'display_city' => 1,
  'display_province' => 1,
  'display_postal_code' => 1,
  'display_country' => 1,
  'country_full' => 1,
  'display_phone' => 1,
  'display_mobile' => 1,
  'display_fax' => 1,
  'nodezoom' => '12',
  'minzoom_map' => '-1',
  'maxzoom_map' => '-1',
  'controltype' => 'small',
  'zoomcontrolposition' => '',
  'pancontrol' => 1,
  'pancontrolposition' => '',
  'mtc' => 'standard',
  'mapcontrolposition' => '',
  'maptype' => 'Map',
  'baselayers' => array(
    'Map' => 1,
    'Satellite' => 1,
    'Hybrid' => 1,
    'Physical' => 1,
    'OSM' => 0,
    'OSMBW' => 0,
    'OSMDE' => 0,
    'OCM' => 0,
    'OCMT' => 0,
    'OCML' => 0,
    'OCMO' => 0,
    'Stamen' => 0,
    'StamenBG' => 0,
    'StamenHY' => 0,
    'StamenLI' => 0,
    'StamenLA' => 0,
    'StamenLT' => 0,
    'Watercolor' => 0,
    'ESRI' => 0,
    'DeLorme' => 0,
    'WorldTopoMap' => 0,
    'WorldImagery' => 0,
    'WorldTerrain' => 0,
    'WorldShadedRelief' => 0,
    'WorldPhysical' => 0,
    'OceanBasemap' => 0,
    'NatGeoWorldMap' => 0,
    'WorldGrayCanvas' => 0,
  ),
  'scale' => 0,
  'scalecontrolposition' => '',
  'overview' => 0,
  'overview_opened' => 0,
  'scrollwheel' => 0,
  'draggable' => 1,
  'nokeyboard' => 0,
  'nodoubleclickzoom' => 0,
  'map_backgroundcolor' => '',
  'geolocation_mobile_check' => 0,
  'sv_show' => 0,
  'svcontrolposition' => '',
  'show_maplinks' => 0,
  'show_bubble_on_one_marker' => 0,
  'fullscreen' => 0,
  'fullscreen_controlposition' => '',
  'trafficinfo' => 0,
  'trafficinfo_state' => 0,
  'bicycleinfo' => 0,
  'bicycleinfo_state' => 0,
  'transitinfo' => 0,
  'transitinfo_state' => 0,
  'poi_show' => 1,
  'transit_show' => 1,
  'polygons_enable' => 0,
  'polygons_strokecolor' => '#FF0000',
  'polygons_strokeopacity' => '0.8',
  'polygons_strokeweight' => '3',
  'polygons_fillcolor' => '#FF0000',
  'polygons_fillopacity' => '0.35',
  'polygons_clickable' => 0,
  'polygons_message' => '',
  'polygons_coords' => '',
  'rectangles_enable' => 0,
  'rectangles_strokecolor' => '#FF0000',
  'rectangles_strokeopacity' => '0.8',
  'rectangles_strokeweight' => '3',
  'rectangles_fillcolor' => '#FF0000',
  'rectangles_fillopacity' => '0.35',
  'rectangles_clickable' => 0,
  'rectangles_message' => '',
  'rectangles_apply' => 0,
  'rectangles_dist' => '0',
  'rectangles_coords' => '',
  'circles_enable' => 0,
  'circles_strokecolor' => '#FF0000',
  'circles_strokeopacity' => '0.8',
  'circles_strokeweight' => '3',
  'circles_fillcolor' => '#FF0000',
  'circles_fillopacity' => '0.35',
  'circles_radius' => '0',
  'circles_clickable' => 0,
  'circles_message' => '',
  'circles_apply' => 0,
  'circles_coords' => '',
  'polylines_enable' => 0,
  'polylines_strokecolor' => '#FF0000',
  'polylines_strokeopacity' => '0.8',
  'polylines_strokeweight' => '3',
  'polylines_clickable' => 0,
  'polylines_message' => '',
  'polylines_coords' => '',
  'kml_group' => array(
    'kml_url' => '',
    'kml_url_click' => 1,
    'kml_url_infowindow' => 0,
    'kml_url_viewport' => 1,
    'kml_url_button' => 0,
    'kml_url_button_label' => 'Kml Layer',
    'kml_url_button_state' => 0,
  ),
  'geojson_enable' => 0,
  'geojson_data' => '',
  'geojson_options' => '',
  'highlight_enable' => 0,
  'highlight_strokecolor' => '#FF0000',
  'highlight_strokeopacity' => '0.8',
  'highlight_strokeweight' => '3',
  'highlight_fillcolor' => '#FF0000',
  'highlight_fillopacity' => '0.35',
  'highlight_radius' => '10',
  'geocoder_enable' => 0,
  'search_places' => 0,
  'search_places_size' => '40',
  'search_places_position' => 'outside_above',
  'search_places_label' => 'Google Places Search',
  'search_places_placeholder' => '',
  'search_places_list' => 0,
  'search_places_dd' => 0,
  'markeractiontype' => '1',
  'markeraction' => '0',
  'getdirections_link' => 0,
  'show_search_distance' => 0,
  'views_search_center' => 0,
  'views_search_marker_enable' => 0,
  'views_search_marker' => 'drupal',
  'views_search_marker_toggle' => 0,
  'views_search_marker_toggle_active' => 0,
  'views_search_radshape_enable' => 0,
  'views_search_radshape_strokecolor' => '#FF0000',
  'views_search_radshape_strokeopacity' => '0.8',
  'views_search_radshape_strokeweight' => '3',
  'views_search_radshape_fillcolor' => '#FF0000',
  'views_search_radshape_fillopacity' => '0.35',
  'views_search_radshape_toggle' => 0,
  'views_search_radshape_toggle_active' => 0,
  'sv_addresscontrol' => 1,
  'sv_addresscontrolposition' => '',
  'sv_pancontrol' => 1,
  'sv_pancontrolposition' => '',
  'sv_zoomcontrol' => 'default',
  'sv_zoomcontrolposition' => '',
  'sv_linkscontrol' => 1,
  'sv_imagedatecontrol' => 0,
  'sv_scrollwheel' => 1,
  'sv_clicktogo' => 1,
);
/* Sort criterion: Content: Post date */
$handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'node';
$handler->display->display_options['sorts']['created']['field'] = 'created';
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
/* Filter criterion: Content: Published */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 1;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: Content: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
  'office_location' => 'office_location',
);

/* Display: Entity Reference */
$handler = $view->new_display('entityreference', 'Entity Reference', 'entityreference_1');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'entityreference_style';
$handler->display->display_options['style_options']['search_fields'] = array(
  'field_office_location' => 'field_office_location',
  'title' => 0,
);
$handler->display->display_options['defaults']['style_options'] = FALSE;
$handler->display->display_options['defaults']['row_plugin'] = FALSE;
$handler->display->display_options['row_plugin'] = 'entityreference_fields';
$handler->display->display_options['defaults']['row_options'] = FALSE;

/* Display: Block */
$handler = $view->new_display('block', 'Block', 'block_1');
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'none';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'ip_geoloc_map';
$handler->display->display_options['style_options']['grouping'] = array(
  0 => array(
    'field' => '',
    'rendered' => 1,
    'rendered_strip' => 0,
  ),
);
$handler->display->display_options['style_options']['ip_geoloc_views_plugin_latitude'] = array(
  'getlocations_fields_latitude' => 'getlocations_fields_latitude',
);
$handler->display->display_options['style_options']['ip_geoloc_views_plugin_longitude'] = 'getlocations_fields_longitude';
$handler->display->display_options['style_options']['default_marker_color'] = 'drupal';
$handler->display->display_options['style_options']['center_option'] = '1';
$handler->display->display_options['style_options']['gps_roles'] = array(
  1 => '1',
  2 => '2',
  3 => 0,
);
$handler->display->display_options['defaults']['style_options'] = FALSE;
$handler->display->display_options['defaults']['row_plugin'] = FALSE;
$handler->display->display_options['defaults']['row_options'] = FALSE;
$handler->display->display_options['defaults']['relationships'] = FALSE;
/* Relationship: Content: Office Location (field_office_location) */
$handler->display->display_options['relationships']['field_office_location_glid']['id'] = 'field_office_location_glid';
$handler->display->display_options['relationships']['field_office_location_glid']['table'] = 'field_data_field_office_location';
$handler->display->display_options['relationships']['field_office_location_glid']['field'] = 'field_office_location_glid';
$handler->display->display_options['relationships']['field_office_location_glid']['label'] = 'Location Information';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Content: Office Location */
$handler->display->display_options['fields']['field_office_location']['id'] = 'field_office_location';
$handler->display->display_options['fields']['field_office_location']['table'] = 'field_data_field_office_location';
$handler->display->display_options['fields']['field_office_location']['field'] = 'field_office_location';
$handler->display->display_options['fields']['field_office_location']['label'] = '';
$handler->display->display_options['fields']['field_office_location']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_office_location']['settings'] = array(
  'display_showmap' => 1,
  'display_maplink' => 1,
  'display_mapwidth' => '300px',
  'display_mapheight' => '200px',
  'display_latlong' => 0,
  'display_dms' => 0,
  'display_geo_microformat' => '0',
  'display_onemap' => 1,
  'display_name' => 1,
  'display_street' => 1,
  'display_additional' => 1,
  'display_city' => 1,
  'display_province' => 1,
  'display_postal_code' => 1,
  'display_country' => 1,
  'country_full' => 1,
  'display_phone' => 1,
  'display_mobile' => 1,
  'display_fax' => 1,
  'nodezoom' => '12',
  'minzoom_map' => '-1',
  'maxzoom_map' => '-1',
  'controltype' => 'small',
  'zoomcontrolposition' => '',
  'pancontrol' => 1,
  'pancontrolposition' => '',
  'mtc' => 'standard',
  'mapcontrolposition' => '',
  'maptype' => 'Map',
  'baselayers' => array(
    'Map' => 1,
    'Satellite' => 1,
    'Hybrid' => 1,
    'Physical' => 1,
    'OSM' => 0,
    'OSMBW' => 0,
    'OSMDE' => 0,
    'OCM' => 0,
    'OCMT' => 0,
    'OCML' => 0,
    'OCMO' => 0,
    'Stamen' => 0,
    'StamenBG' => 0,
    'StamenHY' => 0,
    'StamenLI' => 0,
    'StamenLA' => 0,
    'StamenLT' => 0,
    'Watercolor' => 0,
    'ESRI' => 0,
    'DeLorme' => 0,
    'WorldTopoMap' => 0,
    'WorldImagery' => 0,
    'WorldTerrain' => 0,
    'WorldShadedRelief' => 0,
    'WorldPhysical' => 0,
    'OceanBasemap' => 0,
    'NatGeoWorldMap' => 0,
    'WorldGrayCanvas' => 0,
  ),
  'scale' => 0,
  'scalecontrolposition' => '',
  'overview' => 0,
  'overview_opened' => 0,
  'scrollwheel' => 0,
  'draggable' => 1,
  'nokeyboard' => 0,
  'nodoubleclickzoom' => 0,
  'map_backgroundcolor' => '',
  'geolocation_mobile_check' => 0,
  'sv_show' => 0,
  'svcontrolposition' => '',
  'show_maplinks' => 0,
  'show_bubble_on_one_marker' => 0,
  'fullscreen' => 0,
  'fullscreen_controlposition' => '',
  'trafficinfo' => 0,
  'trafficinfo_state' => 0,
  'bicycleinfo' => 0,
  'bicycleinfo_state' => 0,
  'transitinfo' => 0,
  'transitinfo_state' => 0,
  'poi_show' => 1,
  'transit_show' => 1,
  'polygons_enable' => 0,
  'polygons_strokecolor' => '#FF0000',
  'polygons_strokeopacity' => '0.8',
  'polygons_strokeweight' => '3',
  'polygons_fillcolor' => '#FF0000',
  'polygons_fillopacity' => '0.35',
  'polygons_clickable' => 0,
  'polygons_message' => '',
  'polygons_coords' => '',
  'rectangles_enable' => 0,
  'rectangles_strokecolor' => '#FF0000',
  'rectangles_strokeopacity' => '0.8',
  'rectangles_strokeweight' => '3',
  'rectangles_fillcolor' => '#FF0000',
  'rectangles_fillopacity' => '0.35',
  'rectangles_clickable' => 0,
  'rectangles_message' => '',
  'rectangles_apply' => 0,
  'rectangles_dist' => '0',
  'rectangles_coords' => '',
  'circles_enable' => 0,
  'circles_strokecolor' => '#FF0000',
  'circles_strokeopacity' => '0.8',
  'circles_strokeweight' => '3',
  'circles_fillcolor' => '#FF0000',
  'circles_fillopacity' => '0.35',
  'circles_radius' => '0',
  'circles_clickable' => 0,
  'circles_message' => '',
  'circles_apply' => 0,
  'circles_coords' => '',
  'polylines_enable' => 0,
  'polylines_strokecolor' => '#FF0000',
  'polylines_strokeopacity' => '0.8',
  'polylines_strokeweight' => '3',
  'polylines_clickable' => 0,
  'polylines_message' => '',
  'polylines_coords' => '',
  'kml_group' => array(
    'kml_url' => '',
    'kml_url_click' => 1,
    'kml_url_infowindow' => 0,
    'kml_url_viewport' => 1,
    'kml_url_button' => 0,
    'kml_url_button_label' => 'Kml Layer',
    'kml_url_button_state' => 0,
  ),
  'geojson_enable' => 0,
  'geojson_data' => '',
  'geojson_options' => '',
  'highlight_enable' => 0,
  'highlight_strokecolor' => '#FF0000',
  'highlight_strokeopacity' => '0.8',
  'highlight_strokeweight' => '3',
  'highlight_fillcolor' => '#FF0000',
  'highlight_fillopacity' => '0.35',
  'highlight_radius' => '10',
  'geocoder_enable' => 0,
  'search_places' => 0,
  'search_places_size' => '40',
  'search_places_position' => 'outside_above',
  'search_places_label' => 'Google Places Search',
  'search_places_placeholder' => '',
  'search_places_list' => 0,
  'search_places_dd' => 0,
  'markeractiontype' => '1',
  'markeraction' => '0',
  'getdirections_link' => 0,
  'show_search_distance' => 0,
  'views_search_center' => 0,
  'views_search_marker_enable' => 0,
  'views_search_marker' => 'drupal',
  'views_search_marker_toggle' => 0,
  'views_search_marker_toggle_active' => 0,
  'views_search_radshape_enable' => 0,
  'views_search_radshape_strokecolor' => '#FF0000',
  'views_search_radshape_strokeopacity' => '0.8',
  'views_search_radshape_strokeweight' => '3',
  'views_search_radshape_fillcolor' => '#FF0000',
  'views_search_radshape_fillopacity' => '0.35',
  'views_search_radshape_toggle' => 0,
  'views_search_radshape_toggle_active' => 0,
  'sv_addresscontrol' => 1,
  'sv_addresscontrolposition' => '',
  'sv_pancontrol' => 1,
  'sv_pancontrolposition' => '',
  'sv_zoomcontrol' => 'default',
  'sv_zoomcontrolposition' => '',
  'sv_linkscontrol' => 1,
  'sv_imagedatecontrol' => 0,
  'sv_scrollwheel' => 1,
  'sv_clicktogo' => 1,
);
/* Field: Getlocations Fields: Latitude */
$handler->display->display_options['fields']['latitude']['id'] = 'latitude';
$handler->display->display_options['fields']['latitude']['table'] = 'getlocations_fields';
$handler->display->display_options['fields']['latitude']['field'] = 'latitude';
$handler->display->display_options['fields']['latitude']['relationship'] = 'field_office_location_glid';
/* Field: Getlocations Fields: Longitude */
$handler->display->display_options['fields']['longitude']['id'] = 'longitude';
$handler->display->display_options['fields']['longitude']['table'] = 'getlocations_fields';
$handler->display->display_options['fields']['longitude']['field'] = 'longitude';
$handler->display->display_options['fields']['longitude']['relationship'] = 'field_office_location_glid';
$handler->display->display_options['fields']['longitude']['label'] = '';
$handler->display->display_options['fields']['longitude']['element_label_colon'] = FALSE;
ryanfc78’s picture

So I am using IPGV&M with GetLocation for the locate storage information. I have been messing with the view most of today and I think I am a bit closer. I am getting the view to bring in the correct information and display only the info on the physicians page and for only the info they elected in the Entity Reference field. Currently the Format is set as Grid so that I can see that the correct info is coming in and working the way I want. However when I change the Format to the IPGV&M Map or the GetLocation map it does not display the map or does not bring in the information and display markers for the addresses. The updated view is below.

$view = new view();
$view->name = 'new_test_block';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'new test block';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = 'new test block';
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'none';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['style_plugin'] = 'grid';
$handler->display->display_options['row_plugin'] = 'fields';
/* Relationship: Entity Reference: Referenced Entity */
$handler->display->display_options['relationships']['field_physician_office_target_id']['id'] = 'field_physician_office_target_id';
$handler->display->display_options['relationships']['field_physician_office_target_id']['table'] = 'field_data_field_physician_office';
$handler->display->display_options['relationships']['field_physician_office_target_id']['field'] = 'field_physician_office_target_id';
/* Relationship: Content: Office Location (field_office_location) */
$handler->display->display_options['relationships']['field_office_location_glid']['id'] = 'field_office_location_glid';
$handler->display->display_options['relationships']['field_office_location_glid']['table'] = 'field_data_field_office_location';
$handler->display->display_options['relationships']['field_office_location_glid']['field'] = 'field_office_location_glid';
$handler->display->display_options['relationships']['field_office_location_glid']['relationship'] = 'field_physician_office_target_id';
/* Field: Getlocations Fields: Latitude */
$handler->display->display_options['fields']['latitude']['id'] = 'latitude';
$handler->display->display_options['fields']['latitude']['table'] = 'getlocations_fields';
$handler->display->display_options['fields']['latitude']['field'] = 'latitude';
$handler->display->display_options['fields']['latitude']['relationship'] = 'field_office_location_glid';
/* Field: Getlocations Fields: Longitude */
$handler->display->display_options['fields']['longitude']['id'] = 'longitude';
$handler->display->display_options['fields']['longitude']['table'] = 'getlocations_fields';
$handler->display->display_options['fields']['longitude']['field'] = 'longitude';
$handler->display->display_options['fields']['longitude']['relationship'] = 'field_office_location_glid';
/* Field: Content: Physician Office */
$handler->display->display_options['fields']['field_physician_office']['id'] = 'field_physician_office';
$handler->display->display_options['fields']['field_physician_office']['table'] = 'field_data_field_physician_office';
$handler->display->display_options['fields']['field_physician_office']['field'] = 'field_physician_office';
$handler->display->display_options['fields']['field_physician_office']['label'] = '';
$handler->display->display_options['fields']['field_physician_office']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_physician_office']['type'] = 'entityreference_entity_view';
$handler->display->display_options['fields']['field_physician_office']['settings'] = array(
  'view_mode' => 'full',
  'links' => 0,
);
$handler->display->display_options['fields']['field_physician_office']['delta_offset'] = '0';
/* Sort criterion: Content: Post date */
$handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'node';
$handler->display->display_options['sorts']['created']['field'] = 'created';
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
/* Contextual filter: Content: Nid */
$handler->display->display_options['arguments']['nid']['id'] = 'nid';
$handler->display->display_options['arguments']['nid']['table'] = 'node';
$handler->display->display_options['arguments']['nid']['field'] = 'nid';
$handler->display->display_options['arguments']['nid']['default_action'] = 'default';
$handler->display->display_options['arguments']['nid']['default_argument_type'] = 'node';
$handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
/* Filter criterion: Content: Published */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 1;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: Content: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
  'physicians' => 'physicians',
);

/* Display: Block */
$handler = $view->new_display('block', 'Block', 'block');
RdeBoer’s picture

FileSize
178.66 KB

Hi ryanfc78,

So nearly there! Getting the right information in the View is usually the hardest, especially when entity references are involved. So well done on that.

Note: thanks for the Views exports, but they are of little use to me. I don't have your content and content types, so cannot import them.

I'm not sure why you're not seeing any markers -- not through IPGV&M and not through Getlocations.

Suggest you flick on the debug option in IPGV&M, under "Advanced options", "Detail execution progress with status messages", admin/config/system/ip_geoloc. This may reveal something, give you a hint.

So what made you go for Getlocations for storage, when you were considering Geofield here: https://www.drupal.org/node/2467695#comment-9807085 ?
Someone else asked a similar question (w.r.t. the Location module). My reply may be relevant to you too: #2460707: Decisions Decisions this or Location module

Getlocations in combination with IPGV&M should work though. I just haven't used it for a while. Maybe the Getlocations maintainer changed code and we have a regression. Did you read this configuration section carefully?