Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #788577

    Having the first line of the address serve as the tooltip for the Google Map markers is awkward. It would be great if the first field were ‘Name’ (as in business name), so that when a user hovered over a map marker that would show (instead of the first line of the address).

    Short of being able to show the business name, I tried to hide the marker tooltip by using code I found in another post…

    function add_custom_tooltip(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('.gmnoprint').removeAttr('title');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_tooltip');
    ?>

    … but this had no effect (see link in private content).

    How can I remove the tooltip so it no longer shows (short of being able to show the first line of the contents of the info bubble)?

    #788962

    Hey lzevon,
    Try this code in the General Styling > Quick CSS field:

    .gmnoprint {
    display: none !important;
    }

    Best regards,
    Mike

    #789675

    I tried this, but I still want users to be able to expand the info bubble, what you suggest prevents this from happening.

    #789932

    Hi,
    Sorry I can’t find any other solution for hiding the map tooltip.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Google Map Tooltip’ is closed to new replies.