Change My Map Using Snazzy Maps

This article outlines how to change your map's design by using Snazzy Maps. Snazzy Maps is a free service that allows you to create your own styling for Store Locator.

Find a design you like, then copy and paste the code into Store Locator's display settings.

 


 

Setup

  1. From the Shopify admin, select Apps.
  2. Select Store Locator.
  3. Select Settings.

    select settings

  4. Select Display Settings.

    select display settings

  5. Copy and paste this into the Page Header HTML box:
    <script>
    var old_fixURLS = fixURLS;
    
    fixURLS = function (){
    var map= boldMap;

    if (typeof map === 'undefined') {
    return
    } styles=XXXX; map.setOptions({styles: styles}); old_fixURLS(); }; </script>

    copy and paste this code in the Page Header HTML box

  6. Head over to Snazzy Maps to find your desired map style.
  7. Copy the code in the JavaScript Style Array.
  8. Replace the XXXX in the Page Header HTML box with the code copied in step 5.

    paste the code in the box

  9. Select Save.
Was this article helpful?
0 out of 0 found this helpful