If i press the marker when in block, marker info not displayed...

CommentFileSizeAuthor
#6 fix_marker_info-1919416-6.patch533 bytesAnonymous (not verified)
#3 locationmap.js_.patch483 bytesminhduclol

Comments

namwebs’s picture

I'm having the same issue...

johanvdr’s picture

Issue summary: View changes

This is because in locationmap.js

var infowindow = new google.maps.InfoWindow({
content: Drupal.settings.locationmap.info
 });

Drupal.settings.locationmap.info returns an object and not a string.
Should be: Drupal.settings.locationmap.info['value']

minhduclol’s picture

StatusFileSize
new483 bytes

I'm submit a patch, please review and commit

frankdesign’s picture

Patch works great, thanks a mil. Please commit.

john franklin’s picture

Status: Active » Reviewed & tested by the community

Looks good to me, too.

Anonymous’s picture

Version: 7.x-2.2 » 7.x-2.x-dev
Category: Support request » Bug report
StatusFileSize
new533 bytes

Here's an updated, proper patch.

ericwongcm’s picture

Patch in #6 works fine for me, please commit it to code.

john franklin’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thanks for the patch.

  • John Franklin committed 13f91b3 on 7.x-2.x
    Revert "Issue #1919416 by minhduclol: Marker info"
    
    This reverts commit...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

frankdesign’s picture

Any chance of applying this update to the recommended version of the module - at the moment it looks like it has only been applied to the Dev version.

Thanks

F

P.S. Sorry for all the issue postings today - just need to add this great module to one of my new sites.

jprstoney’s picture

I've applied the patch and can click on the marker (and scroll the map, etc.) while the page is loading.

Once the page has loaded I can't do anything. It's a static map for all intents and purposes.

Any ideas welcomed? Many thanks in advance.

Drupal 7.44
PHP 5.3.29
Jquery 1.10.2