| 1 |
<?php // $Id: geo.module,v 1.28 2009/11/09 17:44:40 vauxia Exp $ |
<?php // $Id: geo.module,v 1.29 2009/11/17 19:07:21 vauxia Exp $ |
| 2 |
|
|
| 3 |
/** |
/** |
| 4 |
* Geo: Geospatial storage and retrieval. |
* Geo: Geospatial storage and retrieval. |
| 59 |
* Implementation of hook_theme(). |
* Implementation of hook_theme(). |
| 60 |
*/ |
*/ |
| 61 |
function geo_theme() { |
function geo_theme() { |
| 62 |
$file_path = drupal_get_path('module', 'geo') .'/includes'; |
module_load_include('theme.inc', 'geo', 'theme/geo'); |
| 63 |
return array( |
return geo_theme_theme(); |
|
'geo_formatter_default' => array( |
|
|
'arguments' => array('element' => NULL), |
|
|
'file' => 'geo.formatters.inc', |
|
|
'path' => $file_path, |
|
|
'gis input' => 'wkt', |
|
|
), |
|
|
'geo_formatter_lat' => array( |
|
|
'arguments' => array('element' => NULL), |
|
|
'file' => 'geo.formatters.inc', |
|
|
'path' => $file_path, |
|
|
'gis input' => 'array', |
|
|
), |
|
|
'geo_formatter_lon' => array( |
|
|
'arguments' => array('element' => NULL), |
|
|
'file' => 'geo.formatters.inc', |
|
|
'path' => $file_path, |
|
|
'gis input' => 'array', |
|
|
), |
|
|
'geo_formatter_georss' => array( |
|
|
'arguments' => array('element' => NULL), |
|
|
'file' => 'geo.formatters.inc', |
|
|
'path' => $file_path, |
|
|
'gis input' => 'array', |
|
|
), |
|
|
'geo_formatter_svg' => array( |
|
|
'arguments' => array('element' => NULL), |
|
|
'file' => 'geo.formatters.inc', |
|
|
'path' => $file_path, |
|
|
), |
|
|
'geo_fields' => array( |
|
|
'arguments' => array('element' => NULL), |
|
|
), |
|
|
'geo_latlon' => array( |
|
|
'arguments' => array('element' => NULL), |
|
|
), |
|
|
); |
|
| 64 |
} |
} |
| 65 |
|
|
| 66 |
/** |
/** |