We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd196ab commit 1755b98Copy full SHA for 1755b98
app/views/examples/search-box/script.js
@@ -1,4 +1,11 @@
1
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
+ })
9
.controller('mainCtrl', function ($scope, $log) {
10
$scope.map = {center: {latitude: 40.1451, longitude: -99.6680 }, zoom: 4 };
11
$scope.options = {scrollwheel: false};
0 commit comments