AliFlux/VectorTileRenderer

An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll

Phantamoss opened this issue · 5 comments

Getting an StackOverflowException when trying to use VectorMbTilesProvider for Gmap. Happens at line

provider = new VectorTileRenderer.Sources.MbTilesSource(path);

Any ideas what could cause this? Runs without issue in the demo.

It's probably something related to the mbtiles file. Can you please share it so that I can debug it?

Well the mbtiles are from the openstreetmap website.
https://openmaptiles.com/downloads/tileset/osm/united_states_of_america/

The US tiles are pretty big so I just downloaded a fresh set of liechtenstein tiles to test the GMap code, and it works perfectly.

Can you please share your code here? So that I can debug that exception.

If I use the US tiles on the demo in your source code it works fine. Here you go.

https://github.com/Phantamoss/WpfApp2

Need to import skiasharp, and the problem seemed to go away.
The tiles are blank though.