make sure SRTM link works even when on a relation link
remove parsing of legacy layers parameter

fixes #142
don't try to draw routes if there are none in view
correctly parse url hash string
handle url parameters correctly in presence of a hash