Innovate My School

Hover effect

10 posts in this topic

Hi,

Accidentally posed a question in another area - realised I'd logged into the demo account as well so I couldn't post it here.

bowthemes.com/forums/topic/7664-pin-hover/

Can someone take a look and let me know if this is possible?

Thanks,

Owen.

Share this post


Link to post
Share on other sites

Hi.

I don't think that BT Google Maps Pro has hover effect.

The marker is only clickable.

Can i see the problem directly?

I'm sorry if i miss something.

Hi there.

I'm sorry for my late but i replied the topic you give me. I dont' know you read it or not, if you still need my help please tell me.

Thanks

Share this post


Link to post
Share on other sites

Hi,

Thanks for getting back to me.

The hover effect is on the pins sorry - its when you hover the cursor over the pin and it automatically opens. However when it's open I want it to close when the cursor is moved away again?

Example here

At the bottom of this page is the map.

Thanks,

Share this post


Link to post
Share on other sites

Hi there.

thanks so much for using our extension.

Please notice that there is an option to choose event to open inforwindow. You can see it on Bt Google Map Pro's configuration page. It is the last option.

You can set it by "click" or "hover"

If you still want to keep hover effect please try this solution

Open file /components/com_bt_googlemaps_pro/assets/js/BTMapObj.js

Find this line

this.markers.push(marker);

and add this code right above it

if(options.placeOptions.mouse_event_show_infowindow == 'mouseover'){

google.maps.event.addListener(marker, 'mouseout', function() {

mapObj.infowindow.close();

});

}

I hope it will help you.

Thanks

Share this post


Link to post
Share on other sites

Hover on the pin seems only show the title of the place.

The infowindow is displayed only onclick.

Is there a way to allow hover to show infowindow instead?

Share this post


Link to post
Share on other sites

Hi.

I'm sorry, i'm confused with your problem.

You said

"Hover on the pin seems only show the title of the place."

Can you tell me more detail about this problem?

It's better if you give me a screenshot.

Thanks so much.

Share this post


Link to post
Share on other sites