开发者

Integrate Building Wayfinder in .net desktop application

I want to integrate a map of a Mall/Buil开发者_如何学Goding having 7 floors in a desktop application.

After integration I have to highlight searched path (one shop to another shop) also.


If the question is "How to do it?, then:

Create a logic that will map the image maps to an actual squares array that represent areas on the map.

This will allow you to calculate path from one shop to another, in case both are on the same floor. In case shops are on a different floors, you map the path from the current location to a stairway or elevator and then, on a destination floor to a target shop.

The good algorithm for path finding is Dijkstra’s algorithm. You will find many implementations available, but it's always best to practice and implement one yourself.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜