Commit b7276253834dd1e402417f10af9e2108a44cd596

Authored by Eugeny Galkovskiy
1 parent b709bfa8

карта1

frontend/assets/AppAsset.php
@@ -34,6 +34,8 @@ @@ -34,6 +34,8 @@
34 'js/photoswipe.min.js', 34 'js/photoswipe.min.js',
35 'js/photoswipe-ui-default.min.js', 35 'js/photoswipe-ui-default.min.js',
36 'js/script.js', 36 'js/script.js',
  37 + '//maps.googleapis.com/maps/api/js?key=AIzaSyCoR1Jb-mIFUjPwKiuSlmtYBEwnJOBnAgg&callback=initMap',
  38 + 'js/gmaps.init.js',
37 ]; 39 ];
38 public $depends = [ 40 public $depends = [
39 'yii\web\YiiAsset', 41 'yii\web\YiiAsset',
frontend/views/site/index.php
@@ -520,8 +520,6 @@ $this->title = 'My Yii Application'; @@ -520,8 +520,6 @@ $this->title = 'My Yii Application';
520 <!-- /#content --> 520 <!-- /#content -->
521 521
522 <!-- only with map from google--> 522 <!-- only with map from google-->
523 -<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&key=AIzaSyA_GR59jXZSBeHis3s18AusortelH1flaw"></script>  
524 -<script type="text/javascript" src="/js/markerclusterer.js"></script>  
525 <div id="map"> 523 <div id="map">
526 524
527 </div> 525 </div>
528 \ No newline at end of file 526 \ No newline at end of file