- bootstrap with typeahead
- jquery
This will use bootstrap with typeahead to create an autocomplete search.
| { | |
| "cmd": ["javac \"$file_name\" && java \"$file_base_name\""], | |
| "shell": true, | |
| "file_regex": "^(...*?):([0-9]*):?([0-9]*)", | |
| "selector": "source.java" | |
| } |
| /** | |
| * Generates number of random geolocation points given a center and a radius. | |
| * @param {Object} center A JS object with lat and lng attributes. | |
| * @param {number} radius Radius in meters. | |
| * @param {number} count Number of points to generate. | |
| * @return {array} Array of Objects with lat and lng attributes. | |
| */ | |
| function generateRandomPoints(center, radius, count) { | |
| var points = []; | |
| for (var i=0; i<count; i++) { |