Only a Small Portion of the Map Displays

Follow

If when visiting the Store Locator page, the map only displays a small area of the map and the rest of the map is gray, follow these steps to fix the issue:

  1. From "Shopify Admin", select Apps.

    select apps

  2. Select Store Locator.

    select store locator

  3. Select Settings.

    select settings

  4. Select Display Settings.

    select display settings

  5. Copy and paste this code into the "Page Header HTML" field: 
    <script type="text/javascript">
    jQuery(document).ready(function(){
      setInterval(function(){google.maps.event.trigger(map, "resize");}, 2000);
    });
    </script>

    paste the code

  6. Select Save.

    Save

That's it! 

Next Steps:

Blog Posts:

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.