Posted by yesct on November 25, 2008 at 8:12am
I know some people have used location, gmap and views to get a map of places that uses the location info associated with a node... but has anyone gotten it to work using a cck location field (and not the location directly associated with a node)?
I've been a bit spread out in the issues of location and gmap trying to sort it out...
Thanks! -CT

Comments
Nope, not yet :( Location
Nope, not yet :(
Location CCK is very new, and while it allows you to store and geocode addresses, it isn't yet integrated with GMap.
Updates?
Has any progress been made on this yet?
There is a cck google map address field module but it seemingly does not work properly...
Thoughts?
Same issue with Mapstraction
Location field works fine for getting the geo data on the node but I cannot get views to work with the location field and Mapstraction.
Has any progress been made on this yet?
Has any progress been made on this yet?
yes, this is working.
Yes, you can now access cck locations in gmap views. You need to use a views relationship in order to access the full set of data in your location cck field. If you haven't used views locations, this is an excellent introduction: http://drewish.com/node/127
Not sure if this is relevant…
You can use a location CCK field with a views attach view to display the field as a Google map in the node content.
You use a relationship to pull the location data in. There is a view that seems to work for people here.
Can anyone explain why the relationship is needed though, I don't need a relationship to get access to the other fields on the content type, why is location CCK different?
It's necessary because the
It's necessary because the field itself only references via lid to the locations table. it does not store the data directly in the field.