こんにちは。
NGRの位置情報を使って、数十万点の航空写真を表示するアプリを作っています。
https://historicengland.org.uk/images-books/archive/collections/aerial-photos/
ポップアップには最初にサムネイルが表示され、クリックすると高解像度の画像を見られるURLに移動します。Map Viewer Classicでは問題なく動作していましたが、Map Viewerでは動作しません。URLリンクが削除されてしまったようです。こちらで、Map ViewerではURLがプレーンテキストとして扱われるためArcadeを使う必要がある、という投稿をいくつか見かけましたが、やり方がよくわかりません。
以下はClassicで使っていたHTMLです。重要な部分を強調しています。
<div style="text-align: center;"><font size="1.5"><b>下の画像をクリックすると、新しいタブで開きます</b></font><span style="font-size: 10px;"> </span></div><a href="https://historicengland.org.uk/images-books/archive/collections/aerial-photos/record/{FILENAME}" rel="nofollow ugc" style="font-family: Verdana, Helvetica, sans-serif; font-size: 12px;"><img src="https://thumbs.smartframe.io/27025fea9afa38753501b02dbd8a40f2/{FILENAME}" style="width: 200px; margin-right: auto; margin-left: auto; display: block;" /></a><span style="color: rgb(68, 68, 68); font-family: Verdana;"><div style="text-align: center;"><font face="Arial" style=""><b><span style="font-size: 10px;">{COPYRIGHT}</span><br /><div style="text-align: left;"><span style="color: rgb(76, 76, 76); font-family: "Avenir Next W01", "Avenir Next W00", "Avenir Next", Avenir, "Helvetica Neue", sans-serif; font-size: x-small; font-weight: 400;">{NOTES}</span></div></b></font></div></span><font size="1.5"><font face="Arial" style=""><font size="2"> <br /><b>撮影日: </b>{Date_Flown_Modified}<br /><b>便名: </b>{FLIGHT_NUMBER}<br /><b>撮影者: </b>{PHOTOGRAPHER}</font>
これをArcadeに書き換える方法をご存じの方がいらっしゃれば、教えていただけると大変助かります。
よろしくお願いします。