Blame view

frontend/web/js/gmaps.init.js 451 Bytes
4acbd19d   Alexey Boroda   -Bar tabs
1
2
3
  $(
      function() {
  
83309611   Alexey Boroda   -Map in process
4
5
6
7
8
9
10
          function initMap() {
              var map = new google.maps.Map(
                  document.getElementById('map'), {
                      center: {
                          lat: parseFloat(window.lat),
                          lng: parseFloat(window.lon)
                      },
4acbd19d   Alexey Boroda   -Bar tabs
11
              scrollwheel: false,
83309611   Alexey Boroda   -Map in process
12
13
14
                      zoom: 16
                  }
              );
4acbd19d   Alexey Boroda   -Bar tabs
15
          }
4acbd19d   Alexey Boroda   -Bar tabs
16
  
83309611   Alexey Boroda   -Map in process
17
18
19
          window.initMap = initMap();
      }
  );