Closed (fixed)
Project:
Openlayers
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
29 Jun 2010 at 23:27 UTC
Updated:
15 Aug 2012 at 13:01 UTC
If I create two fields in a views data overlay (for instance, I want the image of a field, and then the URL of the same field), and chose one for the description, the attributes of the features created only have the description filled in and it is the most weighted field, meaning that one of the fields added will not be in the attributes.
Overall, I think somehow we are not referring to fields correctly.
I know my explanation of this is not very good, but I will look into this more soon and figure it out.
Comments
Comment #1
zzolo commentedComment #2
zzolo commentedSee http://drupal.org/node/905830 for more info on this.
Overall, field alias is a bad idea.
Comment #3
tmcw commentedSo is this a duplicate of #905830: Views support for 'Global: View result counter' in feature style labels (counter on markers)
Comment #4
zzolo commentedNo, this is a separate issue.
So, basically, if you add the same field twice to the Data Overlay View, and assign one to the description or title, then the other will not be available in the attributes.
My use case at the time was that I wanted to use an image for the node marker, then use it in the popup description as well.
Comment #5
zzolo commentedBumping to 7.x. Need to check if this still exists.
Comment #6
polHi,
I made the test with 7.x.
Views configuration: http://www.webpagescreenshot.info/img/100317-81201235833PM
Views result: http://www.webpagescreenshot.info/img/11583-81201235904PM
We see that the title is correctly rendered twice in the attributes list.
I close this, feel free to reopen.