Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Compatibility_Helpers.php |
— | — | @@ -141,6 +141,14 @@ |
142 | 142 | case '__pro': |
143 | 143 | if ( $dataItem->getDIType() !== SMWDataItem::TYPE_PROPERTY ) break; |
144 | 144 | return array( $dataItem->getKey() ); |
| 145 | + case '_geo': |
| 146 | + $coordinateSet = $dataItem->getCoordinateSet(); |
| 147 | + |
| 148 | + return array( |
| 149 | + $coordinateSet['lat'], |
| 150 | + $coordinateSet['lon'] |
| 151 | + ); |
| 152 | + break; |
145 | 153 | default: |
146 | 154 | $typeid = $dataItem->getTypeId(); |
147 | 155 | if ( ( $typeid != '' ) && ( $typeid{0} != '_' ) && |