There's a lot of Google Maps API Places info on here already, but here's a demo which show a lot of what many people seem to be having problems with, sadly though it only works in Chrome (at least not in Firefox or IE).
http://gmaps-samples-v3.googlecode.com/svn/trunk/places/2012-may-hangout/search.html
Can anyone explain why? it has a lot of unnecessary things like animated dropping of markers, but has a really good example of the difference between google.maps.places.RankBy.DISTANCE; and google.maps.places.RankBy.PROMINENCE; presenting ordered markers and reasults in a table with type icons.
Same happens in Firefox and IE9... map and elements all fine, but when you press search resets all check boxes, search box and produces no results - effectively resets. – choitz May 23 '12 at 16:39