I try to intergrate with gmap_views, then I doing following change and find some issue in cck_gmapaddress.

When using views to insert latitude and longitude value, I can see the number of result is correct, but when I want to insert into gmap_views, then I found the two fields of views queryname is the same, even if I adjust the option field into latitude.

"node_data_field_adopt_address_field_adopt_address_longitude"
"node_data_field_adopt_address_field_adopt_address_longitude"

But only the quername like that the gmap_views will get correct value.

"node_data_field_adopt_address_field_adopt_address_longitude"
"node_data_field_adopt_address_field_adopt_address_latitude"

Any ideas?

Comments

derhasi’s picture

This can be fixed by implementing custom tables-data for views in cck_gmapaddress_field_settings (with $op = 'tables').

At the moment I cannot focus on that. If you want to try, you can use content_views_field_tables() in content_views.inc of the cck module as starting point. For more infromation on the tables-op of hook_field_settings() you can look at field.php.

phildu’s picture

have you succeed, to do this ?

mcrittenden’s picture

Title: Issue when intergrate with gmap_views » Issue when integrating with gmap_views