Many companies are interested in finding out how many of a certain business-type, competitor, supplier, or otherwise, might be in a particular area. Or maybe you’re making an app and you only want users to see information about nearby parks.
If the area being searched is relatively small (one or two cities), the Google Places API is a great choice for querying businesses and other local locations. It is a bit complex to implement this in a lot of specific details, but getting started is a breeze.
Let’s make a basic map that takes a set of latitude and longitude, and returns a set of simple nearby labels showing particular kinds of local places.