Reinos.nl internet media examples

Geolocation

Maps 5.0.1 Live

With focus_current_location="yes" the map centers on the location of the visitor, after the browser asks for permission (only on HTTPS).

Template
{exp:reinos_maps:html_header}
{exp:reinos_maps:map
	focus_current_location="yes"
}
{/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.