WordPress.org

Forums

Comprehensive Google Map Plugin
Directions: To here - From here - Turn Off (8 posts)

  1. Ann Kelly
    Member
    Posted 3 years ago #

    Hi,

    I absolutely love your plugin, just downloaded it today and have been playing around with it. Absolutely brilliant. I just had one question though, I've had a look through the other posts but I can't seem to find how to turn off Directions: To here - From here. Is it possible to do this?

    Many thanks for your help and again, loving the plugin :)

    http://wordpress.org/extend/plugins/comprehensive-google-map-plugin/

  2. cesaregl
    Member
    Posted 3 years ago #

    Im also need turn off this function.
    Any one can kindle explane how can i do it?

  3. KaYs3r
    Member
    Posted 2 years ago #

    Hi,

    I need to disable this function too.

    Any help?

    Thanks

  4. sugoo
    Member
    Posted 2 years ago #

    me too!

  5. michaelh304
    Member
    Posted 2 years ago #

    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.

  6. FoothillsInno
    Member
    Posted 2 years ago #

    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 ...

  7. kani
    Member
    Posted 2 years ago #

    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.

  8. kani
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Comprehensive Google Map Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic