Gantry Rockettheme map display troubles

This topic contains 3 replies, has 3 voices, and was last updated by  Paolo 9 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #14104

    evermorev
    Free User
    Post count: 1

    Hi, could you please look at:

    http://sacredactivations.com/place/united-states/florida/st-augustine/master-practitioner/lee-erickson/

    You can see that the maps are not loading.

    In the console it gives the error:

    Uncaught ReferenceError: detail_page_map_canvas_jason_args is not defined

    If I change it to any other theme it works fine. I have disabled ALL plugins but gantry and the core wpgd plugin and I still get the error.

    I see from this thread that this guy was using a rockettheme:

    https://wpgeodirectory.com/support/topic/hello-need-layout-help-please/

    but is not having troubles with the map displays.

    Could you let me know how to fix this? Is this something you have encountered before?

    #14113

    evermorev
    Free User
    Post count: 1

    I found something:

    I switched themes and there is some code that seems to be missing.

    The code should be:

    <script type=’text/javascript’>
    /* <![CDATA[ */
    var detail_page_map_canvas = {“width”:”600px”,”height”:”300px”,”child_collapse”:”0″,”sticky”:””,”enable_map_resize_button”:””,”enable_cat_filters”:””,”enable_text_search”:””,”enable_post_type_filters”:””,”enable_location_filters”:””,”enable_jason_on_load”:”1″,”enable_map_direction”:”1″,”enable_marker_cluster”:””,”ajax_url”:”http://sacredactivations.com/wp-admin/admin-ajax.php?action=geodir_ajax_action”,”map_canvas_name”:”detail_page_map_canvas”,”inputText”:”Title or Keyword”,”latitude”:”29.895833″,”longitude”:”-81.311667″,”zoom”:”10″,”scrollwheel”:”1″,”streetViewControl”:”1″,”maptype”:”ROADMAP”,”showPreview”:”0″,”maxZoom”:”21″,”autozoom”:””,”bubble_size”:”small”,”token”:”68f48005e256696074e1da9bf9f67f06″,”navigationControlOptions”:{“position”:”TOP_LEFT”,”style”:”ZOOM_PAN”}};
    var geodir_map_v3_listing_map_3 = {“width”:”294px”,”height”:”370px”,”child_collapse”:”0″,”sticky”:”1″,”enable_map_resize_button”:””,”enable_cat_filters”:””,”enable_text_search”:””,”enable_post_type_filters”:””,”enable_location_filters”:””,”enable_jason_on_load”:”1″,”enable_map_direction”:””,”enable_marker_cluster”:””,”ajax_url”:”http://sacredactivations.com/wp-admin/admin-ajax.php?action=geodir_ajax_action”,”map_canvas_name”:”geodir_map_v3_listing_map_3″,”inputText”:”Title or Keyword”,”latitude”:”29.803364″,”longitude”:”-81.263642″,”zoom”:”13″,”scrollwheel”:”0″,”streetViewControl”:”1″,”maptype”:”ROADMAP”,”showPreview”:”0″,”maxZoom”:”21″,”autozoom”:”1″,”bubble_size”:”small”,”token”:”68f48005e256696074e1da9bf9f67f06″,”navigationControlOptions”:{“position”:”TOP_LEFT”,”style”:”ZOOM_PAN”},”showall”:”0″};
    var detail_page_map_canvas_jason_args = {“detail_page_map_canvas_jason”:”[{“totalcount”:”1″,”id”:”5489″,”t”: “Lee Erickson”,”lt”: “29.803364”,”ln”: “-81.263642″,”mk_id”:”5489_68″,”i”:”http://sacredactivations.com/wp-content/uploads/2014/09/master-icon.jpg”}]”};
    var geodir_map_v3_listing_map_3_jason_args = {“geodir_map_v3_listing_map_3_jason”:”[{“totalcount”:”1″,”id”:”5489″,”t”: “Lee Erickson”,”lt”: “29.803364”,”ln”: “-81.263642″,”mk_id”:”5489_68″,”i”:”http://sacredactivations.com/wp-content/uploads/2014/09/master-icon.jpg”}]”};
    /* ]]> */
    </script>

    but it is missing:

    var geodir_map_v3_listing_map_3_jason_args = {“geodir_map_v3_listing_map_3_jason”:”[{“totalcount”:”1″,”id”:”5489″,”t”: “Lee Erickson”,”lt”: “29.803364”,”ln”: “-81.263642″,”mk_id”:”5489_68″,”i”:”http://sacredactivations.com/wp-content/uploads/2014/09/master-icon.jpg”}]”};
    /* ]]> */

    When the rocket theme is activated.

    #14127

    Guust
    Moderator
    Post count: 29970

    I’ll alert John, the theme-expert.

    #14199

    Paolo
    Site Admin
    Post count: 31206

    I’m getting a 404 for that URL? I suspect the theme is calling the google map API too and this creates a conflict.

    Buy I’d need to see this in action to confirm…

    Let us know.

    Thx

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket