< Back to Localization and Mapping

User Choice Between Miles and Kilometers

If you'd like to offer your visitors a choice between doing distance searches in miles or kilometers, as opposed to forcing them to use whichever you've picked at Admin -> Settings -> Localization, just add this selector to the search form:
<select name="mikm"><option value="miles">miles</option><option value="kilometers">kilometers</option></select>