Leaflet / Leaflet.TileLayer.NoGap

Experiment trying to get rid of the 1px gap between tiles
Other
38 stars 14 forks source link

TypeError: this.getPane(...) is undefined #4

Closed ultimate-tester closed 5 years ago

ultimate-tester commented 5 years ago

When trying to use this library, I get the following:

TypeError: this.getPane(...) is undefined

Even the example provided in this repo suffers from this. I tried every version of jsleaflet from 1.4.0 to 1.1.0. None of them work. Is this library useable?

ultimate-tester commented 5 years ago

So I guess this means that the library is not used anymore? Why close it without comment?

IvanSanchez commented 5 years ago

Why close it without comment?

Because your "Is this library useable?" wording felt so rude that I had a brainfart and didn't know how to reply to that.

Don't fret, everything works as of 3bb3b97a72658780ce04d4b240d432e056857015.

Nevertheless I feel obliged to link to "How To Ask Questions The Smart Way" and "How to report bugs effectively".

ultimate-tester commented 5 years ago

Don't worry, I never meant it as a rude comment. I was actually asking a serious question which is not weird on a repo that had it's last update 2 years ago (now 19 hours ago).

Thanks for your action and feedback. I'm sure to read those two pages you linked to.

IvanSanchez commented 5 years ago

Tip: Something like "I see this project hasn't seen maintained for a while" sounds much better than "Does this even work?"

ghost commented 4 years ago

@ultimate-tester If the this.getPane(...) is undefined, you may need to use this.createPane(...) first. Just something I ran into recently while working on a project. I realize this issue is old and closed, but worth a mention. Cheers!