parent
b37bb78167
commit
6e6c74c5c1
@ -2400,7 +2400,7 @@ angular.module('myApp.directives', ['myApp.filters'])
|
|||||||
element.attr('src', 'img/blank.gif')
|
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 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) {
|
if (useApiKey) {
|
||||||
src += '&key=' + apiKey
|
src += '&key=' + apiKey
|
||||||
|
@ -89,7 +89,7 @@ Config.I18n = {
|
|||||||
|
|
||||||
Config.ExtCredentials = {
|
Config.ExtCredentials = {
|
||||||
gmaps: {
|
gmaps: {
|
||||||
api_key: 'AIzaSyC32ij28dCa0YzEV_HqbWfIwTZQql-RNS0'
|
api_key: 'AIzaSyC72t5GDcP-dob20d-ARwSwOQ41-zgbArg'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user