I need something like this: https://drupal.org/files/project-images/Prox-Context-Block-Map.jpg

But how do I do this?
My map is created by an exposed form with proximity location field

Currently what I have is this:
https://drupal.org/node/359463
http://oshyn.com/_blog/Web_Content_Management/post/Drupal_Location_Modul...

Comments

dancor’s picture

Or is there some theme / template for doing this (I could not find the themes like ip-geoloc-map.tpl.php,, where are they?)

rdeboer’s picture

Assigned: Unassigned » rdeboer
Status: Active » Fixed

That table under the map is a View's Attachment display.
So it's the same View, but in addition to the Page display an Attachment display was added and the format set to "Table" rather than "Map"
Rik

dancor’s picture

So I can not do this as global:view area but as attachment?
How did you do this?

rdeboer’s picture

Yes at the top of the Views UI there's an Add button to add a Page, Block, Attachment etc. display.
That's it.

dancor’s picture

Ah, I saw it, but how can I add now the results as the map does (with colored markers and grouped by type?
Oh and the proxmity / distance value is not shown in my attachment, what is the right setup for this?

rdeboer’s picture

You want coloured markers in the attachment table? You probably need some PHP code snippets for that, using the Views PHP module...

If you want to show the proximity/distance in the table you must add it to the Views Fields for both the Map and the Table (or for the Table only).Then for the map you can optionally tick the Exclude box, if you don't want the proximity to appear in the marker balloon.

If you want to group by type in the table, why not use the Group By option in Views? Or add a content type filter?

Maybe you should read up for some basic Views knowledge.... I'm just the map guy...

Rik

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.