From 6e6c74c5c1df1b704b076faf8f600587d23f5b7d Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Mon, 3 Apr 2017 19:59:32 +0300 Subject: [PATCH] New gmaps key Closes #1364 (hopefully) --- app/js/directives.js | 2 +- app/js/lib/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/js/directives.js b/app/js/directives.js index c3fe0781..78f381c4 100755 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -2400,7 +2400,7 @@ angular.module('myApp.directives', ['myApp.filters']) element.attr('src', 'img/blank.gif') var src = 'https://maps.googleapis.com/maps/api/staticmap?sensor=false¢er=' + $scope.point['lat'] + ',' + $scope.point['long'] + '&zoom=' + zoom + '&size=' + width + 'x' + height + '&scale=2&markers=color:red|size:big|' + $scope.point['lat'] + ',' + $scope.point['long'] - var useApiKey = false + var useApiKey = true if (useApiKey) { src += '&key=' + apiKey diff --git a/app/js/lib/config.js b/app/js/lib/config.js index 8797077b..5e422615 100644 --- a/app/js/lib/config.js +++ b/app/js/lib/config.js @@ -89,7 +89,7 @@ Config.I18n = { Config.ExtCredentials = { gmaps: { - api_key: 'AIzaSyC32ij28dCa0YzEV_HqbWfIwTZQql-RNS0' + api_key: 'AIzaSyC72t5GDcP-dob20d-ARwSwOQ41-zgbArg' } }