- Jun 6, 2020
- 11,559
- 4,422
Using this very nice OSM map viewer:
[H3]
Just came across this and thinking about moving to this from OSMDroid. Trying to figure out how to download a map area based on min and max latitude and longitude and can't figure out how to get from latitude and longitude to the Open Street Map x and y tile numbers, so I can do something like...
I didn't like the blue diagonals that will show for the area outside the map, so added some code that will prevent that
and also avoids trips to the map DB, looking for tiles that are not there:
In clsMapTileManager:
B4X:
[H3]
برای دیدن لینک ها باید ثبت نام کنید
[/H3]Just came across this and thinking about moving to this from OSMDroid. Trying to figure out how to download a map area based on min and max latitude and longitude and can't figure out how to get from latitude and longitude to the Open Street Map x and y tile numbers, so I can do something like...
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
I didn't like the blue diagonals that will show for the area outside the map, so added some code that will prevent that
and also avoids trips to the map DB, looking for tiles that are not there:
In clsMapTileManager:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید