Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi, just in case someone is still stuck.

    I didn’t want to edit the plugin files so I found the following solution:

    <script>
    $(window).load(function (){
      var mapStyles = [{ "stylers": [{ "hue": '#ff0000'}, { "lightness": -1} ]}];
      loaded_map = window.cslmap.gmap;
      loaded_map.setOptions({ styles:mapStyles});
    });
    </script>

    You can also set the opacity of the map container to 0 and fadeTo 1 after the styles are applied.

Viewing 1 replies (of 1 total)