Load Google Maps on demand
This commit is contained in:
@@ -4,5 +4,5 @@ tt_content.gmap {
|
||||
dataProcessing {
|
||||
10 = EP\EpTheme\DataProcessing\TeaserProcessor
|
||||
}
|
||||
settings.teaserTextMaxChars = {$plugin.tx_eptheme.settings.teaserTextMaxChars}
|
||||
settings.googleMapsApiKey = {$plugin.tx_eptheme.settings.googleMapsApiKey}
|
||||
}
|
||||
|
||||
@@ -20,10 +20,6 @@ page {
|
||||
includeJSFooterlibs {
|
||||
manifest = EXT:ep_theme/Resources/Public/js/manifest.js
|
||||
vendor = EXT:ep_theme/Resources/Public/js/vendor.js
|
||||
gmaps = {$plugin.tx_eptheme.settings.googleMapsJsApiUrl}
|
||||
gmaps.external = 1
|
||||
gmaps.async = 1
|
||||
gmaps.disableCompression = 1
|
||||
}
|
||||
|
||||
includeJSFooter {
|
||||
|
||||
@@ -104,6 +104,8 @@ plugin.tx_eptheme {
|
||||
googleStaticMapsBaseUrl = https://maps.googleapis.com/maps/api/staticmap?key=AIzaSyDDOforD1O_j4xXy2nJybC2yQqbUAw9ClY
|
||||
# cat=eptheme/300/120; type=string; label=Google Maps Js API Url
|
||||
googleMapsJsApiUrl = https://maps.googleapis.com/maps/api/js?key=AIzaSyDDOforD1O_j4xXy2nJybC2yQqbUAw9ClY
|
||||
# cat=eptheme/300/120; type=string; label=Google Maps Js API Url
|
||||
googleMapsApiKey = AIzaSyDDOforD1O_j4xXy2nJybC2yQqbUAw9ClY
|
||||
|
||||
# cat=eptheme.events/700/100; type=string; label=Event date day from
|
||||
eventDateDayFrom =
|
||||
|
||||
@@ -69,6 +69,7 @@ plugin.tx_eptheme {
|
||||
bpnBookingUrlTemplateCode = {$plugin.tx_eptheme.settings.bpnBookingUrlTemplateCode}
|
||||
googleStaticMapsBaseUrl = {$plugin.tx_eptheme.settings.googleStaticMapsBaseUrl}
|
||||
googleMapsJsApiUrl = {$plugin.tx_eptheme.settings.googleMapsJsApiUrl}
|
||||
googleMapsApiKey = {$plugin.tx_eptheme.settings.googleMapsApiKey}
|
||||
datePickerPresets < plugin.tx_epproducts.settings.datePickerPresets
|
||||
searchPageHeaderImage = {$plugin.tx_eptheme.settings.searchPageHeaderImage}
|
||||
showSkipassBadge = {$plugin.tx_eptheme.settings.showSkipassBadge}
|
||||
|
||||
Reference in New Issue
Block a user