Reinos.nl internet media examples

Popup

Maps 5.0.1 Live

A popup with your own HTML that opens when the mouse moves over the marker (popup:open_on_hover). See popup:content.

Template
{exp:reinos_maps:html_header}
{exp:reinos_maps:map
	width="100%"
	center:address="new york"
}
	{maps:add_marker
		address="new york"
    	popup:content="<div style='border: 1px solid black; margin-top: 8px; background: yellow; padding: 5px;'>Just a test</div>"
        popup:open_on_hover="yes"
        popup:open_by_default="no"
	}
{/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.