masajid390 / BeautifyMarker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to add own made icons to markers?

ramonastackoverflow opened this issue · comments

Couldn't find markers' icons I needed to use, for example 'theatre'. Therefore I've created own icons (.png) to put into markers. How to do so using this code?

L.BeautifyIcon.icon({ icon: '', //this line here iconShape: 'marker', borderColor: '#8d2027', textColor: '#8d2027', backgroundColor: 'transparent', })

You couldn't add that as mentioned in the plugin description, that plugin generates marker without images.