1

do you know how can we create our map and show the ways from a certain locations to destinations ? Without using google map , just using a picture of a map , is there any way to draw routes on it?I am not asking projects or codes , just need some suggestions related to drawings and considering the obstacles in the way ?Thank you

4

1 回答 1

0

你应该在某个地方有你的路点(可能在 db 或 xml 文件等中),并且为了获取地图库,你应该有一个地图提供程序,如 yahoo、bing、google 或 openstreetmap(它是免费使用的 - 考虑到不需要 api 密钥其他)

在拥有这两个源之后,您可以使用 Geoserver(它是开源地图数据操作器和提供者)将这些源放在一起并将它们作为地图基础图像。

考虑到您的“仅使用地图图片”是一个令人沮丧的问题。因为您必须进行一些计算才能找到以编程方式放置点的位置。所以 Geoserver 会自动执行此操作。

我也建议你看看 osmdroid 和 osmbonuspack 他们可能会有所帮助。

于 2013-11-07T21:38:30.310 回答