Skip to content

Commit ab498ef

Browse files
committed
Version 1.16.5
1 parent df670ad commit ab498ef

22 files changed

+178
-215
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngmap",
3-
"version": "1.16.4",
3+
"version": "1.16.5",
44
"main": "./build/scripts/ng-map.js",
55
"homepage": "https://github.com/allenhwkim/angularjs-google-maps",
66
"authors": [

build/docs/source/Attr2MapOptions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ <h1 class="title">
499499
}
500500
controlOptions[attr] = options;
501501
} catch (e) {
502-
$log.error('invald option for', attr, newValue, e, e.stack);
502+
console.error('invald option for', attr, newValue, e, e.stack);
503503
}
504504
}
505505
} // for

build/docs/source/NavigatorGeolocation.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ <h1 class="title">
181181
/* global google */
182182
(function() {
183183
'use strict';
184-
var $q, $log;
184+
var $q;
185185
/**
186186
* @memberof NavigatorGeolocation
187187
* @param {Object} geoLocationOptions the navigator geolocations options.
@@ -213,7 +213,7 @@ <h1 class="title">
213213
function(position) {
214214
deferred.resolve(position);
215215
}, function(evt) {
216-
$log.error(evt);
216+
console.error(evt);
217217
deferred.reject(evt);
218218
},
219219
geoLocationOptions
@@ -223,13 +223,13 @@ <h1 class="title">
223223
}
224224
return deferred.promise;
225225
};
226-
var NavigatorGeolocation = function(_$q_, _$log_) {
227-
$q = _$q_; $log = _$log_;
226+
var NavigatorGeolocation = function(_$q_) {
227+
$q = _$q_;
228228
return {
229229
getCurrentPosition: getCurrentPosition
230230
};
231231
};
232-
NavigatorGeolocation.$inject = ['$q', '$log'];
232+
NavigatorGeolocation.$inject = ['$q'];
233233
angular.module('ngMap').
234234
service('NavigatorGeolocation', NavigatorGeolocation);
235235
})();

build/docs/source/NgMap.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ <h1 class="title">
179179
*/
180180
(function() {
181181
'use strict';
182-
var $window, $document, $q, $log;
182+
var $window, $document, $q;
183183
var NavigatorGeolocation, Attr2MapOptions, GeoCoder, camelCaseFilter;
184184
var mapControllers = {};
185185
var getStyle = function(el, styleProp) {
@@ -204,7 +204,7 @@ <h1 class="title">
204204
ctrl.initializeMap();
205205
return ctrl.map;
206206
} else {
207-
$log.error('map is already instialized');
207+
console.error('map is already instialized');
208208
}
209209
};
210210
/**
@@ -366,14 +366,13 @@ <h1 class="title">
366366
defaultOptions = options;
367367
};
368368
var NgMap = function(
369-
_$window_, _$document_, _$q_, _$log_,
369+
_$window_, _$document_, _$q_,
370370
_NavigatorGeolocation_, _Attr2MapOptions_,
371371
_GeoCoder_, _camelCaseFilter_
372372
) {
373373
$window = _$window_;
374374
$document = _$document_[0];
375375
$q = _$q_;
376-
$log = _$log_;
377376
NavigatorGeolocation = _NavigatorGeolocation_;
378377
Attr2MapOptions = _Attr2MapOptions_;
379378
GeoCoder = _GeoCoder_;
@@ -390,7 +389,7 @@ <h1 class="title">
390389
};
391390
};
392391
NgMap.$inject = [
393-
'$window', '$document', '$q', '$log',
392+
'$window', '$document', '$q',
394393
'NavigatorGeolocation', 'Attr2MapOptions',
395394
'GeoCoder', 'camelCaseFilter'
396395
];

build/docs/source/bicycling-layer.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,14 @@ <h1 class="title">
188188
*/
189189
(function() {
190190
'use strict';
191-
var $log, parser;
191+
var parser;
192192
var linkFunc = function(scope, element, attrs, mapController) {
193193
mapController = mapController[0]||mapController[1];
194194
var orgAttrs = parser.orgAttributes(element);
195195
var filtered = parser.filter(attrs);
196196
var options = parser.getOptions(filtered, {scope: scope});
197197
var events = parser.getEvents(scope, filtered);
198-
$log.debug('bicycling-layer options', options, 'events', events);
198+
console.log('bicycling-layer options', options, 'events', events);
199199
var layer = getLayer(options, events);
200200
mapController.addObject('bicyclingLayers', layer);
201201
mapController.observeAttrSetObj(orgAttrs, attrs, layer); //observers
@@ -210,15 +210,15 @@ <h1 class="title">
210210
}
211211
return layer;
212212
};
213-
var bicyclingLayer= function(_$log_, Attr2MapOptions) {
214-
$log = _$log_, parser = Attr2MapOptions;
213+
var bicyclingLayer= function(Attr2MapOptions) {
214+
parser = Attr2MapOptions;
215215
return {
216216
restrict: 'E',
217217
require: ['?^map','?^ngMap'],
218218
link: linkFunc
219219
};
220220
};
221-
bicyclingLayer.$inject = ['$log', 'Attr2MapOptions'];
221+
bicyclingLayer.$inject = ['Attr2MapOptions'];
222222
angular.module('ngMap').directive('bicyclingLayer', bicyclingLayer);
223223
})();
224224
</code></pre>

build/docs/source/directions.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ <h1 class="title">
201201
/* global document */
202202
(function() {
203203
'use strict';
204-
var NgMap, $timeout, $log, NavigatorGeolocation;
204+
var NgMap, $timeout, NavigatorGeolocation;
205205
var getDirectionsRenderer = function(options, events) {
206206
if (options.panel) {
207207
options.panel = document.getElementById(options.panel) ||
@@ -258,11 +258,10 @@ <h1 class="title">
258258
}
259259
};
260260
var directions = function(
261-
Attr2MapOptions, _$timeout_, _$log_, _NavigatorGeolocation_, _NgMap_) {
261+
Attr2MapOptions, _$timeout_, _NavigatorGeolocation_, _NgMap_) {
262262
var parser = Attr2MapOptions;
263263
NgMap = _NgMap_;
264264
$timeout = _$timeout_;
265-
$log = _$log_;
266265
NavigatorGeolocation = _NavigatorGeolocation_;
267266
var linkFunc = function(scope, element, attrs, mapController) {
268267
mapController = mapController[0]||mapController[1];
@@ -280,12 +279,12 @@ <h1 class="title">
280279
$timeout(function(){
281280
var panel =
282281
document.getElementById(val) || document.querySelector(val);
283-
$log.debug('setting ', attrName, 'with value', panel);
282+
console.log('setting ', attrName, 'with value', panel);
284283
panel && renderer.setPanel(panel);
285284
});
286285
} else if (options[attrName] !== val) { //apply only if changed
287286
var optionValue = parser.toOptionValue(val, {key: attrName});
288-
$log.debug('setting ', attrName, 'with value', optionValue);
287+
console.log('setting ', attrName, 'with value', optionValue);
289288
options[attrName] = optionValue;
290289
updateRoute(renderer, options);
291290
}
@@ -306,7 +305,7 @@ <h1 class="title">
306305
};
307306
}; // var directions
308307
directions.$inject =
309-
['Attr2MapOptions', '$timeout', '$log', 'NavigatorGeolocation', 'NgMap'];
308+
['Attr2MapOptions', '$timeout', 'NavigatorGeolocation', 'NgMap'];
310309
angular.module('ngMap').directive('directions', directions);
311310
})();
312311
</code></pre>

build/docs/source/fusion-tables-layer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ <h1 class="title">
190190
(function() {
191191
'use strict';
192192
angular.module('ngMap').directive('fusionTablesLayer', [
193-
'$log', 'Attr2MapOptions', function($log, Attr2MapOptions) {
193+
'Attr2MapOptions', function(Attr2MapOptions) {
194194
var parser = Attr2MapOptions;
195195
var getLayer = function(options, events) {
196196
var layer = new google.maps.FusionTablesLayer(options);
@@ -207,7 +207,7 @@ <h1 class="title">
207207
var filtered = parser.filter(attrs);
208208
var options = parser.getOptions(filtered, {scope: scope});
209209
var events = parser.getEvents(scope, filtered, events);
210-
$log.debug('fusion-tables-layer options', options, 'events', events);
210+
console.log('fusion-tables-layer options', options, 'events', events);
211211
var layer = getLayer(options, events);
212212
mapController.addObject('fusionTablesLayers', layer);
213213
}

build/docs/source/heatmap-layer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ <h1 class="title">
188188
(function() {
189189
'use strict';
190190
angular.module('ngMap').directive('heatmapLayer', [
191-
'Attr2MapOptions', '$window', '$log', function(Attr2MapOptions, $window, $log) {
191+
'Attr2MapOptions', '$window', function(Attr2MapOptions, $window) {
192192
var parser = Attr2MapOptions;
193193
return {
194194
restrict: 'E',
@@ -211,7 +211,7 @@ <h1 class="title">
211211
* set events
212212
*/
213213
var events = parser.getEvents(scope, filtered);
214-
$log.debug('heatmap-layer options', layer, 'events', events);
214+
console.log('heatmap-layer options', layer, 'events', events);
215215
mapController.addObject('heatmapLayers', layer);
216216
}
217217
}; // return

build/docs/source/kml-layer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ <h1 class="title">
201201
(function() {
202202
'use strict';
203203
angular.module('ngMap').directive('kmlLayer', [
204-
'$log', 'Attr2MapOptions', function($log, Attr2MapOptions) {
204+
'Attr2MapOptions', function(Attr2MapOptions) {
205205
var parser = Attr2MapOptions;
206206
var getKmlLayer = function(options, events) {
207207
var kmlLayer = new google.maps.KmlLayer(options);
@@ -219,7 +219,7 @@ <h1 class="title">
219219
var filtered = parser.filter(attrs);
220220
var options = parser.getOptions(filtered, {scope: scope});
221221
var events = parser.getEvents(scope, filtered);
222-
$log.debug('kml-layer options', options, 'events', events);
222+
console.log('kml-layer options', options, 'events', events);
223223
var kmlLayer = getKmlLayer(options, events);
224224
mapController.addObject('kmlLayers', kmlLayer);
225225
mapController.observeAttrSetObj(orgAttrs, attrs, kmlLayer); //observers

build/docs/source/map-data.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ <h1 class="title">
192192
(function() {
193193
'use strict';
194194
angular.module('ngMap').directive('mapData', [
195-
'$log', 'Attr2MapOptions', 'NgMap', function($log, Attr2MapOptions, NgMap) {
195+
'Attr2MapOptions', 'NgMap', function(Attr2MapOptions, NgMap) {
196196
var parser = Attr2MapOptions;
197197
return {
198198
restrict: 'E',
@@ -201,7 +201,7 @@ <h1 class="title">
201201
var filtered = parser.filter(attrs);
202202
var options = parser.getOptions(filtered, {scope: scope});
203203
var events = parser.getEvents(scope, filtered, events);
204-
$log.debug('map-data options', options);
204+
console.log('map-data options', options);
205205
NgMap.getMap().then(function(map) {
206206
//options
207207
for (var key in options) {

0 commit comments

Comments
 (0)