Pronamic Google Maps
[resolved] Style map colors (5 posts)

  1. 101622
    Posted 2 years ago #

    I was wondering if something like the map used on this page can be use achieved using this plugin, it would be great if was.

    Can someone explain me how to it?

    Thanks in advance.


  2. Remco Tolsma
    Plugin Author

    Posted 2 years ago #

  3. 101622
    Posted 2 years ago #


    But where do I have to insert that code and what I have to do to make it work, I tried adding the code of your example to test it out and I'm unable to make it work, it just makes another new map in the pages.

    Sorry for the questions, I'm just learning :)

  4. 101622
    Posted 2 years ago #

    Ha! don't bother just worked out the code, and works fantastic. ;^)

    I leave it here if someone needs it to:


    if(function_exists('pronamic_google_maps')) {
    'width' => 500 ,
    'height' => 500 ,
    'map_options' => array(
    // https://developers.google.com/maps/documentation/javascript/styling
    // http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html
    'styles' => array(
    (object) array(
    'featureType' => 'landscape',
    'elementType' => 'all',
    'stylers' => array(
    (object) array( 'hue' => '#ffff00' ),
    (object) array( 'visibility' => 'simplified' ),
    (object) array(
    'featureType' => 'road',
    'elementType' => 'geometry',
    'stylers' => array(
    (object) array( 'hue' => '#ff0000' ),
    (object) array( 'visibility' => 'on' ),


  5. lagrafica
    Posted 2 years ago #

    Hey 101622, I'm trying to solve the same problem. Can you share where you inserted the code and other details that may be helpful for others. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pronamic Google Maps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic