Appearance
Geocoder
This tag geocodes addresses, latlngs or IP addresses. It doesn't render a map, it outputs the values of the geocoding result in your own HTML. When more than one of the params is set, only the first is used: addresses, then latlngs, then ips.
{exp:reinos_maps:geocoder
addresses="heerde"
}Tag Parameters
Below are the Tag Parameters. Those parameters can be used in the tag described above.
addresses
One or more addresses, separated with a pipe |
addresses="" [REQUIRED] if latlngs and ips are emptylatlngs
One or more latlngs (reverse geocoding), separated with a pipe |
latlngs="" [REQUIRED] if addresses and ips are emptyips
One or more IP addresses, separated with a pipe |. Use CURRENT_IP for the IP address of the visitor and SERVER_IP for the one of the server.
ips="" [REQUIRED] if addresses and latlngs are emptyVariables
These variables are available inside the {result}{/result} tag pair, once per result.
When there is no result, the tag returns nothing. The results can be changed with the reinos_maps_geocoder_end hook.
latitude
{result}
{latitude}
{/result}longitude
{result}
{longitude}
{/result}lat / lng / latlng
Short versions of the coordinates, {latlng} is lat,lng
{result}
{lat} {lng} {latlng}
{/result}bounds
{result}
{bounds}
{south}
{west}
{north}
{east}
{/bounds}
{/result}street_name
{result}
{street_name}
{/result}street_number
{result}
{street_number}
{/result}city
{result}
{city}
{/result}locality
The same as {city}
{result}
{locality}
{/result}zipcode
{result}
{zipcode}
{/result}city_district
{result}
{city_district}
{/result}sub_locality
The same as {city_district}
{result}
{sub_locality}
{/result}admin_levels
{result}
{admin_levels}
{level}
{name}
{code}
{/admin_levels}
{/result}country
{result}
{country}
{/result}country_code
{result}
{country_code}
{/result}timezone
{result}
{timezone}
{/result}address
A formatted address: the street and number, the city and the country, e.g. Dam 1, Amsterdam, Netherlands. {default_title} contains the same value.
{result}
{address}
{/result}