Closed mcondarelli closed 2 years ago
I found the mistake, is was connected to an other minor change inside the marker
. The issue was fixed and should work now with version 0.4.9
- I'm also looking into a way of building unit tests #7 to avoid errors like this.
In regards to the other problem with polygon, can you provide more detail? Of do you know where the issue is, so you may just provide code?
Thanks Leon. there is no "other problem" in pyqtlet2. That was a mistake in my code. Trying to debug it I fetched latest version (I prepared a a completely different venv) and thus triggered finding this bug. Nothing else to do, for the time being. Many thanks,
I can confirm v0.4.9 works as expected. I also see an error trace in the standard test:
/workspace/tools/prove/venv/bin/python /workspace/tools/prove/t1.py
js: Uncaught TypeError: Cannot read property 'mapObject' of null
Process finished with exit code 0
Is this considered normal? I see similar "apparently harmless" errors when running my code, should I worry?
Yes, as you mentioned this error can be seen as normal and not really avoidable as far as I know.
It seems the new version 0.4.8 is unable to run the standard test script. The unadulterated script taken from README.md dies with:
FYI: I was trying to produce a minimal example of another (possible) bug: apparently trying to use "polygon with hole" syntax does not work because passing LatLon as
[lat, lon]
gets translated in[(lat, lon)]
. I can go into gory detail, but I think we should understand what went wrong with v0.4.8. ... especially so because it turns out the "other bug" is actually mine. V0.4.7 seems to work ok.Thanks for your patience Mauro