Initial Open with Direction True doesn't autofill directions

Home Forums MapPress Support Initial Open with Direction True doesn't autofill directions

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14575
    utcommoffice
    Participant

    This is my code

    <?php echo do_shortcode( '[mappress initialopeninfo="false" directions="inline" initialOpenDirections="true" height="300"]' );?>

    This behaves exactly like it should except for the directions boxes are empty. Shouldn’t one of them be populated with the address of the POI?

    #14576
    Chris
    Keymaster

    Hi,

    Sorry, the documentation is not up to date. I’ll update it right away.

    The current versions of the plugin is more flexible, but it doesn’t default the ‘to’ address. The following parameters are used:
    initialopendirections – true of false

    from – address or POI number (starting at 0) to use as the default whenever the directions form is opened

    to – address or POI number to use as a default

    For example, this will open the directions from with directions from San Francisco to the first POI:

    [mappress initialopendirections="true" from="San Francisco" to="0"]

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.