This page has a good comparison of the existing numbbered links with what <maplink> generates. We should match that style to simplify the migration
Also, I tried to do another template migration, with even uglier boxes. Feel free to play with the template
Copy of the template's CSS:
<span style="border:1px solid {{User:Yurik/Sandbox/TypeToColor|{{{type|listing}}}}}; background:{{User:Yurik/Sandbox/TypeToColor|{{{type|listing}}}}}; font-weight:bold; display:inline-block; width:2em; text-align:center; color:#fff;" title="Map for this '{{{type|listing}}}' marker">