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.

Configuration

This chapter gives you a basic configuration about the TYPO3 CMS extension easy_googlemap.

Plugin settings

This section covers all settings, which can be defined in the plugin itself.

Persistence

storagePid

Property

storagePid

Data type

string

Description

PageId of page containing Location objects.
Example: :code:`plugin.tx_easygooglemap.persistence {

storagePid = 4 }`

Files and paths

templateRootPath

Property

templateRootPath

Data type

string

Description

Path to template root directory.
Example: :code:`plugin.tx_easygooglemap.view {

templateRootPath = fileadmin/templates/

}`

partialRootPath

Property

partialRootPath

Data type

string

Description

Path to template root directory.
Example: :code:`plugin.tx_easygooglemap.view {

templateRootPath = fileadmin/templates/

}`

layoutRootPath

Property

layoutRootPath

Data type

string

Description

Path to template layouts.
Example: :code:`plugin.tx_easygooglemap.view {

layoutRootPath = fileadmin/layouts/

}`

cssfile

Property

cssfile

Data type

string

Description

Path to custom css file.
Example: :code:`plugin.tx_easygooglemap.configuration {

cssfile = fileadmin/css/map.css

}`

includeJquery

Property
table-row
Data type
boolean
Description
Enable or disable jQuery.
Example: :code:`plugin.tx_easygooglemap {

includeJquery = 1

}`

jquery

Property
table-row
Data type
string
Description
Set jQuery source.
Example: :code:`plugin.tx_easygooglemap {

jquery = jquery-2.1.1.min.js

}`

Map setup

apiEndpoint

Property
table-row
Data type
string
Description
Google Maps API Endpoint.

Example: :code:`plugin.tx_easygooglemap.configuration {

apiEndpoint = //maps.googleapis.com/maps/api/js

}`

apiKey

Property
table-row
Data type
string
Description
Google Maps API Key.

Example: :code:`plugin.tx_easygooglemap.configuration {

apiKey = xxxxxxxxxxxxxxxxxxxx

}`

apiKeyBackend

Property
table-row
Data type
string
Description
Google Maps API Key for Backend.

Example: :code:`plugin.tx_easygooglemap.configuration {

apiKeyBackend = xxxxxxxxxxxxxxxxxxxx

}`

apiLanguage

Property
table-row
Data type
string
Description
Language of Google Maps.

Example: :code:`plugin.tx_easygooglemap.configuration {

apiLanguage = de-ch

}`

centerMapLatitude

Property
table-row
Data type
string
Description
Sets the initial latitude.
Example: :code:`plugin.tx_easygooglemap.configuration {

centerMapLatitude = 47.6554401

}`

centerMapLongitude

Property
table-row
Data type
string
Description
Sets the initial longitude.
Example: :code:`plugin.tx_easygooglemap.configuration {

centerMapLongitude = 8.1758800

}`

fadeoutcats

Property
table-row
Data type
string
Description

A comma-separated list of categories to hide. For example: road, water etc. All options are available here: https://developers.google.com/maps/documentation/javascript/reference#MapTypeStyleFeatureType. Example:

:code:`plugin.tx_easygooglemap.configuration {

fadeoutcats = transit, poi.business

}`

zoom

Property
table-row
Data type
Int+
Description

Initial map zoom level. Example:

:code:`plugin.tx_easygooglemap.configuration {

zoom = 9

}`

Map styling

gamma

Property
table-row
Data type
string
Description

Modifies the gamma by raising the lightness to the given power. Valid values: [0.01, 10], with 1.0 representing no change. Example:

:code:`plugin.tx_easygooglemap.configuration {

gamma = 0.67

}`

saturation

Property
table-row
Data type

int

[-100 - 100]

Description

Shifts the saturation of colors by a percentage of the original value if decreasing and a percentage of the remaining value if increasing. Example:

:code:`plugin.tx_easygooglemap.configuration {

saturation = 50

}`

Dimensions and offset

height

Property
table-row
Data type
string
Description

The height of the map. Example:

:code:`plugin.tx_easygooglemap.configuration {

height = 400px

}`

width

Property
table-row
Data type
string
Description

The width of the map. Example:

:code:`plugin.tx_easygooglemap.configuration {

width = 900px

}`