Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

[Drupal 7, Views 3, OpenLayers]

THE PROPOSED SCENARIO:

I would like to attach a view attachment display before an OpenLayer Data Overlay display. The attachment display would contain some exposed filters and a table of content data.

Using Better Exposed Filters I could enable auto submit and hide the submit button on the filter form at the attachment display, so both the attachment content table and the OpenLayer Data Overlay displays would get updated via AJAX. This would create a better user experience.

THE ISSUE:

Apparently I can attach view attachment displays to any view display but OpenLayer Data Overlay displays.

THE QUESTION:

Is there any work around or module implementation that could make it possible to attach a view attachment display to an OpenLayer Data Overlay display?

Another way to go would be perhaps having a block for the content data table and its filters. In this case, how could I get the AJAX on the block view to trigger the OpenLayer Data Ovelay view, so both views get the filters applied at the same time?

share|improve this question
    
I've opened a feature request for this at the OpenLayer project module issue queue. drupal.org/node/1879230 –  Francisco Luz Jan 3 '13 at 19:29
add comment

1 Answer

up vote 1 down vote accepted

The proposed scenario works just fine if you attach the attachment display to the OpenLayers Map display instead of to the OpenLayer Data Overlay.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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