What's Changed
* **feature:** Added Parser + Unit tests by JaWeilBaum in https://github.com/JaWeilBaum/pyqtlet2/pull/9
* **feature:** Implement wrapper for `L.icon()` by JaWeilBaum in https://github.com/JaWeilBaum/pyqtlet2/pull/12
* **feature:** add `return self` wherever sensible by mcondarelli in https://github.com/JaWeilBaum/pyqtlet2/pull/15
Code snipets
Chained calls
**Before:**
arrow = L.polygon([c, a], {'color': color})
arrow.addTo(self.map)
tag = arrow._ayerName
**After:**
tag = L.polygon([c, a], {'color': color}).addTo(self.map).layerName
L.Icon
lang=python
icon_url_website = "https://leafletjs.com/examples/custom-icons/leaf-red.png"
self.red_icon = L.icon(iconUrl=icon_url_website, options={
"iconSize": [38, 95],
"iconAnchor": [22, 94],
})
self.marker1 = L.marker([12.934056, 77.610029], options={"draggable": "true"})
self.marker1.setIcon(self.red_icon)
New Contributors
* mcondarelli made their first contribution in https://github.com/JaWeilBaum/pyqtlet2/pull/15
**Full Changelog**: https://github.com/JaWeilBaum/pyqtlet2/compare/0.4.9...0.5.0