Android的自定义控件显示地图图块自定义、控件、地图、图块

2023-09-04 23:48:53 作者:像小孩迷了路ヾ.

我有我的服务器地图图块排序像OpenStreetMap的一个文件夹结构(OSM)使用。我需要能够显示这些瓷砖,放大/缩小,平移和旋转地图。我不会从从头开始创建一个新的控制。我见过OsmDroid,但我没有找到一个方法来设置自己的非量化的瓷砖源。

I have on my server map tiles sorted on a folder structure like OpenStreetMap (OSM) uses. I need to be able to display these tiles, zoom in/out, pan and rotate the map. I wouldn't start from the scratch to create a new control. I've seen OsmDroid but I didn't find a way to set my own non vectorized tile source.

我愿意接受任何建议。

推荐答案

我会先尝试看看其源$ C ​​$ C,以获得他们怎么做的理解。

I would first try to check out their source code to get an understanding of how they did it.

下面是链接其来源$ C ​​$ CS。为了更precise我认为,这个是你要找的文件。

Here is the link to their source codes. To be more precise I think that this is the file you are looking for.