Closed (fixed)
Project:
IP Geolocation Views & Maps
Version:
7.x-1.23
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
16 Sep 2013 at 15:26 UTC
Updated:
1 Oct 2013 at 10:31 UTC
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
Comment #1
dancor commentedOr is there some theme / template for doing this (I could not find the themes like ip-geoloc-map.tpl.php,, where are they?)
Comment #2
rdeboerThat 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
Comment #3
dancor commentedSo I can not do this as global:view area but as attachment?
How did you do this?
Comment #4
rdeboerYes at the top of the Views UI there's an Add button to add a Page, Block, Attachment etc. display.
That's it.
Comment #5
dancor commentedAh, 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?
Comment #6
rdeboerYou 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