I'm just getting the default Google map, and an error message:

Warning: Invalid argument supplied for foreach() in template_preprocess_gmap_views_view_gmapextended() (line 50 of /mnt/www/html/ppdev/docroot/sites/all/modules/gmap/gmap.views.inc)

Comments

bhoult’s picture

Same issue with latest drupal / gmap / location as of Jan 27 2012.

alexio2170’s picture

same issue, changing to html list format I've no problems

webbykat’s picture

Same problem here - running Drupal 7, latest gmap module and latest location module.

bmunslow’s picture

Hi, to solve this problem you have to set up your views to use "fields" instead of "Content".

You then have to add all fields you want to display, together with the latitude and longitude.

Finally, edit the parametrs of the Gmaps display in your view and map the latitude and longitude fields to the Marker latitutde and marker longitude, as well as the title and body to the bubble.

HTH