27.10.2014 Views

Google Maps API 3

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 9 ■ DEALING WITH MASSIVE NUMBERS OF MARKERS<br />

Also notice that the markers are displayed with labels that correspond to the search result to the<br />

left of the map. This is a great way to enhance the maps usability since it makes it possible to<br />

understand which marker is which.<br />

Filtering<br />

Another way of reducing the number of markers displayed on the map is by offering a filtering<br />

function. STF (which is a Swedish Tourist Association with more than 400 hostels, mountain stations,<br />

and alpine huts) offers a map where you can find all of their accommodations as well as other things to<br />

see and do (see Figure 9-4). To make the map easier to use, they provide a filter function with which<br />

you can filter the map. This is done by marking options in the filter area to the left of the map.<br />

Figure 9-4. STF offers a map that enables you to filter what is shown on the map by marking items in the<br />

filter area to the left of the map. The map is found at http://tinyurl.com/36ug6jw.<br />

STF is also utilizing another great way of increasing the usability of the map, and that is by having<br />

different marker icons for different types of locations. This technique alone makes scanning the map<br />

a lot easier.<br />

180

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!