Skip to content

Instantly share code, notes, and snippets.

@kikmedia
Created September 4, 2013 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kikmedia/6437784 to your computer and use it in GitHub Desktop.
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
<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