WordPress.org

Ready to get started?Download WordPress

Forums

Comprehensive Google Map Plugin
[resolved] Directions box open automatically (6 posts)

  1. jcritty
    Member
    Posted 2 years ago #

    Curious if there is a way to always have the directions panel to be open?

    Currently, I need to click on the marker, then click Directions to here. The buisness just wants that open and ready to go.

    Love love love this plugin!!

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

  2. alexanderzagniotov
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you for the kind words :)
    ATM it is not possible :)

    Regards

  3. jcritty
    Member
    Posted 2 years ago #

    Thanks for the speedy response.

    I know you get a billion requests for future versions, but if this one sticks in your mind, I'll be rather grateful.

    Cheers.
    j

  4. alexanderzagniotov
    Member
    Plugin Author

    Posted 2 years ago #

    I will keep that in mind, unfortunately I do not have an ETA :(

  5. kimbolee18
    Member
    Posted 2 years ago #

    Just wondering--has this been implemented yet? I'm designing a site for a client and being able to display the "get directions" box automatically would be fantastic!

  6. kimbolee18
    Member
    Posted 2 years ago #

    Nevermind--I found a fix (until the feature is added to the plugin). In the source files for the plugin, there is a file named "map_placeholder_and_directions.tpl" Line 3 reads:

    <div class="direction-controls-placeholder" id="direction-controls-placeholder-MAP_PLACEHOLDER_ID_TOKEN" style="background: white; width: MAP_PLACEHOLDER_WIDTH_TOKEN; margin-top: 5px; border: 1px solid #EBEBEB; display: none; padding: 18px 0 9px 0;">

    Change the display to display:block and the directions box will appear by default. If you want to pre-set the starting address, change the "value" on line 29
    EX: <input type="text" maxlength="2048" tabindex="4" value="YOUR STARTING ADDRESS" name="a_address" id="a_address" title="Start address" class="wp kd-input-text" autocomplete="off" autocorrect="off">

    Ending address can be edited in the same way on line 50:

    <input type="text" maxlength="2048" tabindex="4" value="YOUR END ADDRESS" name="b_address" id="b_address" title="End address" class="wp kd-input-text" autocomplete="off" autocorrect="off">

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic