Setup:

  • Drupal 6.24
  • CCK 6.x-2.9
  • Views 6.x-2.16
  • Ctools 6.x-1.8
  • Reference Views 6.x-2.1

Problem:
I've setup 2 views with 3 displays each: Default, Openlayer Data, Page (holding the map). Difference between these views is the node type where they get their data from and the fields.

I've setup 2 map presets, clubs cloned from the default and cities cloned from clubs. These (clubs, cities) are identical to each other except for the clubs showing a different Openlayer_views data overlay.

The cities data overlay is populated with the correct data, i see the right plots on the right locations on the map. The clubs data overlay is just empty, not showing the plots. This is what let me to think it has be somewhere how the data is being populated.

For the city view i query the wkt value directly and this all goes well.
For the club view i use a nodereference + reference views to get the wkt value from the city node. With reference views i can rewrite the return value for the referenced field, so it returns the wkt value. I can see this works in the default view, but not on the actual page holding the openlayermap view.

Is what i'm trying to do possible or does it need some custom coding to set the value right or is there another way to get my plots showing via nodereference?

I added an zip with exports of my content_type/maps/views

Thank you for your time.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ken-g’s picture

Status: Active » Closed (outdated)