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.

Reference

Extension Configurations

Property

include_library

Data type

boolean

Description

Use JavaScript Library from Extension: jQuery

Default

0

Property

footerJS

Data type

boolean

Description

Adds all JavaScript to the footer of the body instead of the head

Default

1

Constants

Property

view.templateRootPath

Data type

file

Description

Path to template root (FE)

Default

EXT:go_maps_ext/Resources/Private/Templates/

Property

view.layoutRootPath

Data type

file

Description

Path to template layouts (FE)

Default

EXT:go_maps_ext/Resources/Private/Layouts/

Property

view.partialRootPath

Data type

file

Description

Path to template partials (FE)

Default

EXT:go_maps_ext/Resources/Private/Partials/

Property

settings.storagePid

Data type

integer/String

Description

If integer is set, it will display all addresses from this PID and additionally from the TCA, if the string “this” is set, it will show the addresses from the current active page uid (i.e. settings.storagePid = “this”) field

Property

settings.apiKey

Data type

String

Description

Set the API key. Required for new domains. More information. Get your apiKey.

Property

settings.googleMapsLibrary

Data type

String

Description

Configure the URL form which the Google Maps JS is loaded

Default

//maps.google.com/maps/api/js?v=3.28

Property

settings.infoWindow.openByClick

Data type

boolean

Description

Open InfoWindows by click instead of mouse over. Global configuration for all addresses.

Default

0

Property

settings.infoWindow.closeByClick

Data type

boolean

Description

Close InfoWindows by click instead of mouse out. Global configuration for all addresses.

Default

0

Property

settings.infoWindow.imageMaxWidth

Data type

String

Description

Set the max. width of the image in InfoWindows. Global configuration for all addresses.

Default

654

Property

settings.preview.enabled

Data type

boolean

Description

Load map only when user accepted. A preview text or image will be displayed instead.

Default

1

Property

settings.preview.image

Data type

String

Description

Define a fallback image for all previews. If there is no image set on the map, this image will be shown. If both is not set, a link will be displayed. Much more is possible if you overwrite the partial.

Property

settings.preview.setCookieToShowMapAlways

Data type

boolean

Description

If the user wants to see a map once, it will be saved in the session cookie. Subsequently, all maps are loaded on a page as long as the user does not close the session.

Default

0

Property

language

Data type

String

Description

Language Code for the API (details). If not defined the language depends on the browser settings.

Default

config.language

Example

plugin.tx_gomapsext.settings.infoWindow.openByClick = 1
plugin.tx_gomapsext.settings.infoWindow.closeByClick = 1