A marker on a coordinate (latlng), no geocoding needed. The map is centered on the same coordinate.
Template
{exp:reinos_maps:html_header}
{exp:reinos_maps:map
width="100%"
center:latlng="52.3702157,4.8951679"
}
{maps:add_marker
latlng="52.3702157,4.8951679"
}
{/exp:reinos_maps:map}
{exp:reinos_maps:html_footer}Build it in your own site
What this example needs in ExpressionEngine, step by step.
- Install Maps.
- Put the code in a template.
This example comes from the Maps docs: the preview runs exactly the code above.