Skip to content

Examples

add_route

Add a route to your current maps tag

{exp:reinos_maps:html_header}
{exp:reinos_maps:map
	width="100%"
	fit_map:routes="yes"
}
	{maps:add_route
		address:from="heerde"
		address:to="apeldoorn"
		address:stops="epe nederland|klarenbeek"
	}
{/exp:reinos_maps:map}
{exp:reinos_maps:html_footer}

Route Tag

{exp:reinos_maps:route 
    address:from="Rotterdam" 
    address:to="Amsterdam" 
    address:stops="apeldoorn|zwolle"
}
	direction:distance : {direction:distance}<br>
	direction:duration : {direction:duration}<br>
    direction:start_location: : {direction:start_location}<br>
    direction:end_location : {direction:end_location}<br>
	
	<br>
	Steps: <br>
	{direction:steps}
		direction:steps:distance : {direction:steps:distance} <br>
		direction:steps:duration : {direction:steps:duration} <br>
		direction:steps:location : {direction:steps:location} <br>
		direction:steps:instruction : {direction:steps:instruction} <br>
		direction:steps:travel_mode : {direction:steps:travel_mode} <br>
		<br>
	{/direction:steps}
{/exp:reinos_maps:route}