Skip to content

Commit 1755b98

Browse files
committed
fixing search-box plunkr, including places library
1 parent dd196ab commit 1755b98

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/views/examples/search-box/script.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
angular.module('appMaps', ['uiGmapgoogle-maps'])
2+
.config(function(uiGmapGoogleMapApiProvider) {
3+
uiGmapGoogleMapApiProvider.configure({
4+
// key: 'your api key',
5+
v: '3.17',
6+
libraries: 'places' // Required for SearchBox.
7+
});
8+
})
29
.controller('mainCtrl', function ($scope, $log) {
310
$scope.map = {center: {latitude: 40.1451, longitude: -99.6680 }, zoom: 4 };
411
$scope.options = {scrollwheel: false};

0 commit comments

Comments
 (0)