1usssa.directive('eventMap', function ($document) { 2 return function (scope, element, attrs) { 3 //console.log(scope) 4 scope.$watch(function(){ 5 return scope.lat 6 }, function(){ 7 8 var myLocation = new google.maps.LatLng(scope.lat, scope.lng); 9 map = new google.maps.Map(element[0], { 10 mapTypeId: google.maps.MapTypeId.ROADMAP, 11 center: myLocation, 12 zoom: 13 13 }); 14 var request = { location: myLocation, radius: 80000 }; 15 var service = new google.maps.places.PlacesService(map); 16 service.nearbySearch(request, createMarker); 17 function createMarker(place) { 18 var marker = new google.maps.Marker({ 19 map: map, 20 position: myLocation 21 }); 22 } 23 }); 24 }; 25});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.