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 8 years, 8 months 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? http://prntscr.com/gv2h2l like is in admin page when I create polylines? Like this http://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
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