Settings

showBeforeSearch

showBeforeSearch
Type
integer
Default
1
Possible values
1 & 2 & 4

Defines what should get displayed before the search was triggered. Must be used as binary flags

  • 1 show search
  • 2 show map
  • 4 show list

showAfterSearch

showAfterSearch
Type
integer
Default
6
Possible values
1 & 2 & 4

Defines what should get displayed after the search was triggered. Must be used as binary flags

  • 1 show search
  • 2 show map
  • 4 show list

apiV3Layers

apiV3Layers
Type
list of string
Possible values
traffic, bicycling, kml

Select which layers should be rendered in the map

limit

limit
Type
integer
Default
20

Amount of records per page in the result list

allowedCountries

allowedCountries
Type
list of string

List of country ISO2 codes that may be rendered in country select of search form

categories

categories
Type
list of integer

List of categories as base to render category tree in search form

categoryPriority

categoryPriority
Type
string
Default
useAsFilterInFrontend
Possible values
useAsFilterInFrontend, useParentIfNoFilterSelected, limitResultsToCategories

List of categories as base to render category tree in search form

singleLocationId

singleLocationId
Type
integer

Id of an single location record to get rendered in map without search query

geocoderProvider

geocoderProvider
Type
string

Contains class name of geocoding provider to enable changing to different services

apiConsoleKey

apiConsoleKey
Type
string

Used for geocoding and reverse geocoding of addresses via Google Maps Geocoding API. Must have access for Google Maps Geocoding API and can only be restricted by ip addresses.

apiConsoleKeyGeocoding

apiConsoleKeyGeocoding
Type
string

Used for output map via Google Maps JavaScript API. Must have access for Google Maps JavaScript API and can only be restricted by domains.

mapId

mapId
Type
string

Map id to identify the map and configure it's rendering

googleLibraries

googleLibraries
Type
list of string

Used to define what modules should be loaded. The modules core, map and marker are always added this list.

distanceUnit

distanceUnit
Type
string
Default
kilometer
Possible values
kilometer, miles

Base of distance values given in range select of search form. If miles is set the range gets multiplied with 1.6

language

language
Type
string
Default
en
Possible values
All possible ISO2 language values

ISO2 definition for language to use by google map

showStoreImage

showStoreImage
Type
boolean
Default
1

If set the location store image gets rendered in result mapBubble

resultPageId

resultPageId
Type
integer

If set the search result gets rendered on a different page. If empty the current page is used

mapSize.height

mapSize.height
Type
integer
Default
400

Default height of map used in inline style

mapSize.width

mapSize.width
Type
integer
Default
600

Default width of map used in inline style

override

override
Type
array of options
Default
600

Sometimes the admin want to restrict configuration available in the flexform. With the override its possible to define values that should override the configuration done in the flexform.

disableFetchLocationInAction

disableFetchLocationInAction
Type
array of string
Possible values
map, cachedMap, search

Disabling the fetching of locations based on constraints individually. This disables the fetching of locations in map, cachedMap and search action. Use this only in combination with a listener for MapGetLocationsByConstraintsEvent or you do not get any output at all.

  • map the default map action
  • cachedMap the cached map action
  • search the search action
Example
 
EXT:site_package/Configuration/TypoScript/setup.typoscript
disableFetchLocationInAction {
    0 = map
    1 = cachedMap
    2 = search
}
Copied!