Okay
  Public Ticket #1456964
Map title and description
Closed

Comments

  •  2
    sjuharad started the conversation

    Hi!

    The title and description above the mark on a map show on click. I'd like them to be visible by default. Is that possible, and if so, how? Thanks

  • [deleted] replied

    Hi sjuharad,

    I have added the following code in Theme Options > FooterJavaScript & Tracking CodeFooter JavaScript:

    <script>
    jQuery( document ).ready( function( $ ) {
        if ( google ) {
            google.maps.event.addDomListener( window, 'load', jQuery.debounce( 300, function() {
                jQuery.each( labVcMaps, function( i, map ) {
                    jQuery.each( map.mapMarkers, function( j, marker ) {
                        marker.infowindow.open( map.mapInstance, marker.marker );
                    } );
                } );
            } ) );
        }
    } );
    </script>

    So the marker automatically is expanded with info window.

  •  2
    sjuharad replied

    Thank you very much Arlind, works perfectly!

  • [deleted] replied

    Glad to hear that

    Will set this ticket as solved from here.