|
|
|
@ -2400,7 +2400,7 @@ angular.module('myApp.directives', ['myApp.filters'])
@@ -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 |
|
|
|
|