1

I have a View setup in Drupal that is a list of products. Each product has an associated location and all of the locations in a view are displayed in a map that is on the bottom of the page.

What I'd like to do is to bring the map "INTO" the view so that it works better with the flow of the page. Here's the layout:

Table

 col col map map
 col col map map
 col col col col
 col col col col

What would be the best way of integrating the map with the table?

  • GMap Module: provides the GMap API, integration with Views and Location, and GMap macros – Sibiraj PR Apr 23 '13 at 5:16
0

You can use Gmap. There is also a great screen cast that shows how to use it. You can also take a look into the OpenLayers module to add maps into nodes.

| improve this answer | |
  • My question wasn't how to add a map to the page...it's how to add a map WITHIN the content of a view. My map is already in a block and I can put it anywhere...but not sure how to flow a view around it. – Ken J Apr 23 '13 at 11:15
0

My solution was to add a DIV class for each row using Grid format. This assigned a different value for each field. I then moved those pieces to a different region and replaced them with my map.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.