AliFlux / VectorTileRenderer

A comprehensive Vector Map Tile Renderer for .Net/C#
MIT License
183 stars 51 forks source link

Load file MbTiles big size(~1.6GB) #17

Open NguyenDinhTrong99 opened 4 years ago

NguyenDinhTrong99 commented 4 years ago

Hi bro,

Thanks for library, it help me slove solution load map offfline. It amazing

I have problem when i load file Mbtiles ~ 1.6 GB. I have to scroll the mouse wheel 4-5 times, then the map is displayed. One more small problem is that if it is not finished loading, I close app => then the next time I run the app, it will fail with error at class MbTitlesSource.cs line 208(System.NullReferenceException).

Secondary, I am a newbie and I have tried to search but it seems my keywords are not correct. I want to import your library into my project. But i can find it :( so i hope u help me! i try reseach 4 hours but not find.

Sr but my symbol, i use gg translate :(

Thanks u bro.

Capture

YakupBaltas commented 3 years ago

Hi, I have the same problem, did you find a solution?

YakupBaltas commented 3 years ago

Merhaba bende de aynı sorun var çözüm bulabildiniz mi?

image now its work

ststeiger commented 3 years ago

You need a file that is mbtiles version 2. If you have a file that is mbtiles version 1, you get this error.
If you googled for Zurich.mbtiles, and took the first result, it's version 1.

AliFlux commented 3 years ago

@NguyenDinhTrong99 plz check the code with mbtile version 2 and let us know if that works