Viewing 7 replies - 1 through 7 (of 7 total)
  • Im also need turn off this function.
    Any one can kindle explane how can i do it?

    Hi,

    I need to disable this function too.

    Any help?

    Thanks

    me too!

    Did anyone find a good, clean solution for removing the directions in the bubble?

    I needed to do this for a client’s website, as the map displays in a Lightbox Plus window that has a set size. This makes the links for directions useless… the directions boxes appear below the map, and due to the map being in a window with a set size, it appears to the user that the links do nothing – looks like broken functionality to the user, which we can’t have.

    I *did* manage to do remove the directions line entirely for my own purposes. I can’t be held responsible for what gets broken if you want to try this – but here it is…

    The file you want to modify is assets/js/cgmp.framework.min.js

    When you open this up, it might be a little overwhelming at first for the beginner.

    Look for LINE 20 in your editor… This is where you can apply a class to the Div that contains the directions, etc. If you can’t find it immediately, do a ‘find on page’ for the html code for a horizontal rule: <hr /> and that should put your eye in the right place. Anyone with a little bit of familiarity with adding a style or a class to a Div should be able to customize this to do what they want.

    Also, if you look at the line above in the document (LINE 19) and read through it, you will be able to control the height of the bubble window.

    Hope this helps someone. I spent half of my workday yesterday looking for a solution before I gave up and dug through the files myself.

    FoothillsInno

    (@foothillsinno)

    michaelh304 – thanks so much for posting this! There are a number of tweaks that I want to apply to the bubble but removing those useless and confusing direction links was at the top of the list. Done …

    kani

    (@mtgp)

    My way.
    edit “comprehensive-google-map-plugin/style.css”
    +
    .google-map-placeholder .bubble-content p a {display:none;}

    check. reboot browser or Other browser.
    but
    #Hyperlink# too.

    kani

    (@mtgp)

    more!
    .dirFromHereTrigger,.dirToHereTrigger,.streetViewTrigger {display:none}

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Comprehensive Google Map Plugin] Directions: To here – From here – Turn Off’ is closed to new replies.