Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Luna Garden Moderator
    #956025

    Hi,

    You could try this:
    In file:

    plugins\system\jagooglemap\assets\script.js

    find:

    if(info != '') {
                             var infowindow = new google.maps.InfoWindow({
                                content: info
                            });
                            google.maps.event.addListener(marker, 'click', function() {
                              infowindow.open(objMap,marker);
                            });
                        }

    change to:

    if(info != '') {
                             var infowindow = new google.maps.InfoWindow({
                                content: info
                            });
                            google.maps.event.addListener(marker, 'click', function() {
                              infowindow.open(objMap,marker);
                            });
                            infowindow.open(objMap,marker);
                        }

    brusamolino Friend
    #956349

    Hi
    i’ve tried but it doesn’t function

    Can you help me?

    thanks Luca

    Luna Garden Moderator
    #956457

    There’re two places you need to change, did you change them all ? In case it still doesn’t work, update your site’s URL, admin account & FTP account of your site, I’ll help you to fix this.

    brusamolino Friend
    #956521

    Ah ok
    i’ve changed in the second block and now is perfect!

    thanks
    Luca

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  brusamolino 8 years, 3 months ago.

The topic ‘POP Up info always open with pointer’ is closed to new replies.