Announcing a OSM map downloader based on LovyanGFX #690
CelliesProjects
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
hi, The code is very well written and surprisingly small, well done! I'm too far from my gizmos to do any hardware test, but I was wondering how this would run on an esp32-wroom (e.g. M5Stack classic without psram). ⚠ the mapsprite creation isn't checked for success. Idea: fallback to rbg332 when sprite creation fails with rgb565. mapSprite.setColorDepth(lgfx::rgb565_2Byte);
if( !mapSprite.createSprite(mapWidth, mapHeight) ) {
mapSprite.setColorDepth(lgfx::rgb332);
if( !mapSprite.createSprite(mapWidth, mapHeight) )
return false;
}
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@lovyan03 @tobozo Thanks for the excellent library!
Just came here to plug and get feedback on my OpenStreetMap map dowload library, based on lovyanGFX sprites.
You can find it at https://github.com/CelliesProjects/OpenStreetMap-esp32.
Working quite nicely already and I would like some feedback on what people think of it and if it is a bit useable in its current state.
Beta Was this translation helpful? Give feedback.
All reactions