geography : typo problem.
svn: r17374
This commit is contained in:
parent
a9ec8901ba
commit
ff3619914a
@ -347,10 +347,10 @@ class GeoGraphyView(osmGpsMap, NavigationView):
|
|||||||
_LOG.debug("compare longitude : %s with %s (precision = %s)"
|
_LOG.debug("compare longitude : %s with %s (precision = %s)"
|
||||||
" zoom=%d" % (float(mark[4]), lon, precision,
|
" zoom=%d" % (float(mark[4]), lon, precision,
|
||||||
config.get("geography.zoom")))
|
config.get("geography.zoom")))
|
||||||
if (float(mlatp) >= (float(latp) - shift) ) and
|
if (float(mlatp) >= (float(latp) - shift) ) and \
|
||||||
(float(mlatp) <= (float(latp) + shift) ):
|
(float(mlatp) <= (float(latp) + shift) ):
|
||||||
latok = True
|
latok = True
|
||||||
if (float(mlonp) >= (float(lonp) - shift) ) and
|
if (float(mlonp) >= (float(lonp) - shift) ) and \
|
||||||
(float(mlonp) <= (float(lonp) + shift) ):
|
(float(mlonp) <= (float(lonp) + shift) ):
|
||||||
lonok = True
|
lonok = True
|
||||||
if latok and lonok:
|
if latok and lonok:
|
||||||
|
Loading…
Reference in New Issue
Block a user