Skip to content

Commit

Permalink
create google-maps asset
Browse files Browse the repository at this point in the history
  • Loading branch information
malder1975 committed Oct 3, 2016
1 parent ce28c25 commit 54cfe99
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions frontend/assets/GoogleMapsAsset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php



namespace frontend\assets;

use yii\web\AssetBundle;

/**
* Description of GoogleMapsAsset
*
* @author VGRovnov
*/
class GoogleMapsAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';

public $js = [
'https://maps.googleapis.com/maps/api/js?key=AIzaSyA5l5y0pcgxd7n6S_sdb4UcKXN3iFj3Dik&callback=initMap',
];



}

0 comments on commit 54cfe99

Please sign in to comment.