Is there a way to customize map colors using Google Maps for ExpressionEngine?

I know it can be done with Google Maps but since the plugin is generating the map code, I'm not sure how to add the code that controls map colors.

Thanks for any help.

  • Show us your current template code. Are you using an add-on? Apr 27, 2016 at 19:23
  • Yes, I'm using an add-on. The add-on is Google Maps for EE as I mentioned in my post. The template code is {exp:gmap:init id="map" class="gmap" style="width:100%;height:400px"}
    – mediapimp
    Apr 27, 2016 at 19:26
  • My bad. Read right past that. :) Apr 27, 2016 at 19:47

1 Answer 1

{exp:gmap:init id="map" class="gmap" styles="/assets/js/gmap-styles.js" style="width:100%;height:400px"}

Download sample gmap-style.js, edit it, and link to it using the styles parameter.

See documentation.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.