Hi

I've been searching trying to find and tips, hints or tuts on how to generate a map wich has a key/legend associated to its markers using Drupal 7 and Gmaps

In case I'm not making myself clear see the example below.

http://gmaps-samples-v3.googlecode.com/svn/trunk/localsearch/places.html

If you hit the search for "pizza" the map will bring up a list of results with a dynamic key to its side.

Does anyone have any pointer on how I can achive this ? .. The above example is taken out of the "Google Maps JavaScript API V3" documentation.

Comments

kevinquillen’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Issue summary: View changes

I would also like to know how to achieve this via Views. How can I read the active exposed filters, output them in a legend with a count of results besides them?

kevinquillen’s picture

I wound up creating a custom block in my module and invoking views_get_page_view, iterating the results and filters set in the view data, and constructing the block output that way.