Overview

This is a memo on how to bring a specified marker to the front in nuxt3-leaflet.

Method

By using the z-index-offset attribute on LMarker as shown below, I was able to bring a specified marker to the front.

<tem/p<tlL/eaM@::<<LmtaclzL/LMperla-T{LI:::::s::/alkitio{TciiipthssLraec-nooocccooahhIkt-rkldlmonooopodaaceef=netalnnnuloddor>o"gxirtUSAptwoon>rs=-pkirinAiUww>=e"o>eplzcnprSA"l[fr>=ehcAlinmemf."=ohn=zcacastm"roc"ehrtreia[=rhh=okMkttr2"=ot"reae=lk5["rt[=rrr"ee,1[=p4"k.sr21"s1[iele}.4,,[:,1nral}i11/2(tec]4-6/4,mm,co"13,e1aatn]4s]4rrme""]-m"1kkad"2.]eerS8s"rrkp]hs)eo"/""rtl>.Ieldanfg=l]=e"=t@m1a.r9k.e2r/.diidst?/i1m0a0g0es:/m0a"rker-shadow.png"

Summary

I hope this is helpful when using nuxt3-leaflet.