/[drupal]/contributions/modules/geo/geo.module
ViewVC logotype

Diff of /contributions/modules/geo/geo.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.26, Thu Aug 6 04:09:32 2009 UTC revision 1.27, Fri Aug 7 16:55:12 2009 UTC
# Line 1  Line 1 
1  <?php // $Id: geo.module,v 1.25 2009/08/05 02:15:54 vauxia Exp $  <?php // $Id: geo.module,v 1.26 2009/08/06 04:09:32 vauxia Exp $
2    
3  /**  /**
4   * Geo: Geospatial storage and retrieval.   * Geo: Geospatial storage and retrieval.
# Line 377  function geo_field_convert_value($elemen Line 377  function geo_field_convert_value($elemen
377  }  }
378    
379  function geo_set_value($item, $theme) {  function geo_set_value($item, $theme) {
380      init_theme();
381    $registry = theme_get_registry();    $registry = theme_get_registry();
382    
383    if ($format = $registry[$theme]['gis input']) {    if ($format = $registry[$theme]['gis input']) {
384      $value = geo_wkb_get_data($item['wkb'], $format);      $value = geo_wkb_get_data($item['wkb'], $format);
385      $item[$format] = $value['value'];      $item[$format] = $value['value'];

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.2