Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- marker = L.marker()
- .setLatLng([lat, lng])
- .setIcon(L.divIcon({
- className: className ? `div-icon ${className}` : 'div-icon',
- iconSize: L.point(x, y),
- html: html,
- iconAnchor: null
- }))
- .bindPopup(popupContent, {
- autoClose: false,
- autoPan: false,
- className: className,
- closeButton: false
- });
Add Comment
Please, Sign In to add comment