fixed map view if no coordinates bug
This commit is contained in:
@@ -6439,6 +6439,10 @@ def workout_map_view(request,id=0):
|
||||
mapscript,mapdiv = leaflet_chart2(rowdata.df[' latitude'],
|
||||
rowdata.df[' longitude'],
|
||||
row.name)
|
||||
else:
|
||||
mapscript = ""
|
||||
mapdiv = ""
|
||||
|
||||
mayedit=0
|
||||
if not request.user.is_anonymous():
|
||||
r = getrower(request.user)
|
||||
|
||||
Reference in New Issue
Block a user