aresta / ESP32_GPS

GPS device with ESP32 and OpenStreetMap data
GNU General Public License v3.0
34 stars 8 forks source link

Max Zoom #8

Closed jgauchia closed 2 weeks ago

jgauchia commented 4 months ago

Hi, I've a question

What is the max zoom that can display? Actually zoom great than 4 crashed

Thank you!

aresta commented 4 months ago

Hi, sorry, I was a bit disconnected the last weeks. Regarding the zoom, it should work until 7, I think. What could happen is that when there are a lot of objects, for example in the middle of a city, and you zoom out maybe you get out of memory. It shouldn't happen, but it's not tested a lot.

Another possible problem is when you are close to the end of the area of your maps. If you zoom out, some portions of the screen will be out of the maps, and could be that some functions don't manage it properly and crash. I remember some effect like that, it should be investigated and fixed/prevented in the code.

Let me know more details of error, and we can check. Thank you!

jgauchia commented 4 months ago

Hi! No problem, You know i've implemented in my project your solution for vectorial maps, maybe was a mistake in my code... sorry Thank you!

(Ja comentem, no hi ha problema, es per saber-ho :P )

aresta commented 4 months ago

Cap problema :)

Check in your code when it has some parts out of the map files. Then the function read_map_block or equivalent probably return null.

jgauchia commented 4 months ago

Ok, no problem , thank you!