• Resolved dados

    (@dados)


    Hi,

    I use your plugin to show maps in tabs slider.. but its not work.. when tab Location is load.. there is no map ?? … I try to fix it with some jquery and resize.. but with no success .. can you please help me or maybe to add option to check in update of this plugin, if I want to show map in div with display:none … tnx

Viewing 7 replies - 1 through 7 (of 7 total)
  • Dear Dados,

    Thanks for your post.
    May we kindly ask you to provide the link to your website for us to check the issue?

    Thanks

    Thread Starter dados

    (@dados)

    sorry but I can not share this link… And actually, I know what is the issues.. and if you developed this plugin, then you must know that gmap not work if your div have display: none … and you do not need link to my website ??

    I know how to fix this in simple gmap .. but not sure how to trigger again function on your plugin… I done this before with this example of code, where “LoadMapFunctionName” is example of function name to load map… but I am not sure that this will work here

      $('#gmap_trigger_link').click(function() {
        setTimeout(function(){LoadMapFunctionName();}, 500);
      });
    • This reply was modified 7 years, 1 month ago by dados.

    Dear dados,

    Please include this code:

    function hugeitMapsFrontRefresh() {
    google.maps.event.trigger(front_end_map, ‘resize’);
    front_end_map.setCenter(center_coords);
    }

    jQuery(document).on(‘click’,function () {
    setTimeout(function () {
    hugeitMapsFrontRefresh();
    }, 500);
    })

    into the frontend.js file

    after the

    var front_end_map = new google.maps.Map(document.getElementById(elementId), frontEndMapOptions);

    Please inform us about your results.

    Thanks

    Thread Starter dados

    (@dados)

    great.. tnx.. its work solid.. not perfect but its okay.. have some small bugs .. but no problem… tnx for code..

    only just one more questions.. is there options to show markers on polylines? https://prntscr.com/gv2h2l like is in admin page when I create polylines? Like this https://prntscr.com/gv2hdc

    Dear dados,

    Thanks for your feedback. If there are issues left, feel free to share them with us ??

    What refers to the markers, then this is considered to be a modification of the plugin. Please contact us directly and we will be glad to help you with that.

    We will wait for your email.

    Thanks

    Thread Starter dados

    (@dados)

    sorry to replay you little late ?? I found how to add markers on polylines .. for issues.. its look like it was issues with my theme ?? code work perfect.. tnx

    huge-it-support-1

    (@huge-it-support-1)

    Dear dados,

    Thank you very much for keeping us updated.
    We are happy that everything works as expected now.
    We will be grateful if you post the solution here (of course if it is not too long, complicated and time-consuming ?? ) for other users being able to fix the issue in the case of facing it.

    In the case, if you need our help any further, feel free to contact us.
    We will be glad to assist.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Map not work in tabs’ is closed to new replies.