{"size": 692, "ext": "js", "max_stars_repo_path": "vigor-platform/vigor-platform-console/src/main/webapp/assets/cameo/js/maps.js", "max_stars_repo_name": "anttribe/vigor-framework", "max_stars_repo_stars_event_min_datetime": "2016-04-18T17:35:01.000Z", "max_stars_repo_stars_event_max_datetime": "2016-04-18T17:35:01.000Z", "max_issues_repo_path": "vigor-platform/vigor-platform-console/src/main/webapp/assets/cameo/js/maps.js", "max_issues_repo_name": "anttribe/vigor-framework", "max_issues_repo_issues_event_min_datetime": "2018-11-27T09:17:45.000Z", "max_issues_repo_issues_event_max_datetime": "2018-11-27T09:17:45.000Z", "max_forks_repo_path": "vigor-platform/vigor-platform-console/src/main/webapp/assets/cameo/js/maps.js", "max_forks_repo_name": "anttribe/vigor-framework", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 346.0, "max_line_length": 452, "alphanum_fraction": 0.7138728324}
$(document).ready(function(){var map;map=new GMaps({div:"#map",lat:-12.043333,lng:-77.028333});map.addMarker({lat:-12.043333,lng:-77.03,title:"Lima",details:{database_id:42,author:"HPNeo"},click:function(e){if(console.log){console.log(e);}
alert("You clicked on this marker");}});map.addMarker({lat:-12.042,lng:-77.028333,title:"Marker with InfoWindow",infoWindow:{content:"<p>HTML Content</p>"}});$(".geo_address").submit(function(e){e.preventDefault();GMaps.geocode({address:$("#address").val(),callback:function(results,status){if(status==="OK"){var latlng=results[0].geometry.location;map.setCenter(latlng.lat(),latlng.lng());map.addMarker({lat:latlng.lat(),lng:latlng.lng()});}}});});});