Hello there,
My question is how can I change style of map module in EasyBlog?
I'm trying to use the following instruction (
https://developers.google.com/maps/documentation/javascript/styling#styling_the_default_map) but without any success.
For example.
I'm trying to insert stylers here:
$(".mod-easyblogpostmap").implement("EasyBlog.Controller.Location.Map", {
backgroundColor: "red", // цвет фона
language: "<?php echo $language; ?>",
zoom: <?php echo $zoom; ?>,
fitBounds: <?php echo $fitBounds; ?>,
useStaticMap: false,
disableMapsUI: <?php echo $mapUi; ?>,
styles: [
{
stylers:[
{hue:"#00ffe6"},
{saturation:-100},
{gamma:0.4}
]
}
,
locations: <?php echo json_encode($locations); ?>
});
});
Could you please inform is it correct way?
BR
Thanks