This example lists Google offices close to you. The offices are sorted by distance, and restricted to a maximum distance from your set location.
Each location is set using the following method:
pointSorter.addPoint( // coordinate new GLatLng( // latitude 37.423156, // longitude -122.084917 ), // address (for anecdotal purposes) "1600 Amphitheatre Parkway, Mountain View, CA 94043", // description "<strong>Google Inc. Head Office</strong><p>1600 Amphitheatre Parkway<br>Mountain View, CA 94043</p>" );