haoliangyu/ngx-leaflet-starter

cannot display airports layer

cajias2 opened this issue · 2 comments

Hello,

First of all, thanks for sharing this starter. It's super helpful!

I'm running into an issue when clicking on the airport button:

Error: Uncaught (in promise): TypeError: Cannot use 'in' operator to search for 'x' in 756
TypeError: Cannot use 'in' operator to search for 'x' in 756

I've clone the project and ran npm install && npm run build. Am I missing something?

Thanks again and best regards

This error message is caused by Leaflet.VectorGrid. In its current version (v1.2.0), there is a bug (#32) in the slicing of point geojson into vector tile layer. Its next release will fix this issue and I believe it's coming soon (here).

So you are doing pretty well instead :-)

Great. Thanks for getting back to me so quickly! I really appreciate it.