Ah actually I think I figured it out… I had forgotten to close the view widget. I ended up making a simple macro as follows:
\define osmlink()
<a href={{!!osm}} class="tc-tiddlylink-external">~OpenStreetMap Location</a>
\end
There is another topic on this subject, but it’s a bit complex to follow.