Appearance
Radius tag
Show locations based on a radius
The tag
{exp:reinos_maps_locator:radius}
Tag Parameters
Below are the Tag Parameters. Those parameters can be used in the tag described above
location
locations=""
metric
set the type of metrics km
or mile
metric="km"
radius
radius=""
sort
Order by is by radius
sort="asc"
limit
For use with the paging tags https://docs.expressionengine.com/latest/templates/pagination.html
limit=""
Tag Variables
Below are the Tag Variables. Those Variables can be used inside the tag described above.
entry_id
{entry_id}
lat
{lat}
lng
{lng}
city
{city}
street_name
{street_name}
street_number
{street_number}
postal_code
{postal_code}
country
{country}
country_code
{country_code}
Example
{exp:reinos_maps_locator:radius location="amsterdam" radius="50"}
{if no_results}
No result
{/if}
entry_id: {entry_id}<br>
radius: {radius}<br>
lat: {lat}<br>
lng: {lng}<br>
city: {city}<br>
street_name: {street_name}<br>
street_number: {street_number}<br>
postal_code: {postal_code}<br>
country: {country}<br>
country_code: {country_code}<br>
{/exp:reinos_maps_locator:radius}