[igeocodable] import adapter description stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 05 Apr 2011 11:15:35 +0200
branchstable
changeset 7172 b85396e65d8f
parent 7171 4297be67bbe4
child 7173 c6eb201d4410
[igeocodable] import adapter description
web/views/igeocodable.py
--- a/web/views/igeocodable.py	Mon Apr 04 14:50:10 2011 +0200
+++ b/web/views/igeocodable.py	Tue Apr 05 11:15:35 2011 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -33,13 +33,13 @@
     @property
     @implements_adapter_compat('IGeocodable')
     def latitude(self):
-        """returns the latitude of the entity"""
+        """returns the latitude of the entity in degree (-90 < float < +90)"""
         raise NotImplementedError
 
     @property
     @implements_adapter_compat('IGeocodable')
     def longitude(self):
-        """returns the longitude of the entity"""
+        """returns the longitude of the entity in degree (-180 < float < +180)"""
         raise NotImplementedError
 
     @implements_adapter_compat('IGeocodable')