222 Part III — Google Map Hacks
Final Application
The final application provides a simple method for adding entities to the map for display. The
application starts off with a list of entity types, shown in Figure 11-3.
FIGURE11-3: Initial application.
You can view the application featured in this chapter at http://maps.mcslp.com/
examples/ch11-01.html.
When you add an entity type to the map (for example, restaurants), you get a zoomed and
focused overlay (see Figure 11-4).
Adding more entities adds to the data, as shown in Figure 11-5.
Finally, you can hide a shown entity for clarity (see Figure 11-6).
And of course, info panels are available for all the points on the map (see Figure 11-7).
To extend the information shown on the map, you only have to run ch11insert.plwith
the appropriate entity type and location information and provide a suitable icon to display
the data.