Appearance
Geocoder
This tag will geocode anything. It will not render a map as the other tag does, but instead it shows just the values of the geocoding result.
{exp:reinos_maps:geocoder
addresses="heerde"
}Tag Parameters
Below are the Tag Parameters. Those parameters can be used in the tag described above.
addresses
multiple addresses, eg. addresses seperated with a pipline '|'
addresses="" [REQUIRED] if latlng or ip is emptylatlngs
multiple latitude longlitude, seperated with a pipline '|'
latlngs="" [REQUIRED] if address or ip is emptyips
multiple ips, seperated with a pipline '|' (Magic const: CURRENT_IP and SERVER_IP)
ips="" [REQUIRED] if address or latlng is emptyVariables
Below are the variable and accessible withing the {result}{/result} tag
When there is no result, the tag returns nothing.
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, e.g. Street 1, City, Country. {default_title} contains the same value.
{result}
{address}
{/result}