Pyqtlet2

Latest version: v0.9.3

Safety actively analyzes 685838 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.6.0

What's Changed
* Feature: rotated marker by JaWeilBaum in https://github.com/JaWeilBaum/pyqtlet2/pull/17
* Featuer: Disable right-click context menu by TomFryers in https://github.com/JaWeilBaum/pyqtlet2/pull/19
* Fix: Make library compatible with Python versions < 3.9 by JuanPotato in https://github.com/JaWeilBaum/pyqtlet2/pull/22
* Feature: Dependency fixes and cleanup by JuanPotato in https://github.com/JaWeilBaum/pyqtlet2/pull/23

You are now able to install pyqtlet2 via pypi and have full support of all map components. Earlier there had been issues where html or js files where missing. Thanks again to JuanPotato !

New Contributors
* TomFryers made their first contribution in https://github.com/JaWeilBaum/pyqtlet2/pull/19
* JuanPotato made their first contribution in https://github.com/JaWeilBaum/pyqtlet2/pull/22

**Full Changelog**: https://github.com/JaWeilBaum/pyqtlet2/compare/0.5.0...0.6.0

0.5.0

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

0.4.9

**Full Changelog**: https://github.com/JaWeilBaum/pyqtlet2/compare/0.4.8...0.4.9

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.