• Resolved redwall

    (@redwall)


    Hello,

    I have been having the same recurring problem as a lot of people when it comes to the Google Map displaying consistently on a page.

    I am inserting the map shortcode in a php template to pull in the map data from a custom field within the post. This php template is used by 1000’s of pages all of which have the long and lat’s filled out. For areally weird reason only some maps display and some don’t. I have tried updating the long’s and lat’s but I just get the pop up saying

    ATTENTION! (by Comprehensive Google Map Plugin)

    Dear blog/website owner,
    You did not specify any marker locations for the Google map! Please check the following when adding marker locations:
    [a] In the shortcode builder, did you add location(s) and clicked the Add button before generating shortcode?
    [b] In the widget, did you add location(s) and clicked Add button before clicking Save?

    Please revisit and reconfigure your widget or shortcode configuration. The map requires at least one marker location to be added..

    For example you will see this page I get the error (even though it has what it needs)

    http://legalpanda.ie/solicitor/charles-butler

    and this page shows the map (exact same template used)

    http://legalpanda.ie/solicitor/murphy-mcelligott

    THis has happened in multiple posts all over the site and I can’t explain why this is happening.

    Hoping the Author might have some new information on this bug?

    Thanks Red

    http://ww.wp.xz.cn/extend/plugins/comprehensive-google-map-plugin/

Viewing 1 replies (of 1 total)
  • Thread Starter redwall

    (@redwall)

    Hello,

    I was finally able to fix the problem. For others with the same issue the problem seemed to be located in the address in the tooltip. Maybe it was long addresses or some sort of format (I am not entirely sure) but I just removed that part altogether.

    So basically my shortcode was looking like this (The part that was messing it up)

    addmarkerlist='$lat1,$long1{}apartment-3.png{}$add1

    I am using the shortcode directly in a PHP tempalte so I used strings to define the lats, long and add1.

    The $add1 is essentially the address shown in the tooltip when you click it. WHen I remove this, it works.

    Hope that helps other people with the same issue.

Viewing 1 replies (of 1 total)

The topic ‘Plugin Broken – Some Maps Work, others do not work! Same code! :(’ is closed to new replies.