A marker on a coordinate that is reverse geocoded (reverse_geocode_latlng="yes"): Maps looks up the address of the coordinate, so the geocoding variables work in the popup.
Template
{exp:reinos_maps:html_header}
{exp:reinos_maps:map
width="100%"
fit_map:markers="yes"
zoom="5"
}
{maps:add_marker
reverse_geocode_latlng="yes"
latlng="52.6109572221503, 9.707013666629791"
}
{/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.