• Resolved msfinster

    (@msfinster)


    Hi,

    I’m using the latest free version of this plugin with the Post Types Locator Add-On, and it’s working great. I have a designated Search form page with results, and then a click through to the CPT single.php where the map is embedded with the following code:

    <?php echo do_shortcode('
    	[gmw_single_location
    	map="1"
    	map_width="100%"
    	map_height="450px"
    	hide_info="1"
    	additional_info="address,phone,email"
    	ul_marker=”0″
    	directions="0"
    	distance="0"
    	item_map_icon="XXXXXXXXXX"
    ]'); ?>

    The map displays fine, but I’m trying to add a custom Google Map style to my maps, using the reference your documentation. I have copied the code exactly – the code appears in the pages source code, but no styles are changing. I guess the map isn’t being targeted?

    I only have one search form on my Geo My WP install, with the ID of 1.

    What am I doing wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter msfinster

    (@msfinster)

    Hi all,

    Just an update, realised my logic was wrong here. The documentation link above references maps displaying using the following shortcode:

    [gmw map="1"]

    Which leads me to my next questions:

    1) How can I apply a custom Google Map style when using the [gmw_single_location] shortcode?
    2) How can I apply a custom marker image to the [gmw map=”1″] shortcode?

    • This reply was modified 7 years, 3 months ago by msfinster. Reason: added a question
    Plugin Author Eyal Fitoussi

    (@ninjew)

    Hello @msfinster,
    I apologize for missing out your post here. However, a solution for this question can be found here.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Google Map Styling not working’ is closed to new replies.