Created
September 4, 2013 14:31
-
-
Save kikmedia/6437784 to your computer and use it in GitHub Desktop.
Render POI from a dlh_googlemap module. Simply add *below* the map and set the gmapID. #Contao #dlh_googlemaps
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
<script type="text/javascript"> | |
function gmap<?php echo this->$mapID; ?>_dynmap(gmap<?php echo this->$mapID; ?>) { | |
var Styles = [ | |
{ | |
featureType: "poi.business", | |
stylers: [ | |
{ visibility: "off" } | |
] | |
}, | |
{ | |
stylers: [ | |
{ gamma: 0.5 } | |
] | |
} | |
]; | |
gmap<?php echo this->$mapID; ?>.setOptions({styles: Styles}); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment