DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
EXT: OpenStreetMap radial search¶
Extension Key: | ods_osm_search |
---|---|
Description: | Search tt_address records in a given radius (german "Umkreissuche"). |
Author: | Robert Heel <typo3@bobosch.de> |
Copyright: | 2010-2017 |
Users manual¶
Frontend Plugin¶
Insert the Plugin on the same page as the map. Choose in the "Extended" tab of this plugin the "ods_osm" element.
Plugin option (TS option) | Description |
---|---|
Record Storage Page (pid) | Search in this page for records. |
Show search result on map | Map to show search result. |
Configuration¶
Reference¶
Property | Data type | Description | Default |
country | string list | Comma separated list of country codes (e.g. DE) | |
distance.round | integer | Round distance to this precission | 2 |
limit | integer | Show top x search results | 5 |
list | TS Object | A search result entry | see l |
pid | integer | Search in this page for records | |
radius | integer | Default search radius | 25 |
radius.auto_zoom | integer list | Comma separated list of zoom option Zoom settings for radius selection | 13,10, 9,8 |
radius.fuzzy_loops | integer | Use next greater radius x times | 2 |
radius.select | integer list | Comma separated list of distance Possible distances for dropdown | 10,25, 50,100 |
standard_on_none_found | boolean | Show standard map if no records found | |
template | string | Path to template file | |
unit | string | Distance unit | km |
- l::
- tt_address {
distance = TEXT distance.field = distance
first_name = TEXT first_name.field = first_name
image = IMAGE image.file.import = uploads/pics/ image.file.import.field = image
last_name = TEXT last_name.field = last_name
}
Tutorial¶
- Insert the Plugin on the same page as the map.
- Choose in the "Extended" tab of this plugin the "ods_osm" element.