When clicking on a pin in the user-locations map, the picture for the user is fetched from the server. Since our user-images are mostly 85x85 (the default-maxsize), the popup-field is not big enough to hold the image which looks rather ugly.
When closing the popup and opening it a second time, all looks fine.

Haven't yet checked the node-locations map.

CommentFileSizeAuthor
#4 location-fix-user-infopopups-1.patch675 bytesray007

Comments

spooky69’s picture

Same issue - I remember seeing something on how to change the content / style of the pop-up but cannot seem to locate it.

-- www.inventionmail.com

ray007’s picture

It seems current gmap module neither displays a tooltip nor an info-popup for the user ...

ray007’s picture

Status update: my marker title patch gives me back the username tooltips, still no idea where the info popups have gone ...

ray007’s picture

Status: Active » Needs review
StatusFileSize
new675 bytes

The attached patch brings back info-popups for the user map.
Didn't yet check anything about size, but at least we now have the popup again.

ray007’s picture

Commited the patch and checking on my test-site the popup also seems to be big enough.

Anybody still having problems here?

caprenter’s picture

Just to throw something else into the mix here....

Google maps is pretty fussy about pictures in the pop up bubble and likes to have the width and size declared in order to show up properly.

I had the problem with the user picture overrunning the bubble as well, and I seem to have been able to fix it with css.

The user picture gets assigned the class 'picture', so by specifying:
.picture {
height:85px;
width:85px;
}

in one of your theme's css files this should fix it.

The problem with the user picture is that each site can set the picture size in the administartive settings. So if I set my user pictures to be 100x100px, I can now do that and change my css accordingly and hopefully all will run smoothly!

I have not checked where else the 'picture' class is applied - so this might not be as useful as I think it is at the moment!

bdragon’s picture

Title: pin-popup size too small » User picture popup
Status: Needs review » Active

(updating statuses)

ray007’s picture

Active? Seems fixed to me ...

bdragon’s picture

Status: Active » Fixed

Fine by me :P

ray007’s picture

Status: Fixed » Active

*Sigh*
Just encountered the initial problem again :-(

I'd appreciate some help with this one ...

bdragon’s picture

Status: Active » Closed (duplicate)