Reinos.nl internet media examples

Rectangle

Maps 5.0.1 Live

A rectangle with two places as its corners (addresses). See Rectangle.

Template
{exp:reinos_maps:html_header}
{exp:reinos_maps:map
	width="100%"
	fit_map:rectangles="yes"
}
	{maps:add_rectangle
		addresses="Amsterdam|Maastricht"
	}
{/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.