Skip to content

Commit

Permalink
committing Matt's change related to animated tracks. may be WIP, but …
Browse files Browse the repository at this point in the history
…it's currently running on production server
  • Loading branch information
trey0 committed Oct 17, 2014
1 parent b77efdd commit 82950df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions geocamTrack/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@
(r'^track/(?P<trackName>[\w-]+)$', views.getTrackKml,
{'readOnly': True, 'loginRequired': False, 'securityTags': ['kml', 'readOnly']},
'geocamTrack_trackKml'),
(r'^track/animated/(?P<trackName>[\w-]+)$', views.getAnimatedTrackKml,
{'readOnly': True, 'loginRequired': False, 'securityTags': ['kml', 'readOnly']},
(r'^animated/track/(?P<trackName>[\w\d\s-]+)$', views.getAnimatedTrackKml,
# {'readOnly': True, 'loginRequired': False, 'securityTags': ['kml', 'readOnly']},
{'securityTags': ['kml', 'readOnly']},
'geocamTrack_trackKml_animated'),

)
1 change: 1 addition & 0 deletions geocamTrack/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ def getTrackCsv(request, fname):


def getAnimatedTrackKml(request, trackName):
print 'getting animated track %s' % trackName
return getTrackKml(request, trackName, animated=True)


Expand Down

0 comments on commit 82950df

Please sign in to comment.