WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Comprehensive Google Map Plugin] Directions box open automatically

[Resolved] [Plugin: Comprehensive Google Map Plugin] Directions box open automatically

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor alexanderzagniotov
    Member

    @alexanderzagniotov

    Thank you for the kind words 🙂
    ATM it is not possible 🙂

    Regards

    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

    Plugin Contributor alexanderzagniotov
    Member

    @alexanderzagniotov

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

    kimbolee18
    Member

    @kimbolee18

    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!

    kimbolee18
    Member

    @kimbolee18

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: Comprehensive Google Map Plugin] Directions box open automatically’ is closed to new replies.