Download & Extend

cck field locations not appearing on map (the location "fields" not in the view "fields")

Project:Location
Version:6.x-3.x-dev
Component:Location_views
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)
Issue tags:location cck views

Issue Summary

my GMap issue: http://drupal.org/node/338300 might actually be a location issue...

and I thought this might be related to this location issue http://drupal.org/node/333651 (see screen shots there)

I wonder if putting the location_load_location in the view code ... or something like that might allow the view with a GMap style to get the location parts it needs... (I had to use location_load_location with contemplate... Actually, I wonder if I could use contemplate to make a map instead of views.... since I can get to the location fields in my cck location field that way....)

Thanks so much! I've been trying to generate a map for a couple weeks and I finally feel like I'm getting close.

Comments

#1

Maybe the datasource part needs an option for "cck location field"?

as in:

  $form['datasource'] = array(
      '#type' => 'radios',
      '#title' => t('Data Source'),
      '#options' => array(
        'location' => t('Location.module'),
        'autodetect' => t('Fields named "latitude" and "longitude" @@@TODO'),
      //'geocode' => t('Just-in-time geocoding on field named "address"'),
      ),
      '#default_value' => $this->options['datasource'],
      '#multiple' => FALSE,
    );

from
gmap_plugin_style_gmap.inc ?

oops, that is in the gmap module... the lines are blurring here... I dont know which module I need to be looking at! :) Because the two are working together...

#2

Status:active» closed (duplicate)

tagging my own issue as I clean up the queue. :) and marking this a duplicate of #382778: Location CCK does not save nid and vid and #347030: location_cck needs a views relation