0

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? – Stephen Callender Apr 27 '16 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 '16 at 19:26
  • My bad. Read right past that. :) – Stephen Callender Apr 27 '16 at 19:47
0
{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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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