• One of my theme is one pager.
    It has a many div hidden and it only shows when menu is click.

    This plugin is loaded in one of the hidden div, and when that div shows, this plugin default location marks did not show in the screen by default.

    But this plugin WORK PREFECT if it is in a page where directly loaded when website is visited like front page etc.

    Is there a solution to the hidden div issue?

    Thanks.

    • This topic was modified 6 years, 7 months ago by abeljonayd.
    • This topic was modified 6 years, 7 months ago by abeljonayd.
    • This topic was modified 6 years, 7 months ago by abeljonayd.
Viewing 1 replies (of 1 total)
  • Hi there

    Thank you for getting in touch!

    If the map is loaded in a hidden div, you will need to fire a Javascript event when the map becomes visible so that Google recalculates the viewport size and redraws the map.

    Here is example code:

    google.maps.event.trigger(MYMAP.map, "resize");

    If you need specific code, please link me to the page in question and we’ll give you the exact code and instructions on how to install.

    Does that help?

    Kind regards
    – Perry

Viewing 1 replies (of 1 total)
  • The topic ‘Cool Plugin – Its not loading default location marks if in hidden div directly’ is closed to new replies.