Reinos.nl internet media examples

Map Address

Maps 5.0.1 Live

Markers placed by an address: Maps geocodes the address (and caches the result). The popup shows the address with the [location] variable, and the map fits around the markers.

Template
{exp:reinos_maps:html_header}
{exp:reinos_maps:map
	width="100%"
	zoom="3"
	fit_map:markers="yes"
}
	{maps:add_marker
		address="Rotterdam"
		popup:content="This is [location]"
	}

	{maps:add_marker
		address="Amsterdam"
		popup:content="This is [location]"
	}
{/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.