We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8b69a1 commit 8a2ee4bCopy full SHA for 8a2ee4b
src/module.js
@@ -42,15 +42,17 @@
42
* });
43
* ```
44
*/
45
- value('angulargmDefaults', {
46
- 'precision': 3,
47
- 'markerConstructor': google.maps.Marker,
48
- 'polylineConstructor': google.maps.Polyline,
49
- 'mapOptions': {
50
- zoom : 8,
51
- center : new google.maps.LatLng(46, -120),
52
- mapTypeId : google.maps.MapTypeId.ROADMAP
53
- }
+ factory('angulargmDefaults', function() {
+ return {
+ 'precision': 3,
+ 'markerConstructor': google.maps.Marker,
+ 'polylineConstructor': google.maps.Polyline,
+ 'mapOptions': {
+ zoom : 8,
+ center : new google.maps.LatLng(46, -120),
+ mapTypeId : google.maps.MapTypeId.ROADMAP
54
+ }
55
+ };
56
});
57
58
})();
0 commit comments