Home › Forums › MapPress Support › Initial Open with Direction True doesn't autofill directions › Reply To: Initial Open with Direction True doesn't autofill directions
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"]