Hello.

Suppose we have a map with nodes of a content type being marked upon it. When we click a marker it's node is being displayed in overlay with title and body appearing.
Would it be easy to have the imagefield picture of each node displayed in it's overlay too?
If this needs coding, could you indicate me where(in code) to look for so that I can begin to try?

Thanks

Comments

zzolo’s picture

Hey @chefarov. You'll need to use a computed field in Views, or rewrite a field that adds the other. Overal, you have to use Views to push multiple fields into one.

chefarov’s picture

Hi zzolo.
Thanks for your reply

When I choose Style: " OpenLayers Map " in my view I get no option to add any fields at all. So I guess it is handled by the module someway, therefore I don't know how to use computed field(how to insert it in view). As regards multiple fields in one, I can't find and understand what exactly is it ... :P Do I have to do it through database?

zzolo’s picture

I think you are missing a couple key concepts. Check this out:

http://drupal.org/node/627816

Basically you need to create Views Data Layers for the map, and then use another View to display it on a page or block.

ken-g’s picture

Issue summary: View changes
Status: Active » Closed (outdated)