-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from Didldu-Florian/dev
Release v1.1.1.6
- Loading branch information
Showing
26 changed files
with
580 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* @package DD_GMaps_Module | ||
* | ||
* @author HR IT-Solutions Florian Häusler <[email protected]> | ||
* @copyright Copyright (C) 2011 - 2017 Didldu e.K. | HR IT-Solutions | ||
* @copyright Copyright (C) 2011 - 2018 Didldu e.K. | HR IT-Solutions | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only | ||
**/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* @package DD_GMaps_Module | ||
* | ||
* @author HR IT-Solutions Florian Häusler <[email protected]> | ||
* @copyright Copyright (C) 2017 - 2017 Didldu e.K. | HR IT-Solutions | ||
* @copyright Copyright (C) 2017 - 2018 Didldu e.K. | HR IT-Solutions | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only | ||
**/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* @package DD_GMaps_Module | ||
* | ||
* @author HR IT-Solutions Florian Häusler <[email protected]> | ||
* @copyright Copyright (C) 2017 - 2017 Didldu e.K. | HR IT-Solutions | ||
* @copyright Copyright (C) 2017 - 2018 Didldu e.K. | HR IT-Solutions | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only | ||
**/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* @package DD_GMaps_Module | ||
* | ||
* @author HR IT-Solutions Florian Häusler <[email protected]> | ||
* @copyright Copyright (C) 2017 - 2017 Didldu e.K. | HR IT-Solutions | ||
* @copyright Copyright (C) 2017 - 2018 Didldu e.K. | HR IT-Solutions | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only | ||
**/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* @package DD_GMaps_Module | ||
* | ||
* @author HR IT-Solutions Florian Häusler <[email protected]> | ||
* @copyright Copyright (C) 2011 - 2017 Didldu e.K. | HR IT-Solutions | ||
* @copyright Copyright (C) 2011 - 2018 Didldu e.K. | HR IT-Solutions | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only | ||
**/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* @package DD_GMaps_Module | ||
* | ||
* @author HR IT-Solutions Florian Häusler <[email protected]> | ||
* @copyright Copyright (C) 2011 - 2017 Didldu e.K. | HR IT-Solutions | ||
* @copyright Copyright (C) 2011 - 2018 Didldu e.K. | HR IT-Solutions | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only | ||
**/ | ||
|
||
|
@@ -223,6 +223,18 @@ function DDNotEmptyFlag($string) | |
|
||
<?php // Initialize Map ?> | ||
var infowindow = new google.maps.InfoWindow(); | ||
|
||
var styles = {this: <?php | ||
if($params->get('stylepack')) | ||
{ | ||
require_once 'media/mod_dd_gmaps_module/js/styles/' . $params->get('stylepack') . '.json'; | ||
} | ||
else | ||
{ | ||
echo "null"; | ||
} | ||
?>}; | ||
|
||
google.maps.event.addDomListener(window, 'load', initialize); | ||
|
||
<?php | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
; @package DD_GMaps_Module | ||
; | ||
; @author HR IT-Solutions Florian Häusler <[email protected]> | ||
; @copyright Copyright (C) 2011 - 2017 Didldu e.K. | HR IT-Solutions | ||
; @copyright Copyright (C) 2011 - 2018 Didldu e.K. | HR IT-Solutions | ||
; @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only | ||
|
||
MOD_DD_GMAPS_MODULE="DD GMaps Module" | ||
|
@@ -85,6 +85,11 @@ MOD_DD_GMAPS_MODULE_MARKER_IMAGE_DESC="Marker Bild (max. Größe 50px auf 50px)" | |
MOD_DD_GMAPS_MODULE_CLUSTERMARKER_IMAGE_LABEL="Cluster Marker Bild" | ||
MOD_DD_GMAPS_MODULE_CLUSTERMARKER_IMAGE_DESC="Cluster Marker Bild (max. Größe 55px auf 55px)" | ||
|
||
MOD_DD_GMAPS_MODULE_STYLE_SETTINGS_LABEL="Styles" | ||
MOD_DD_GMAPS_MODULE_STYLE_SETTINGS_DESC="Wenden Sie benutzerdefinierte Stile auf eine Karte an. Um mehr über Styling zu erfahren, besuchen Sie: https://developers.google.com/maps/documentation/javascript/styling" | ||
MOD_DD_GMAPS_MODULE_STYLEPACK_DESC="Wählen Sie einen Beispielstil aus /media/mod_dd_gmaps_module/js/styles/ oder setze deine eigenen styles in die custom.json Für das styling, besuchen Sie: https://mapstyle.withgoogle.com/" | ||
MOD_DD_GMAPS_MODULE_STYLEPACK_LABEL="Stylepack" | ||
|
||
MOD_DD_GMAPS_MODULE_ADDONFEATURES_LABEL="Addon Funktionen" | ||
MOD_DD_GMAPS_MODULE_ADDONFEATURES_DESC="Erweiterte Erweiterung. DD GMaps Locations Komponente erforderlich." | ||
MOD_DD_GMAPS_MODULE_ADDON_DDGMAPS_LOCATIONS="<b>Addon Funktionen für DD GMaps Location</b>:" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
; @package DD_GMaps_Module | ||
; | ||
; @author HR IT-Solutions Florian Häusler <[email protected]> | ||
; @copyright Copyright (C) 2011 - 2017 Didldu e.K. | HR IT-Solutions | ||
; @copyright Copyright (C) 2011 - 2018 Didldu e.K. | HR IT-Solutions | ||
; @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only | ||
|
||
MOD_DD_GMAPS_MODULE="DD GMaps Module" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
; @package DD_GMaps_Module | ||
; | ||
; @author HR IT-Solutions Florian Häusler <[email protected]> | ||
; @copyright Copyright (C) 2011 - 2017 Didldu e.K. | HR IT-Solutions | ||
; @copyright Copyright (C) 2011 - 2018 Didldu e.K. | HR IT-Solutions | ||
; @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only | ||
|
||
MOD_DD_GMAPS_MODULE="DD GMaps Module" | ||
|
@@ -85,6 +85,11 @@ MOD_DD_GMAPS_MODULE_MARKER_IMAGE_DESC="Marker image (max. size 50px to 50px)" | |
MOD_DD_GMAPS_MODULE_CLUSTERMARKER_IMAGE_LABEL="Cluster marker image" | ||
MOD_DD_GMAPS_MODULE_CLUSTERMARKER_IMAGE_DESC="Cluster marker image (max. size 55px to 55px)" | ||
|
||
MOD_DD_GMAPS_MODULE_STYLE_SETTINGS_LABEL="Styles" | ||
MOD_DD_GMAPS_MODULE_STYLE_SETTINGS_DESC="Applie custom styles to the map. To find more about styling, visit: https://developers.google.com/maps/documentation/javascript/styling" | ||
MOD_DD_GMAPS_MODULE_STYLEPACK_DESC="Select an example style from /media/mod_dd_gmaps_module/js/styles/ or set your own style in the custom.json For styling, visit: https://mapstyle.withgoogle.com/" | ||
MOD_DD_GMAPS_MODULE_STYLEPACK_LABEL="Stylepack" | ||
|
||
MOD_DD_GMAPS_MODULE_ADDONFEATURES_LABEL="Addon Features" | ||
MOD_DD_GMAPS_MODULE_ADDONFEATURES_DESC="Extend extension. This requires the DD GMaps Locations component." | ||
MOD_DD_GMAPS_MODULE_ADDON_DDGMAPS_LOCATIONS="<b>Addon-Features for DD GMaps Location</b>:" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
; @package DD_GMaps_Module | ||
; | ||
; @author HR IT-Solutions Florian Häusler <[email protected]> | ||
; @copyright Copyright (C) 2011 - 2017 Didldu e.K. | HR IT-Solutions | ||
; @copyright Copyright (C) 2011 - 2018 Didldu e.K. | HR IT-Solutions | ||
; @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only | ||
|
||
MOD_DD_GMAPS_MODULE="DD GMaps Module" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
; @package DD_GMaps_Module | ||
; | ||
; @author HR IT-Solutions Valeria Rizak <[email protected]> | ||
; @copyright Copyright (C) 2011 - 2017 Didldu e.K. | HR IT-Solutions | ||
; @copyright Copyright (C) 2011 - 2018 Didldu e.K. | HR IT-Solutions | ||
; @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only | ||
|
||
MOD_DD_GMAPS_MODULE="DD GMaps Модуль" | ||
|
@@ -87,6 +87,12 @@ MOD_DD_GMAPS_MODULE_MARKER_IMAGE_DESC="Изображение маркера (м | |
MOD_DD_GMAPS_MODULE_CLUSTERMARKER_IMAGE_LABEL="Изображение метки кластера" | ||
MOD_DD_GMAPS_MODULE_CLUSTERMARKER_IMAGE_DESC="Изображение метки кластера (максимальный размер 55px на 55px)" | ||
|
||
; todo: translate | ||
MOD_DD_GMAPS_MODULE_STYLE_SETTINGS_LABEL="Styles" | ||
MOD_DD_GMAPS_MODULE_STYLE_SETTINGS_DESC="Applie custom styles to the map. To find more about styling, visit: https://developers.google.com/maps/documentation/javascript/styling" | ||
MOD_DD_GMAPS_MODULE_STYLEPACK_DESC="Select an example style from /media/mod_dd_gmaps_module/js/styles/ or set your own style in the custom.json For styling, visit: https://mapstyle.withgoogle.com/" | ||
MOD_DD_GMAPS_MODULE_STYLEPACK_LABEL="Stylepack" | ||
|
||
MOD_DD_GMAPS_MODULE_ADDONFEATURES_LABEL="Аддоны функции" | ||
MOD_DD_GMAPS_MODULE_ADDONFEATURES_DESC="Расширенное расширение. DD GMaps Locations Компоненты требуется." | ||
MOD_DD_GMAPS_MODULE_ADDON_DDGMAPS_LOCATIONS="<b>Аддоны функции для DD GMaps Location</b>:" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
; @package DD_GMaps_Module | ||
; | ||
; @author HR IT-Solutions Valeria Rizak <[email protected]> | ||
; @copyright Copyright (C) 2011 - 2017 Didldu e.K. | HR IT-Solutions | ||
; @copyright Copyright (C) 2011 - 2018 Didldu e.K. | HR IT-Solutions | ||
; @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only | ||
|
||
MOD_DD_GMAPS_MODULE="DD GMaps Модуль" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* @package DD_GMaps_Module | ||
* | ||
* @author HR IT-Solutions Florian Häusler <[email protected]> | ||
* @copyright Copyright (C) 2011 - 2017 Didldu e.K. | HR IT-Solutions | ||
* @copyright Copyright (C) 2011 - 2018 Didldu e.K. | HR IT-Solutions | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only | ||
**/ | ||
#dd_gmaps { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* @package DD_GMaps_Module | ||
* | ||
* @author HR IT-Solutions Florian Häusler <[email protected]> | ||
* @copyright Copyright (C) 2011 - 2017 Didldu e.K. | HR IT-Solutions | ||
* @copyright Copyright (C) 2011 - 2018 Didldu e.K. | HR IT-Solutions | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only | ||
**/ | ||
|
||
|
@@ -73,6 +73,8 @@ var initialize = function initialize() // Initializes Google Map | |
}; | ||
map = new google.maps.Map(document.getElementById("dd_gmaps"), googleMapOptions); | ||
|
||
map.setOptions({styles: styles.this}); | ||
|
||
// Add Locations | ||
var count = GMapsLocations.length; // Count Locations | ||
for(var i=0;i<count ;i++){ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** | ||
* @package DD_GMaps_Module Stylepack | ||
* @adpated developers.google.com example style-selector | ||
**/ | ||
|
||
null /* << replace with custom styles https://mapstyle.withgoogle.com */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** | ||
* @package DD_GMaps_Module Stylepack | ||
* @adpated developers.google.com example style-selector | ||
**/ | ||
[ | ||
{ | ||
featureType: 'poi.business', | ||
stylers: [{visibility: 'off'}] | ||
}, | ||
{ | ||
featureType: 'transit', | ||
elementType: 'labels.icon', | ||
stylers: [{visibility: 'off'}] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
/** | ||
* @package DD_GMaps_Module Stylepack | ||
* @adpated developers.google.com example style-selector | ||
**/ | ||
[ | ||
{elementType: 'geometry', stylers: [{color: '#242f3e'}]}, | ||
{elementType: 'labels.text.stroke', stylers: [{color: '#242f3e'}]}, | ||
{elementType: 'labels.text.fill', stylers: [{color: '#746855'}]}, | ||
{ | ||
featureType: 'administrative.locality', | ||
elementType: 'labels.text.fill', | ||
stylers: [{color: '#d59563'}] | ||
}, | ||
{ | ||
featureType: 'poi', | ||
elementType: 'labels.text.fill', | ||
stylers: [{color: '#d59563'}] | ||
}, | ||
{ | ||
featureType: 'poi.park', | ||
elementType: 'geometry', | ||
stylers: [{color: '#263c3f'}] | ||
}, | ||
{ | ||
featureType: 'poi.park', | ||
elementType: 'labels.text.fill', | ||
stylers: [{color: '#6b9a76'}] | ||
}, | ||
{ | ||
featureType: 'road', | ||
elementType: 'geometry', | ||
stylers: [{color: '#38414e'}] | ||
}, | ||
{ | ||
featureType: 'road', | ||
elementType: 'geometry.stroke', | ||
stylers: [{color: '#212a37'}] | ||
}, | ||
{ | ||
featureType: 'road', | ||
elementType: 'labels.text.fill', | ||
stylers: [{color: '#9ca5b3'}] | ||
}, | ||
{ | ||
featureType: 'road.highway', | ||
elementType: 'geometry', | ||
stylers: [{color: '#746855'}] | ||
}, | ||
{ | ||
featureType: 'road.highway', | ||
elementType: 'geometry.stroke', | ||
stylers: [{color: '#1f2835'}] | ||
}, | ||
{ | ||
featureType: 'road.highway', | ||
elementType: 'labels.text.fill', | ||
stylers: [{color: '#f3d19c'}] | ||
}, | ||
{ | ||
featureType: 'transit', | ||
elementType: 'geometry', | ||
stylers: [{color: '#2f3948'}] | ||
}, | ||
{ | ||
featureType: 'transit.station', | ||
elementType: 'labels.text.fill', | ||
stylers: [{color: '#d59563'}] | ||
}, | ||
{ | ||
featureType: 'water', | ||
elementType: 'geometry', | ||
stylers: [{color: '#17263c'}] | ||
}, | ||
{ | ||
featureType: 'water', | ||
elementType: 'labels.text.fill', | ||
stylers: [{color: '#515c6d'}] | ||
}, | ||
{ | ||
featureType: 'water', | ||
elementType: 'labels.text.stroke', | ||
stylers: [{color: '#17263c'}] | ||
} | ||
] |
Oops, something went wrong.