UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

EasyBlog Map

Roman K · ·
4:13 AM Wednesday, 10 February 2016
None
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
The replies under this section are restricted to logged in users or users with an active subscription with us