{"action":"created","issue":{"url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/646","repository_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps","labels_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/646/labels{/name}","comments_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/646/comments","events_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/646/events","html_url":"https://github.com/allenhwkim/angularjs-google-maps/issues/646","id":164692456,"number":646,"title":"I always get \"his service requires an API key.\"","user":{"login":"xochilpili","id":6123199,"avatar_url":"https://avatars.githubusercontent.com/u/6123199?v=3","gravatar_id":"","url":"https://api.github.com/users/xochilpili","html_url":"https://github.com/xochilpili","followers_url":"https://api.github.com/users/xochilpili/followers","following_url":"https://api.github.com/users/xochilpili/following{/other_user}","gists_url":"https://api.github.com/users/xochilpili/gists{/gist_id}","starred_url":"https://api.github.com/users/xochilpili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xochilpili/subscriptions","organizations_url":"https://api.github.com/users/xochilpili/orgs","repos_url":"https://api.github.com/users/xochilpili/repos","events_url":"https://api.github.com/users/xochilpili/events{/privacy}","received_events_url":"https://api.github.com/users/xochilpili/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-10T00:31:25Z","updated_at":"2016-09-16T18:53:01Z","closed_at":null,"body":"Hi all, \r\n\r\n# In index.html i have \r\n`<script src=\"https://rawgit.com/allenhwkim/angularjs-google-maps/master/build/scripts/ng-map.js\"></script>`\r\n# In the html template i have the directive: \r\n\r\n```\r\n<div class=\"row margin-bottom\" map-lazy-load=\"https://maps.google.com/maps/api/js\" map-lazy-load-params=\"{{mapUri}}\">\r\n\t<ng-map zoom=\"8\" center=\"{{hotel.HotelInfo.Street}}\" style=\"margin: 0 auto;\">\r\n\t<marker position=\"{{hotel.HotelInfo.Latitude+','+hotel.HotelInfo.Logitude}}\" title=\"{{hotel.Name}}\"></marker>\r\n\t</ng-map>\r\n</div>\r\n```\r\n# Then in my controller: \r\n$scope.mapUri = 'https://maps.google.com/maps/api/js?v=3.21&key=**ApiKey**';\r\n\r\n\r\n# console output: \r\njs?callback=lazyLoadCallback:35 This service requires an API key.  For more information on authentication and Google Maps Javascript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key\r\n\r\n\r\nI have been searching without any success, any hand?"},"comment":{"url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/comments/247679022","html_url":"https://github.com/allenhwkim/angularjs-google-maps/issues/646#issuecomment-247679022","issue_url":"https://api.github.com/repos/allenhwkim/angularjs-google-maps/issues/646","id":247679022,"user":{"login":"returnvoid","id":187153,"avatar_url":"https://avatars.githubusercontent.com/u/187153?v=3","gravatar_id":"","url":"https://api.github.com/users/returnvoid","html_url":"https://github.com/returnvoid","followers_url":"https://api.github.com/users/returnvoid/followers","following_url":"https://api.github.com/users/returnvoid/following{/other_user}","gists_url":"https://api.github.com/users/returnvoid/gists{/gist_id}","starred_url":"https://api.github.com/users/returnvoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/returnvoid/subscriptions","organizations_url":"https://api.github.com/users/returnvoid/orgs","repos_url":"https://api.github.com/users/returnvoid/repos","events_url":"https://api.github.com/users/returnvoid/events{/privacy}","received_events_url":"https://api.github.com/users/returnvoid/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T18:53:01Z","updated_at":"2016-09-16T18:53:01Z","body":"Hi, I'm having the same problem. In your example:\r\n\r\n<div map-lazy-load=\"https://maps.google.com/maps/api/js\"\r\n  map-lazy-load-params=\"{{googleMapsUrl}}\">\r\n  <ng-map center=\"41,-87\" zoom=\"3\"></ng-map>\r\n</div>\r\n\r\nI don't understand why you are using both at the same time. I tried both, one each but I still get the same warning: No apikey. My tempate have access to the var 'googleMapsUrl' who is the js file+key\r\n\r\nThank you"}}
{"actor":{"display_login":"returnvoid"}}