I have just upgraded to 7.x-3.x-dev and my "map" view not working well. For each node, I have a single location, and map display only one marker and position. The code for call the block is:

$block_1 = module_invoke('views', 'block_view', 'map-map-block');
print $block_1['content']; 

After upgrade, I see the string "Array" instead of map. I try to add "print render $block_1['content'];" and finally I display the map, but with multiple markers, one of each node I create (see attach).
There is a string to theme correctly my map or any kind of patch? It isn't correct the string "print render"?
Thank you.

CommentFileSizeAuthor
gmap_issue.JPG34.79 KBbrz

Comments

dawehner’s picture

Project: Views (for Drupal 7) » GMap Module
Version: 7.x-3.x-dev » 7.x-1.x-dev
Component: block displays » Code

This seems to highly related to the gmaps module.

johnv’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Do you need any help?

podarok’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev

You should check this with latest dev version

Anonymous’s picture

Version: 7.x-2.x-dev » 7.x-2.6
Category: support » bug

I am currently having this same issue with the 7.x-2.x-dev & 7.x-2.6 versions (either).
I, too, have only 1 address/location associated with each node however my map displays an multiple markers (however the popup displays correctly for both).
https://www.diigo.com/item/image/3vva2/u8ri

I was having this issue on another site as well. I had to jump in the database and delete a few relationships.
https://www.diigo.com/item/image/3vva2/vcdr

This worked but only temporarily.

Is this a problem with Location CCK + Node Locations?