Reinos.nl internet media examples

Route planner

Maps 5.0.1 Live

The route planner with the built-in HTML, translated with the label: and text: params. See Route planner.

Template
{exp:reinos_maps:html_header}
{exp:reinos_maps:map width="100%" height="400px"}
	{maps:add_marker address="Utrecht Centraal"}
	{maps:route_planner
		address:to="Utrecht Centraal"
		travel_modes="cycling|walking|driving"
		lang="nl"
		label:from="Van"
		label:locate="Gebruik mijn locatie"
		label:cycling="Fiets"
		label:walking="Lopen"
		label:driving="Auto"
		label:submit="Plan route"
		text:summary="[distance] in [duration]"
	}
{/exp:reinos_maps:map}
{exp:reinos_maps:html_footer}

Build it in your own site

What this example needs in ExpressionEngine, step by step.

  1. Install Maps.
  2. Put the code in a template.

This example comes from the Maps docs: the preview runs exactly the code above.