<!--
  Copyright 2023 Google LLC

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      https://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!DOCTYPE html>
<html>
  <head>
    <title>Locator</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <style>
      html,
      body {
        height: 100%;
        margin: 0;
      }

      gmpx-store-locator {
        width: 100%;
        height: 100%;

        /* These parameters customize the appearance of Locator Plus. See the documentation at
           https://github.com/googlemaps/extended-component-library/blob/main/src/store_locator/README.md
           for more information. */
        --gmpx-color-surface: #fff;
        --gmpx-color-on-surface: #212121;
        --gmpx-color-on-surface-variant: #757575;
        --gmpx-color-primary: #1967d2;
        --gmpx-color-outline: #e0e0e0;
        --gmpx-fixed-panel-width-row-layout: 28.5em;
        --gmpx-fixed-panel-height-column-layout: 65%;
        --gmpx-font-family-base: "Roboto", sans-serif;
        --gmpx-font-family-headings: "Roboto", sans-serif;
        --gmpx-font-size-base: 0.875rem;
        --gmpx-hours-color-open: #188038;
        --gmpx-hours-color-closed: #d50000;
        --gmpx-rating-color: #ffb300;
        --gmpx-rating-color-empty: #e0e0e0;
      }
    </style>
    <script>
      const CONFIGURATION = {
        "locations": [
          {"title":"Compliance World Consultancy LLC","address1":"Al Muhairy Centre Office Number","address2":"Abu Dhabi, United Arab Emirates","coords":{"lat":24.4800871,"lng":54.3570883},"placeId":"ChIJe3I8ymtnXj4RjkY2yhIvA94"},
          {"title":"Compliance World L.L.C","address1":"105 Al Kharjiyah St, Muscat 132, Oman","address2":"Muscat, Oman","coords":{"lat":23.6092599,"lng":58.4575594},"placeId":"ChIJkerLFQD_kT4R6894vGSyk3w"},
          {"title":"Compliance World LTD","address1":"238 Spring Bank","address2":"Hull, United Kingdom","coords":{"lat":53.7517647,"lng":-0.3603404},"placeId":"ChIJO0MGicy_eEgRZOHlrHrsA-o"},
          {"title":"Compliance World (Pvt) Ltd","address1":"Naveena Tower","address2":"Lahore, Plot 35, Block C3 Block C 3 Gulberg II 3rd Floor, Pakistan","coords":{"lat":31.5055928,"lng":74.3462838},"placeId":"ChIJ29tUbU8FGTkRItebCUabtFs"},
          {"title":"Compliance World LTD","address1":"54/16 Mangilik El, Block C-2.3, 1st floor","address2":"Nur-Sultan city, Kazakhstan","coords":{"lat":51.1007318,"lng":71.4222979},"placeId":"ChIJNWYH-mSFRUIRjCIojF3jFL4"},
          {"title":"Compliance world LTD","address1":"02-26 Tanjong Pagar Plz, Singapore 082001","address2":"Singapore","coords":{"lat":1.275693,"lng":103.8432909},"placeId":"ChIJF4KlspsZ2jERslSPScmfhHo"},
          {"title":"Compliance World Group","address1":"Airport ave","address2":"Muharraq, Bahrain","coords":{"lat":26.2622828,"lng":50.6133438},"placeId":"ChIJG3ElXY-nST4R3jr0mpYo3mQ"},
          {"title":"Compliance World LTD","address1":"20th Floor, 88 Joe Slovo St, Durban Central, Durban, 4001, South Africa","address2":"Durban, South Africa","coords":{"lat":-29.858036,"lng":31.022116},"placeId":"ChIJD_lxzvmp9x4RK_Oi1xgxD30"},
          {"title":"Complinace World LTD","address1":"East 16F Signature Towers Jung-gu Seoul 04542 South Korea","address2":"Jung-gu, Seoul, South Korea","coords":{"lat":37.5669014,"lng":126.9888814},"placeId":"ChIJo9q4BZ-jfDUR8iLyhKZKaVI"}
        ],
        "mapOptions": {"center":{"lat":38.0,"lng":-100.0},"fullscreenControl":true,"mapTypeControl":false,"streetViewControl":false,"zoom":4,"zoomControl":true,"maxZoom":17,"mapId":""},
        "mapsApiKey": "AIzaSyCiymDvWAHCszoE-pXR4RSMr-NfcOA78Dg",
        "capabilities": {"input":true,"autocomplete":true,"directions":true,"distanceMatrix":true,"details":true,"actions":false}
      };

    </script>
    <script type="module">
      document.addEventListener('DOMContentLoaded', async () => {
        await customElements.whenDefined('gmpx-store-locator');
        const locator = document.querySelector('gmpx-store-locator');
        locator.configureFromQuickBuilder(CONFIGURATION);
      });
    </script>
  </head>
  <body>
    <script type="module" src="https://ajax.googleapis.com/ajax/libs/@googlemaps/extended-component-library/0.6.11/index.min.js"></script>

    <!-- Uses components from the Extended Component Library; see
         https://github.com/googlemaps/extended-component-library for more information
         on these HTML tags and how to configure them. -->
    <gmpx-api-loader key="AIzaSyCiymDvWAHCszoE-pXR4RSMr-NfcOA78Dg" solution-channel="GMP_QB_locatorplus_v11_cABCDE"></gmpx-api-loader>
    <gmpx-store-locator map-id="DEMO_MAP_ID"></gmpx-store-locator>
  </body>
</html>